-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_window.h
52 lines (36 loc) · 874 Bytes
/
main_window.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
45
46
47
48
49
50
51
52
// Author: Marc Comino 2019
#ifndef MAIN_WINDOW_H_
#define MAIN_WINDOW_H_
#include <QMainWindow>
#include <QCloseEvent>
#include "TFWidget.hpp"
namespace Ui {
class MainWindow;
}
namespace gui {
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
virtual void show();
private slots:
void closeEvent (QCloseEvent *event);
/**
* @brief on_actionQuit_triggered Closes the application.
*/
void on_actionQuit_triggered();
/**
* @brief on_actionLoad_triggered Opens a file dialog to load a PLY mesh.
*/
void on_actionLoad_triggered();
/**
* @brief button_transfer_function Opens the transfer function editing tool
*/
void button_transfer_function();
private:
Ui::MainWindow *ui_;
TFWidget * tf_widget_;
};
} // namespace gui
#endif // MAIN_WINDOW_H_