mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
* slsSupportLib done, at receiver rooting out in implementation * removed from receiver and client * removed everywhere except gui, python and client(commands.yaml and Detector.h) * updated python * fixed autocomplete to print what the issue is if there is one with ToString when running the autocomplete script to generate fixed.json. updated readme.md in generator folder * formatting * removed enums for dacs * udpating autocomplete and generating commands * removed gotthard from docs and release notes * removed dac test * bug from removing g1 * fixed virtual test for xilinx, was minor. so in this PR * gui done * binary in merge fix * formatting and removing enums * updated fixed and dump.json * bash autocomplete * updated doc on command line generation * removing increments in dac enums for backward compatibility. Not required * removed ROI from rxParameters (only in g1), not needed to be backward compatible * removed the phase shift option from det server staruip
78 lines
2.0 KiB
C++
78 lines
2.0 KiB
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_advanced.h"
|
|
|
|
namespace sls {
|
|
|
|
class qDrawPlot;
|
|
|
|
class qTabAdvanced : public QWidget, private Ui::TabAdvancedObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
qTabAdvanced(QWidget *parent, 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 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 GetAllTrimbits();
|
|
void GetNumStoragecells();
|
|
void GetSubExposureTime();
|
|
void GetSubDeadTime();
|
|
void GetExposureTime();
|
|
void GetGateDelay();
|
|
|
|
Detector *det;
|
|
qDrawPlot *plot;
|
|
};
|
|
|
|
} // namespace sls
|