PlotWizard.h
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
00030
00031 #ifndef PLOTWIZARD_H
00032 #define PLOTWIZARD_H
00033
00034 #include <QDialog>
00035 class QGroupBox;
00036 class QPushButton;
00037 class QListWidget;
00038 class QComboBox;
00039
00041 class PlotWizard : public QDialog
00042 {
00043 Q_OBJECT
00044
00045 public:
00047
00051 PlotWizard( QWidget* parent = 0, Qt::WFlags fl = 0 );
00052
00053 private:
00055 QPushButton* buttonOk,
00057 *buttonXErr,
00059 *buttonYErr,
00061 *buttonDelete;
00063 QPushButton* buttonCancel,
00065 *buttonX,
00067 *buttonY,
00069 *buttonNew,
00071 *buttonZ;
00073 QGroupBox* groupBox1,
00075 *groupBox2,
00077 *groupBox3;
00079 QComboBox* boxTables;
00081 QListWidget *columnsList,
00083 *plotAssociations;
00084
00086 QStringList columns;
00087
00088 public slots:
00090 void changeColumnsList(const QString &table);
00092 void insertTablesList(const QStringList& tables);
00094 void setColumnsListBoxContents(const QStringList& cols);
00096 void setColumnsList(const QStringList& cols);
00098 void addCurve();
00100 void removeCurve();
00102 void addXCol();
00104 void addYCol();
00106 void addXErrCol();
00108 void addYErrCol();
00110 void accept();
00112 void addZCol();
00113
00114 private:
00115 void plot3D(const QStringList& lst);
00116 void plot3DRibbon(const QStringList& lst);
00118 bool noCurves();
00119 QSize sizeHint() const;
00120
00121 signals:
00123 void plot (const QStringList&);
00124 };
00125
00126 #endif // PLOTWIZARD_H