mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
78 lines
2.0 KiB
C++
78 lines
2.0 KiB
C++
#pragma once
|
|
#include "sls/Detector.h"
|
|
#include "ui_form_tab_advanced.h"
|
|
|
|
class qDrawPlot;
|
|
|
|
class qTabAdvanced : public QWidget, private Ui::TabAdvancedObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
qTabAdvanced(QWidget *parent, sls::Detector *detector, qDrawPlot *p);
|
|
~qTabAdvanced();
|
|
|
|
public slots:
|
|
void Refresh();
|
|
|
|
private slots:
|
|
void SetDetector();
|
|
void SetControlPort(int port);
|
|
void SetStopPort(int port);
|
|
void SetDetectorUDPIP(bool force = false);
|
|
void ForceSetDetectorUDPIP();
|
|
void SetDetectorUDPMAC(bool force = false);
|
|
void ForceSetDetectorUDPMAC();
|
|
void SetCltZMQPort(int port);
|
|
void SetCltZMQIP(bool force = false);
|
|
void ForceSetCltZMQIP();
|
|
void SetRxrHostname(bool force = false);
|
|
void ForceSetRxrHostname();
|
|
void SetRxrTCPPort(int port);
|
|
void SetRxrUDPPort(int port);
|
|
void SetRxrUDPIP(bool force = false);
|
|
void ForceSetRxrUDPIP();
|
|
void SetRxrUDPMAC(bool force = false);
|
|
void ForceSetRxrUDPMAC();
|
|
void SetRxrZMQPort(int port);
|
|
void SetRxrZMQIP(bool force = false);
|
|
void ForceSetRxrZMQIP();
|
|
void GetROI();
|
|
void ClearROI();
|
|
void SetROI();
|
|
void SetAllTrimbits();
|
|
void SetNumStoragecells(int value);
|
|
void SetSubExposureTime();
|
|
void SetSubDeadTime();
|
|
void SetGateIndex(int value);
|
|
void SetExposureTime();
|
|
void SetGateDelay();
|
|
|
|
private:
|
|
void SetupWidgetWindow();
|
|
void Initialization();
|
|
void PopulateDetectors();
|
|
|
|
void GetControlPort();
|
|
void GetStopPort();
|
|
void GetDetectorUDPIP();
|
|
void GetDetectorUDPMAC();
|
|
void GetCltZMQPort();
|
|
void GetCltZMQIP();
|
|
void GetRxrHostname();
|
|
void GetRxrTCPPort();
|
|
void GetRxrUDPPort();
|
|
void GetRxrUDPIP();
|
|
void GetRxrUDPMAC();
|
|
void GetRxrZMQPort();
|
|
void GetRxrZMQIP();
|
|
void GetAllTrimbits();
|
|
void GetNumStoragecells();
|
|
void GetSubExposureTime();
|
|
void GetSubDeadTime();
|
|
void GetExposureTime();
|
|
void GetGateDelay();
|
|
|
|
sls::Detector *det;
|
|
qDrawPlot *plot;
|
|
};
|