QlightRead package | ESS final project 1.22-beta

/home/ron/Desktop/Frontend/src/settings_dialog.h

Go to the documentation of this file.
00001 
00043 #ifndef SETTINGS_DIALOG_H
00044 #define SETTINGS_DIALOG_H
00045 
00046 #include <QtGui>
00047 
00048 class TSabout : public QDialog
00049 {
00050     Q_OBJECT
00051 public:
00052     TSabout(QWidget *parent = 0);
00053 
00054 private slots:
00055 private :
00056 
00057 };
00058 
00059 
00060 class  DeviceEditDialog : public QDialog
00061 {
00062     Q_OBJECT
00063 public:
00064      DeviceEditDialog(int mode, QWidget *parent = 0);
00065      QString str;
00066      QLabel *dev;
00067      QLabel *LVendorID;
00068      QLabel *LProductID;
00069      QPushButton *BCustom;
00070      QPushButton *BUsave;
00071      QPushButton *BApply;
00072 
00073      QPushButton *BCancel;
00074      QLineEdit *EVendorID;
00075      QLineEdit *EProductID;
00076      QComboBox *Cb_dev;
00077 
00078 private slots :
00079      void enable_custome();
00080      void bsave();
00081 
00082 };
00083 
00084 
00085 class SDeviceEditDialog : public QDialog
00086 {
00087     Q_OBJECT;
00088 public:
00089     SDeviceEditDialog(QWidget *parent = 0);
00090 
00091     QString str;
00092 
00093     QLabel *dev;
00094     QLabel *Lbaud;
00095     QLabel *Ldatab;
00096     QLabel *Lstopb;
00097     QLabel *Lparity;
00098 
00099     QPushButton *Bsave;
00100     QPushButton *BCancel;
00101 
00102     QLineEdit *Ebaud;
00103     QLineEdit *Edev;
00104     QLineEdit *Edatab;
00105 
00106     QComboBox *Cb_stopb;
00107     QComboBox *Cb_parity;
00108 
00109 private slots:
00110     void bsave();
00111 
00112 
00113 };
00114 
00115 
00116 class ProgEditDialog : public QDialog
00117 {
00118     Q_OBJECT
00119 
00120 public:
00121     ProgEditDialog(QWidget *parent = 0);
00122     QString str;
00123     QLabel *def_dev;
00124     QLabel *gen_sec;
00125     QLineEdit *dev;
00126     QLineEdit *gen;
00127     QWidget *Swidget;
00128 
00129 protected:
00130 
00131 
00132 private slots:
00133 
00134     void bpsave();
00135 
00136 private:
00137 
00138 
00139 
00140 
00141 };
00142 
00143 class BDeviceEditDialog : public QDialog
00144 {
00145     Q_OBJECT
00146 public:
00147     BDeviceEditDialog(QWidget *parent = 0);
00148 
00149 
00150     QString str;
00151 
00152     QLabel *dev;
00153     QLabel *Lbaud;
00154     QLabel *Ldatab;
00155     QLabel *Lstopb;
00156     QLabel *Lparity;
00157 
00158     QPushButton *Bsave;
00159     QPushButton *BCancel;
00160 
00161     QLineEdit *Ebaud;
00162     QLineEdit *Edev;
00163     QLineEdit *Edatab;
00164 
00165     QComboBox *Cb_stopb;
00166     QComboBox *Cb_parity;
00167 
00168 };
00169 
00170 class DataViewDialog: public QDialog
00171 {
00172     Q_OBJECT
00173 public:
00174 
00175     DataViewDialog(QWidget *parent = 0);
00176 
00177 private slots:
00178 
00179 };
00180 #endif // SETTINGS_DIALOG_H
 All Classes Files Functions Variables Defines