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

@@ -24,13 +24,19 @@ class ActionsWidget : public QFrame{
public:
/** \short The constructor
* @param parent is the parent tab widget
* @param detector is the detector returned from the detector tab
* @param scanType is if its an energy/threshold scan type
* @param id is the id of the widget. to know which one was emitting it
*/
ActionsWidget(QWidget *parent, int scanType);
ActionsWidget(QWidget *parent, int scanType, int id);
~ActionsWidget();
private:
/**if its a scan type*/
int scanType;
/**id of the action widget*/
int id;
QGridLayout *layout;
QComboBox *comboScript;
QLineEdit *dispScript;
@@ -56,8 +62,8 @@ private:
QPushButton *btnValues;
/** Sets up the widget
* @param scanType 1 if it includes Threshold Scan,Energy Scan and Trimbits Scan, else 0*/
void SetupWidgetWindow(int scanType);
*/
void SetupWidgetWindow();
/** Sets up all the slots and signals */
void Initialization();
@@ -72,6 +78,14 @@ void SetScript(int index);
* Options: constant size,specific values,values from file */
void EnableSizeWidgets();
/** Browse for the script
* */
void BrowsePath();
signals:
void EnableScanBox(bool,int);
void SetScriptSignal(QString&,int);
};