Stacked Graphs
Geometry & Aesthetics
 All Classes Functions Variables Enumerations
mainform.h
1 #ifndef MAINFORM_H
2 #define MAINFORM_H
3 
4 #include <QtWidgets/QMainWindow>
5 #include "ui_mainform.h"
6 
10 class MainForm : public QMainWindow
11 {
12  Q_OBJECT
13 
14 public:
15  MainForm(QWidget *parent = 0);
16  ~MainForm();
17 
18 private slots:
19  void on_btnLoad_clicked();
20  void on_btnRandom_clicked();
21  void on_begincolorLabel_clicked();
22  void on_endcolorLabel_clicked();
23  void on_baseLineComboBox_currentIndexChanged(int i);
24  void on_sortingComboBox_currentIndexChanged(int i);
25  void on_interpolationComboBox_currentIndexChanged(int i);
26  void on_sortattributeComboBox_currentIndexChanged(int i);
27  void on_coloringComboBox_currentIndexChanged(int i);
28  void on_labelCheckBox_clicked(bool val);
29  void on_twodcoloringCheckBox_clicked(bool val);
30 
31  void on_exportButton_clicked();
32 
33  void redrawRequest();
34 
35 private:
36  class MainFormPrivate& d;
37 
38  bool loadFile(const QString& path, bool infoPopup = true);
39  QString getGradientStyleSheet(QVariant const color1, QVariant const color2) const;
40  QString getColorStyleSheet(QVariant const color) const;
41  void updateColorGradient(QColor const color1, QColor const color2);
42 };
43 
44 #endif // MAINFORM_H
The main window of the application.
Definition: mainform.h:10
Definition: mainform.cpp:6