some minor tweaks to some mpl files and color filter updates
[quplot.git] / quplot.h
blobbb4226fa60a82f149186878b68e6891c938270b8
1 #ifndef QUPLOT_H
2 #define QUPLOT_H
4 #include <QtGui/QMainWindow>
5 #include <QMap>
6 #include <QMessageBox>
7 #include <QVariant>
8 #include <QDebug>
10 class QAction;
11 class QMenu;
12 class QTextEdit;
13 class QCheckbox;
14 class QLabel;
15 class QLineEdit;
16 class QPushButton;
18 namespace Ui
20 class QuPlot;
23 class QuPlot : public QMainWindow
25 Q_OBJECT
27 public:
28 QuPlot(QWidget *parent = 0);
29 ~QuPlot();
31 QMap<int, double> valuesMap;
32 /* valuesMap containes the following values at index
33 * Index Value
34 * 0 = amount of independent functions to solve
35 * 1 = holds the function, 1: damped harmonic osz. \w ext. force,
36 * 2: simple damped harmonic osz., 3: simple harmonic osz. \wo damping
37 * = 4: rotating dimer \w external force
38 * 2 = holds value of a
39 * 3 = holds value of A
40 * 4 = holds value of F
41 * 5 = holds value of l
42 * 6 = holds value of w
43 * 7 = holds values of t[0] = time
44 * 8 = holds values of x[0] = offset
45 * 9 = holds value of t[1] = unused
46 * 10 = holds value of x[1] = velocity
47 * 11 = mode, 0 = standard, 1 = converge, 2 = bifurcation
48 * 12 = is random ic?
49 * 13 = step size
50 * 14 = # of steps
51 * 15 = ic ? : from
52 * 16 = ic ? : to
53 * 17 = bifurcate from eta
54 * 18 = bifurcate to eta
55 * 19 = eta stepsize
56 * 20 = unused
57 * 21 = unused
58 * 22 = from t
59 * 23 = offy
60 * 24 = veloy
61 * 25 = eta1
62 * 26 = eta2
63 * 27 = phi0
64 * 28 = is random?
65 * 29 = is euler?
66 * 30 = searchmode
67 * 31 = threshold
68 * 32 = temperature
69 * 33 = unused
70 * 34 = unused
71 * 35 = no. of samples
72 * 36 = filter
73 * 37 = fromr2
74 * 38 = tor2
75 * 39 = stepr2
76 * 40 = theta
77 * 41 = psi
78 * 42 = U - amplitude of potential
79 * 43 = h step size
82 QString str1;
83 QString str2;
85 bool ruk;
86 bool eul;
88 private slots:
89 void setDimension();
90 void about();
91 void on_calcButton_clicked();
92 void on_actionAbout_triggered();
93 void on_actionQuit_triggered();
94 void on_actionDimension_triggered();
96 private:
97 Ui::QuPlot *ui;
99 QDialog *dimDialog;
103 #endif // QUPLOT_H