-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
40 lines (30 loc) · 948 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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QFileDialog>
#include <QMainWindow>
#include "subdivision/subdivider.h"
namespace Ui {
class MainWindow;
}
/**
* @brief The MainWindow class represents the main window.
*/
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override;
private slots:
void on_LoadOBJ_pressed();
void on_MeshPresetComboBox_currentTextChanged(const QString &meshName);
void on_SubdivSteps_valueChanged(int subdivLevel);
void on_sharpnessSliderValue_valueChanged(int value);
void timeout();
void on_decimalSharpnessSpinBox_valueChanged(double arg1);
void on_edgeSelectionRadioButton_toggled(bool checked);
private:
void importOBJ(const QString &fileName);
Ui::MainWindow *ui;
Subdivider *subdivider;
};
#endif // MAINWINDOW_H