mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00

* rxr src files and classes (detectordata, ZmqSocket) added to sls namespace * moving defines inside namespace * moving defines inside namespace, added helpdacs to namespace * added namespace to gui * gui also updated * removed unnecessary sls:: when already in sls namespace for slsDetectoSoftware, receverSoftware, slsDetectorGui and slsSupportlib
40 lines
901 B
C++
40 lines
901 B
C++
// SPDX-License-Identifier: LGPL-3.0-or-other
|
|
// Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
#pragma once
|
|
#include "sls/Detector.h"
|
|
#include "ui_form_tab_debugging.h"
|
|
|
|
class QTreeWidget;
|
|
class QTreeWidgetItem;
|
|
|
|
namespace sls {
|
|
|
|
class qTabDebugging : public QWidget, private Ui::TabDebuggingObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
qTabDebugging(QWidget *parent, Detector *detector);
|
|
~qTabDebugging();
|
|
void Refresh();
|
|
|
|
private slots:
|
|
void GetDetectorStatus();
|
|
void GetInfo();
|
|
void SetParameters(QTreeWidgetItem *item);
|
|
void TestDetector();
|
|
|
|
private:
|
|
void SetupWidgetWindow();
|
|
void Initialization();
|
|
void PopulateDetectors();
|
|
|
|
Detector *det;
|
|
/** Tree Widget displaying the detectors, modules */
|
|
QTreeWidget *treeDet;
|
|
QLabel *lblDetectorHostname;
|
|
QLabel *lblDetectorFirmware;
|
|
QLabel *lblDetectorSoftware;
|
|
};
|
|
|
|
} // namespace sls
|