-
Notifications
You must be signed in to change notification settings - Fork 1
/
mainwindow.h
44 lines (36 loc) · 923 Bytes
/
mainwindow.h
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 "myglwidget.h"
#include <QLabel>
#include <QMainWindow>
#include <QSlider>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_openfile_triggered();
void on_curvSimplify_triggered();
void on_curve_valueChanged(double arg1);
void setCell(double);
void setCurv(float);
void on_cellLength_valueChanged(double arg1);
void setStatusMessage(const QString &mess, int timeout = 0);
void on_action_triggered();
void on_action_2_triggered();
private:
Ui::MainWindow *ui;
MyGLWidget *glwidget;
QSlider *xSlider;
QSlider *ySlider;
QSlider *zSlider;
QLabel *statusLabel;
enum SimplifyFun { no, average, averagedbscan, curva };
SimplifyFun currentSimplify;
QSlider *createVerticalSlider();
};
#endif // MAINWINDOW_H