mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
check if outdir exists,indent Actions,degreeC,cascode,thresholdscan(ev),not saving data secondary title,got rid of 2d sampledata
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@86 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -21,7 +21,7 @@ public:
|
||||
qDefs(){};
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
#define GUI_VERSION 0.12
|
||||
#define GUI_VERSION 0.13
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -52,6 +52,9 @@ public:
|
||||
int GetProgress(){return progress;};
|
||||
/** gets the file index to the measurement tab*/
|
||||
int GetFileIndex(){return currentFileIndex;};
|
||||
/** sets file write enable , if not enabled,
|
||||
* file index wont increase and so you need secondary titles to differentitate between plots*/
|
||||
void SetEnableFileWrite(bool enable){fileSaveEnable = enable;};
|
||||
|
||||
/** sets plot Title prefix*/
|
||||
void SetPlotTitlePrefix(QString title) {plotTitle_prefix = title;}
|
||||
@ -448,7 +451,8 @@ static const int TRIM_HISTOGRAM_XMAX = 63;
|
||||
/**if the values increment backwards*/
|
||||
bool backwardScanPlot;
|
||||
|
||||
|
||||
/**if files will be saved and index increased*/
|
||||
bool fileSaveEnable;
|
||||
|
||||
signals:
|
||||
void UpdatingPlotFinished();
|
||||
|
@ -85,7 +85,17 @@ private:
|
||||
slsDetectorDefs::detectorType detType;
|
||||
|
||||
|
||||
enum actionIndex{Scan0=1, Scan1, NumPositions=4, NumTotalActions=9};
|
||||
enum actionIndex{
|
||||
ActionStart,
|
||||
Scan0,
|
||||
Scan1,
|
||||
ActionBefore,
|
||||
NumPositions,
|
||||
HeaderBefore,
|
||||
HeaderAfter,
|
||||
ActionAfter,
|
||||
ActionStop,
|
||||
NumTotalActions};
|
||||
|
||||
QGridLayout *gridLayout;
|
||||
QButtonGroup *group;
|
||||
|
@ -49,6 +49,7 @@ private:
|
||||
|
||||
QString flatFieldTip;
|
||||
QString errFlatFieldTip;
|
||||
QString outDirTip;
|
||||
QPalette red;
|
||||
|
||||
/** methods */
|
||||
|
Reference in New Issue
Block a user