-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMainWindow.h
52 lines (32 loc) · 1.04 KB
/
MMainWindow.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
#ifndef MMAINWINDOW_H
#define MMAINWINDOW_H
#include <QMainWindow>
#include <QModelIndex>
#include "MOBJFile.h"
#include "MDAEFile.h"
#include "MSMDLFile.h"
namespace Ui { class MMainWindow; }
/******************************************************************************
* Definition for main window *
******************************************************************************/
class MMainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MMainWindow(QWidget *parent = 0);
void showEvent(QShowEvent* event);
~MMainWindow();
public slots:
void openNewFile();
void saveFile();
void saveAnimation();
void selectMaterial(QModelIndex index);
void chooseMaterial();
void chooseCollision();
private:
Ui::MMainWindow *ui;
static QString resource_path;
MFile* file;
QModelIndex selected_material_index;
MMaterial* selected_material;
};
#endif // MMAINWINDOW_H