-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmainwindow.h
More file actions
44 lines (37 loc) · 1.01 KB
/
mainwindow.h
File metadata and controls
44 lines (37 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QDebug>
#include "scene.h"
//#include "qucolorselectbutton.h"
#include "mygroupbox.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_alphaSpinBox_valueChanged(double arg1);
void on_betaSpinBox_valueChanged(double arg1);
void on_gammaSpinBox_valueChanged(double arg1);
void clippingPlaneDataSelected(QString, QColor, int);
void on_drawButton_clicked();
void on_clearAllButton_clicked();
void on_undoButton_clicked();
void updateSlider(int);
private:
Ui::MainWindow *ui;
Scene* scene;
QVector<QRadioButton*> radiobuttons;
QUColorSelectButton *colorSelectButton;
MyGroupBox *alphaBox, *betaBox, *gammaBox;
QString plane;
double equals;
double alpha, beta, gamma;
QColor currentColor;
};
#endif // MAINWINDOW_H