Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef ERRDIALOG_H
00030 #define ERRDIALOG_H
00031
00032 #include <QDialog>
00033 #include <QList>
00034 class QLabel;
00035 class QComboBox;
00036 class QRadioButton;
00037 class DoubleSpinBox;
00038 class QPushButton;
00039 class QGroupBox;
00040 class QButtonGroup;
00041 class MdiSubWindow;
00042
00044 class ErrDialog : public QDialog
00045 {
00046 Q_OBJECT
00047
00048 public:
00050
00054 ErrDialog( QWidget* parent = 0, Qt::WFlags fl = 0 );
00055
00056 private:
00057 QLabel* textLabel1;
00058 QComboBox* nameLabel, *tableNamesBox, *colNamesBox;
00059 QGroupBox *groupBox2;
00060 QGroupBox *groupBox1, *groupBox3;
00061 QButtonGroup *buttonGroup1, *buttonGroup2;
00062 QRadioButton* standardBox, *columnBox;
00063 QRadioButton* percentBox;
00064 DoubleSpinBox* valueBox;
00065 QRadioButton* xErrBox;
00066 QRadioButton* yErrBox;
00067 QPushButton* buttonAdd;
00068 QPushButton* buttonCancel;
00069 QList<MdiSubWindow*> srcTables;
00070
00071 protected slots:
00073 virtual void languageChange();
00074
00075 public slots:
00077 void add();
00079 void setCurveNames(const QStringList& names);
00081 void setSrcTables(QList<MdiSubWindow *> tables);
00083 void selectSrcTable(int tabnr);
00084
00085 signals:
00087 void options(const QString& curveName, int type, double percent, int direction);
00089 void options(const QString& curveName, const QString& errColumnName, int direction);
00090 };
00091
00092 #endif // ERRDIALOG_H