aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Window/SourceAssetOpenDlg.h
blob: ec03ee947787272cfe0cf953f29cd34386592cb4 (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
#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(bool bOpenBlastFile = true, QWidget *parent = 0);
    ~SourceAssetOpenDlg();

    QString getFile();
    bool getSkinned();
    QVector3D getPosition();
    QVector3D getRotationAxis();
    double getRotationDegree();
	bool isAppend();

private slots:
    void on_btnOpenFile_clicked();

    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

private:
    Ui::SourceAssetOpenDlg *ui;
	bool m_bOpenBlastFile;
};

#endif // SOURCEASSETOPENDLG_H