My Project
 All Classes Functions Variables Pages
fmpanel.h
1 #ifndef FMPANEL_H
2 #define FMPANEL_H
3 #include <QComboBox>
4 #include <QSlider>
5 #include <QLineEdit>
6 #include <QGridLayout>
7 #include <QLabel>
8 #include <QSignalMapper>
9 #include <QPushButton>
10 #include <QWheelEvent>
11 #include <QCheckBox>
12 #include <QMessageBox>
13 
15 
20 class fmPanel : public QWidget{
21 public:
30  fmPanel(double ***rdata, double ***rerror,
31  int cpara, int crun,
32  double* T, QStringList* pnames);
33  ~fmPanel();
35  void refresh();
36 private:
37  Q_OBJECT
38  double ***rdata;
39  double ***rerror;
40  double *T;
41  double ** mins;
42  double **maxs;
43  int cpara;
44  int crun;
45 
46  QList<QLineEdit*> minlabel;
47  QList<QLineEdit*> maxlabel;
48  QList<QLineEdit*> clabel;
49  QList<QSlider*> slider;
50  QList<QCheckBox*> checkfit;
52 
58  QSignalMapper *signalMapper;
59  QSignalMapper *signalMapperSlider;
60  QSignalMapper *SignalmapperCheck;
61  QList<QLabel*> name;
62  QList<QLabel*> columnlabel;
63  QComboBox cb;
64  QPushButton showrun;
65  QPushButton hiderun;
66  QPushButton showrunonly;
67  void wheelEvent(QWheelEvent *event);
68  void mousePressEvent(QMouseEvent *event);
69 
70 private slots:
71  void view_run();
72  void view_run_only();
73  void hide_run();
74  void show_run(int i);
75  void change_value(int i);
76  void change_slider(int i);
77  void change_checkfit(int i);
78 signals:
79  void recalc(int irun, int ipara);
80  void view_run(int i);
81  void view_run_only(int i);
82  void hide_run(int i);
83  void reset_error(int runi, int parai, bool fit);
84 };
85 
86 #endif // FMPANEL_H
void refresh()
update line edits and slider wit regard on rdata
Definition: fmpanel.cpp:142
Graphical User Interface generated upon fitmodel.
Definition: fmpanel.h:20
fmPanel(double ***rdata, double ***rerror, int cpara, int crun, double *T, QStringList *pnames)
Definition: fmpanel.cpp:16