mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
Version 1 with the action tab working
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@6 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -8,15 +8,25 @@
|
||||
#ifndef QTABACTIONS_H_
|
||||
#define QTABACTIONS_H_
|
||||
|
||||
|
||||
/** Form Header */
|
||||
#include "ui_form_tab_actions.h"
|
||||
/** Project Class Headers */
|
||||
class slsDetectorUtils;
|
||||
class ActionsWidget;
|
||||
|
||||
|
||||
class QPushButton;
|
||||
class QLabel;
|
||||
class QScrollArea;
|
||||
class QGridLayout;
|
||||
class QPalette;
|
||||
|
||||
|
||||
/**
|
||||
*@short sets up the acions parameters
|
||||
*/
|
||||
class qTabActions:public QWidget, private Ui::TabActionsObject{
|
||||
class qTabActions:public QWidget,private Ui::TabActionsObject{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@ -35,18 +45,32 @@ private:
|
||||
/** The sls detector object */
|
||||
slsDetectorUtils *myDet;
|
||||
|
||||
/** Sets up the widget
|
||||
*/
|
||||
static const int NUM_ACTION_WIDGETS = 9;
|
||||
|
||||
QGridLayout *gridLayout;
|
||||
QButtonGroup *group;
|
||||
QPalette *palette;
|
||||
|
||||
/** action widget objects */
|
||||
ActionsWidget *actionWidget[NUM_ACTION_WIDGETS];
|
||||
QPushButton *btnExpand[NUM_ACTION_WIDGETS];
|
||||
QLabel *lblName[NUM_ACTION_WIDGETS];
|
||||
|
||||
/** Sets up the widget */
|
||||
void SetupWidgetWindow();
|
||||
|
||||
/** Sets up all the slots and signals
|
||||
*/
|
||||
/** Sets up all the slots and signals */
|
||||
void Initialization();
|
||||
|
||||
/** Enables/Disables all the widgets
|
||||
*/
|
||||
/** Enables/Disables all the widgets */
|
||||
void Enable(bool enable);
|
||||
|
||||
|
||||
private slots:
|
||||
/** To Expand the Action Widget */
|
||||
void Expand(QAbstractButton *button);
|
||||
|
||||
};
|
||||
|
||||
#endif /* QTABACTIONS_H_ */
|
||||
|
||||
|
Reference in New Issue
Block a user