|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef VP1CONTROLLER_H
18 #define VP1CONTROLLER_H
26 class QAbstractButton;
67 bool changed(
T&lastval,
const T& newval );
72 static QString
toString(
const QList<VP1Interval>&
l );
73 static QString
toString( SbColor4f );
76 void initDialog(
T& theUI, QPushButton* launchbutton, QAbstractButton* enabledButton = 0);
77 void initDialog(QWidget * dialog, QPushButton* launchbutton, QPushButton* closebutton, QAbstractButton* enabledButton = 0);
101 QRadioButton * rb3 = 0,QRadioButton * rb4 = 0,QRadioButton * rb5 = 0,
102 QRadioButton * rb6 = 0,QRadioButton * rb7 = 0,QRadioButton * rb8 = 0,
103 QRadioButton * rb9 = 0 );
145 QWidget *
w =
new QWidget(0,Qt::WindowStaysOnTopHint);
147 initDialog(
w, launchbutton, theUI.pushButton_close,enabledButton);
QButtonGroup * defineRadioButtonGroup(QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0)
const char * addUpdateSlot(const char *slot)
void setupCollWidgetInScrollArea(QScrollArea *scrollarea, VP1CollectionWidget *collWidget)
static QString toString(const T &par)
void dummyUpdateTrigger()
VP1Controller(IVP1System *sys, const QString &classname)
SoMaterial * fallBackMaterial() const
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
void restoreSettings(const QByteArray &)
virtual void actualSaveSettings(VP1Serialise &) const =0
static QString str(const QString &s)
QByteArray saveSettings() const
void connectToLastUpdateSlot(QObject *sender, const char *signal)
bool initVarsMode() const
static VP1CustomTourEditor * customTourEditor()
bool changed(T &lastval, const T &newval)
SoMaterial * getMaterial(VP1MaterialButton *) const
virtual void actualRestoreSettings(VP1Deserialise &)=0
void collWidgetContentChanged()
void enabledButtonStateChanged()
static void setCustomTourEditor(VP1CustomTourEditor *editor)
void toggleDialogState(QObject *widget=0)
static VP1CustomTourEditor * m_customTourEditor
virtual int currentSettingsVersion() const =0