mythen3 gui: discard bits option for debugging

This commit is contained in:
2019-11-18 18:33:16 +01:00
parent dfc886a65b
commit 1539326fda
6 changed files with 105 additions and 17 deletions

View File

@ -54,6 +54,7 @@ class qDrawPlot : public QWidget, private Ui::PlotObject {
void SetAccumulate(bool enable);
void ResetAccumulate();
void DisplayStatistics(bool enable);
void SetNumDiscardBits(int value);
void EnableGainPlot(bool enable);
void ClonePlot();
void SavePlot();
@ -148,6 +149,7 @@ class qDrawPlot : public QWidget, private Ui::PlotObject {
bool hasGainData{false};
bool isGainDataExtracted{false};
bool disableZoom{false};
int numDiscardBits{0};
int progress{0};
int64_t currentFrame{0};

View File

@ -2,13 +2,15 @@
#include "ui_form_tab_advanced.h"
class qDrawPlot;
#include "Detector.h"
class qTabAdvanced:public QWidget, private Ui::TabAdvancedObject{
Q_OBJECT
public:
qTabAdvanced(QWidget *parent, sls::Detector* detector);
qTabAdvanced(QWidget *parent, sls::Detector* detector, qDrawPlot* p);
~qTabAdvanced();
public slots:
@ -61,6 +63,7 @@ private:
void GetSubDeadTime();
sls::Detector *det;
qDrawPlot *plot;
};