going to start actions

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@19 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2012-07-19 14:20:51 +00:00
parent d2b9b6ae1d
commit 3b59d03526
30 changed files with 1433 additions and 610 deletions

View File

@ -9,7 +9,7 @@
#define QTABACTIONS_H_
/** Project Class Headers */
class slsDetectorUtils;
class multiSlsDetector;
class ActionsWidget;
#include <QWidget>
@ -31,7 +31,7 @@ public:
* @param parent is the parent tab widget
* @param detector is the detector returned from the detector tab
*/
qTabActions(QWidget *parent,slsDetectorUtils*& detector);
qTabActions(QWidget *parent,multiSlsDetector*& detector);
/** Destructor
*/
@ -44,7 +44,7 @@ public:
private:
/** The sls detector object */
slsDetectorUtils *myDet;
multiSlsDetector *myDet;
static const int NUM_ACTION_WIDGETS = 9;
@ -57,6 +57,9 @@ private:
QPushButton *btnExpand[NUM_ACTION_WIDGETS];
QLabel *lblName[NUM_ACTION_WIDGETS];
enum{Start,Scan0,Scan1,ActionBefore,NumPositions,
HeaderBefore,HeaderAfter,ActionAfter,Stop};
/** Sets up the widget */
void SetupWidgetWindow();
@ -68,6 +71,14 @@ private slots:
/** To Expand the Action Widget */
void Expand(QAbstractButton *button);
/** To set the script of action widget
* @param fName name of script
* @param index id of action widget*/
void SetScript(const QString& fName,int index);
signals:
void EnableScanBox(bool,int);
};
#endif /* QTABACTIONS_H_ */