option: automatically open mlog-file after fit; implementation + cosmetics
This commit is contained in:
@ -47,7 +47,7 @@ class PAdminXMLParser : public QXmlDefaultHandler
|
||||
|
||||
private:
|
||||
enum EAdminKeyWords {eEmpty, eExecPath, eDefaultSavePath, eBeamline, eInstitute, eFileFormat,
|
||||
eMsrDefaultFilePath, eShowMlog};
|
||||
eMsrDefaultFilePath, eShowMlog, eOpenMlogAfterFit};
|
||||
|
||||
bool startDocument();
|
||||
bool startElement( const QString&, const QString&, const QString& ,
|
||||
@ -75,6 +75,7 @@ class PAdmin
|
||||
QString getFileFormat() { return fFileFormat; }
|
||||
QString getMsrDefaultFilePath() { return fMsrDefaultFilePath; }
|
||||
bool getShowMlog() { return fShowMlog; }
|
||||
bool getOpenMlogAfterFit() { return fOpenMlogAfterFit; }
|
||||
|
||||
protected:
|
||||
void setExecPath(const QString str) { fExecPath = str; }
|
||||
@ -84,6 +85,7 @@ class PAdmin
|
||||
void setFileFormat(const QString str) { fFileFormat = str; }
|
||||
void setMsrDefaultFilePath(const QString str) { fMsrDefaultFilePath = str; }
|
||||
void setShowMlog(const bool flag) { fShowMlog = flag; }
|
||||
void setOpenMlogAfterFit(const bool flag) { fOpenMlogAfterFit = flag; }
|
||||
|
||||
private:
|
||||
friend class PAdminXMLParser;
|
||||
@ -97,6 +99,7 @@ class PAdmin
|
||||
|
||||
QString fMsrDefaultFilePath;
|
||||
bool fShowMlog;
|
||||
bool fOpenMlogAfterFit;
|
||||
};
|
||||
|
||||
#endif // _PADMIN_H_
|
||||
|
Reference in New Issue
Block a user