00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef HELPDIALOG_H
00011 #define HELPDIALOG_H
00012
00013 #include <qvariant.h>
00014 #include <qdialog.h>
00015
00016 class QVBoxLayout;
00017 class QHBoxLayout;
00018 class QGridLayout;
00019 class QLabel;
00020 class QPushButton;
00021 class QSpinBox;
00022 class QLineEdit;
00023
00024 class helpdialog : public QDialog
00025 {
00026 Q_OBJECT
00027
00028 public:
00029 helpdialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, float scale = 1.1, int res = 50);
00030 ~helpdialog();
00031
00032 QLabel* textLabel2;
00033 QPushButton* vol_dialog;
00034 QSpinBox* spinBox1;
00035 QLineEdit* lineEdit1;
00036 QLabel* textLabel1;
00037
00038
00039 void get_resolution(int& _res);
00040 void get_scale(float& _scale);
00041
00042 public slots:
00043 virtual void outputSlot();
00044 virtual void res_changed( int );
00045 virtual void scale_changed( const QString& );
00046
00047 protected:
00048
00049 protected slots:
00050 virtual void languageChange();
00051
00052 private:
00053
00054 float scale_;
00055 int res_;
00056
00057 };
00058
00059 #endif // HELPDIALOG_H