--- as_panel.h 2003/02/07 16:37:55 1.1
+++ as_panel.h 2003/02/10 22:46:06 1.2
@@ -46,8 +46,9 @@
class QLineEdit;
class QPushButton;
class QRadioButton;
+class QCheckBox;
+class QGroupBox;
class QTabWidget;
-class QToolButton;
class QWidget;
class Prefpanel : public QDialog
@@ -58,23 +59,34 @@
Prefpanel(QWidget *pParent = 0, const char *kszName = 0, bool bModal = true, WFlags Flags = 0);
// ~Prefpanel(void); // No need to destroy widgets, because qt does it for us
- QButtonGroup *m_pPrefgroup;
+ QGroupBox *m_pGenbox;
+ QVBoxLayout *m_pStylelay, *m_pSwitchlay;
+ QVBoxLayout *m_pVlayout;
+ QHBoxLayout *m_pGenlayout, *m_pBoolayout;
+ QHBoxLayout *m_pGenboxlay;
+ QGridLayout *m_pGeninner;
+
+ QWidget *m_pGeneralpage, *m_pBoolpage;
+
+ QHBoxLayout *m_pButtlay;
QPushButton *m_pOkaybutton;
+ QPushButton *m_pApplybutton;
QPushButton *m_pCancelbutton;
QTabWidget *m_pTabselect;
- QWidget *m_pGeneralpage;
- QLabel *m_pAcctlabel;
- QLineEdit *m_pAcctline;
- QToolButton *m_pAcctbutton;
-
- QWidget *m_pStylepage;
- QButtonGroup *m_pStylegroup;
- QRadioButton *m_pStylebutton1; // These buttons must later be dynamically
- QRadioButton *m_pStylebutton2; // instantiated, to allow variable styles
+ QLabel *m_pAcctlabel, *m_pEventlabel;
+ QLabel *m_pUserlabel, *m_pHomelabel;
+ QLabel *m_pCorbalabel, *m_pSoaplabel;
+ QLineEdit *m_pAcctline, *m_pEventline;
+ QLineEdit *m_pUserline, *m_pHomeline;
+ QLineEdit *m_pCorbaline, *m_pSoapline;
+
+ QButtonGroup *m_pStylegroup, *m_pSwitchgroup;
+ QCheckBox *m_pBackupcheck, *m_pExtendcheck;
protected slots:
- virtual void textChange();
+ virtual void textChange(void);
+ void apply(void);
};
#endif // PREFPANEL_H
|