allow half modules and odd number of half modules to use the gui with gap pixels disabled (#655)

This commit is contained in:
Dhanya Thattil
2023-02-13 11:21:35 +01:00
committed by GitHub
parent e6505650cb
commit fc42720208
2 changed files with 35 additions and 12 deletions

View File

@ -47,6 +47,7 @@ class qTabPlot : public QWidget, private Ui::TabPlotObject {
private:
void SetupWidgetWindow();
void Initialization();
bool VerifyGapPixelsAllowed();
void Select1DPlot(bool enable);
void GetGapPixels();
void GetStreamingFrequency();
@ -60,7 +61,8 @@ class qTabPlot : public QWidget, private Ui::TabPlotObject {
Detector *det;
qDrawPlot *plot;
bool is1d;
bool is1d{false};
bool isGapPixelsAllowed{false};
/** default plot and axis titles */
static QString defaultPlotTitle;