mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
gui works, including clone plots
This commit is contained in:
34
slsDetectorGui/include/qDacWidget.h
Executable file
34
slsDetectorGui/include/qDacWidget.h
Executable file
@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include "ui_form_dac.h"
|
||||
|
||||
class multiSlsDetector;
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
class qDacWidget:public QWidget, private Ui::WidgetDacObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
qDacWidget(QWidget *parent, multiSlsDetector* detector, bool d, std::string n, slsDetectorDefs::dacIndex i, bool t);
|
||||
~qDacWidget();
|
||||
void SetDetectorIndex(int id);
|
||||
|
||||
private slots:
|
||||
void SetDac();
|
||||
|
||||
private:
|
||||
void SetupWidgetWindow(std::string name);
|
||||
void Initialization();
|
||||
void GetDac();
|
||||
void GetAdc();
|
||||
void Refresh();
|
||||
|
||||
multiSlsDetector *myDet;
|
||||
bool isDac{true};
|
||||
slsDetectorDefs::dacIndex index;
|
||||
bool isMillideg{false};
|
||||
int detectorIndex{-1};
|
||||
};
|
||||
|
Reference in New Issue
Block a user