|
Last change
on this file since 86 was 2, checked in by dmik, 19 years ago |
|
Imported original Psi 0.10 sources from Affinix
|
|
File size:
604 bytes
|
| Line | |
|---|
| 1 | #ifndef OPT_STATUS_H
|
|---|
| 2 | #define OPT_STATUS_H
|
|---|
| 3 |
|
|---|
| 4 | #include "optionstab.h"
|
|---|
| 5 |
|
|---|
| 6 | class QWidget;
|
|---|
| 7 | struct Options;
|
|---|
| 8 |
|
|---|
| 9 | class OptionsTabStatus : public OptionsTab
|
|---|
| 10 | {
|
|---|
| 11 | Q_OBJECT
|
|---|
| 12 | public:
|
|---|
| 13 | OptionsTabStatus(QObject *parent);
|
|---|
| 14 | ~OptionsTabStatus();
|
|---|
| 15 |
|
|---|
| 16 | QWidget *widget();
|
|---|
| 17 | void applyOptions(Options *opt);
|
|---|
| 18 | void restoreOptions(const Options *opt);
|
|---|
| 19 |
|
|---|
| 20 | void setData(PsiCon *, QWidget *parentDialog);
|
|---|
| 21 | //bool stretchable() const { return true; }
|
|---|
| 22 |
|
|---|
| 23 | private slots:
|
|---|
| 24 | void selectStatusPreset(int x);
|
|---|
| 25 | void newStatusPreset();
|
|---|
| 26 | void removeStatusPreset();
|
|---|
| 27 | void changeStatusPreset();
|
|---|
| 28 |
|
|---|
| 29 | private:
|
|---|
| 30 | QWidget *w, *parentWidget;
|
|---|
| 31 | Options *o;
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.