blob: ed6da9cad28b3365123cea18469b8103d27a50f0 (
plain) (
blame)
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
|
#ifndef SOURCEASSETOPENDLG_H
#define SOURCEASSETOPENDLG_H
#include <QtWidgets/QDialog>
#include <QtGui/QVector3D>
namespace Ui {
class SourceAssetOpenDlg;
}
class SourceAssetOpenDlg : public QDialog
{
Q_OBJECT
public:
explicit SourceAssetOpenDlg(int usefor, QWidget *parent = 0);
~SourceAssetOpenDlg();
void setDefaultFile(const QString& fn);
QString getFile();
bool getSkinned();
QVector3D getPosition();
QVector3D getRotationAxis();
double getRotationDegree();
bool isAppend();
bool isPreFractured();
bool isAutoCompute();
int sceneUnitIndex();
private slots:
void on_btnOpenFile_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_checkBoxPreFractured_stateChanged(int arg1);
void on_checkBoxAutoCompute_stateChanged(int arg1);
private:
Ui::SourceAssetOpenDlg *ui;
/*
m_usefor:
0 for open fbx file
1 for open blast file
2 for add BlastFamily
*/
int m_usefor;
};
#endif // SOURCEASSETOPENDLG_H
|