mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 00:03:42 +01:00
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:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user