|
Last change
on this file since 176 was 160, checked in by dmik, 19 years ago |
|
Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.
|
-
Property svn:keywords
set to
Id
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | #ifndef OPTIONSFORM_H
|
|---|
| 2 | #define OPTIONSFORM_H
|
|---|
| 3 |
|
|---|
| 4 | #include <qdialog.h>
|
|---|
| 5 |
|
|---|
| 6 | class QButtonGroup;
|
|---|
| 7 | class QComboBox;
|
|---|
| 8 | class QFrame;
|
|---|
| 9 | class QGridLayout;
|
|---|
| 10 | class QHBoxLayout;
|
|---|
| 11 | class QLabel;
|
|---|
| 12 | class QPushButton;
|
|---|
| 13 | class QRadioButton;
|
|---|
| 14 | class QSpinBox;
|
|---|
| 15 | class QVBoxLayout;
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | class OptionsForm : public QDialog
|
|---|
| 19 | {
|
|---|
| 20 | Q_OBJECT
|
|---|
| 21 | public:
|
|---|
| 22 | OptionsForm( QWidget* parent = 0, const char* name = "options form",
|
|---|
| 23 | bool modal = FALSE, WFlags f = 0 );
|
|---|
| 24 | ~OptionsForm() {}
|
|---|
| 25 |
|
|---|
| 26 | QFont font() const { return m_font; }
|
|---|
| 27 | void setFont( QFont font );
|
|---|
| 28 |
|
|---|
| 29 | QLabel *chartTypeTextLabel;
|
|---|
| 30 | QComboBox *chartTypeComboBox;
|
|---|
| 31 | QPushButton *fontPushButton;
|
|---|
| 32 | QLabel *fontTextLabel;
|
|---|
| 33 | QFrame *addValuesFrame;
|
|---|
| 34 | QButtonGroup *addValuesButtonGroup;
|
|---|
| 35 | QRadioButton *noRadioButton;
|
|---|
| 36 | QRadioButton *yesRadioButton;
|
|---|
| 37 | QRadioButton *asPercentageRadioButton;
|
|---|
| 38 | QLabel *decimalPlacesTextLabel;
|
|---|
| 39 | QSpinBox *decimalPlacesSpinBox;
|
|---|
| 40 | QPushButton *okPushButton;
|
|---|
| 41 | QPushButton *cancelPushButton;
|
|---|
| 42 |
|
|---|
| 43 | protected slots:
|
|---|
| 44 | void chooseFont();
|
|---|
| 45 |
|
|---|
| 46 | protected:
|
|---|
| 47 | QVBoxLayout *optionsFormLayout;
|
|---|
| 48 | QHBoxLayout *chartTypeLayout;
|
|---|
| 49 | QHBoxLayout *fontLayout;
|
|---|
| 50 | QVBoxLayout *addValuesFrameLayout;
|
|---|
| 51 | QVBoxLayout *addValuesButtonGroupLayout;
|
|---|
| 52 | QHBoxLayout *decimalPlacesLayout;
|
|---|
| 53 | QHBoxLayout *buttonsLayout;
|
|---|
| 54 |
|
|---|
| 55 | private:
|
|---|
| 56 | QFont m_font;
|
|---|
| 57 | };
|
|---|
| 58 |
|
|---|
| 59 | #endif
|
|---|
| 60 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.