aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Window/FileReferencesPanel.h
blob: 9accf6af26641dd092734a1af7c652ff86e6e140 (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
52
#ifndef FILEREFERENCESPANEL_H
#define FILEREFERENCESPANEL_H

#include <QtWidgets/QWidget>

namespace Ui {
class FileReferencesPanel;
}

#include "ProjectParams.h"

class FileReferencesPanel : public QWidget
{
    Q_OBJECT

public:
    explicit FileReferencesPanel(QWidget *parent = 0);
    ~FileReferencesPanel();
	void updateValues();

	static FileReferencesPanel* ins();

public slots:
    void on_btnOpenFile_clicked();

    void on_btnReload_clicked();

    void on_btnRemove_clicked();

    void on_checkBoxFBX_stateChanged(int arg1);

	void on_checkBoxEmbedFBXCollision_stateChanged(int arg1);

    void on_checkBoxObj_stateChanged(int arg1);
	
	void on_checkBoxLLAsset_stateChanged(int arg1);
	
	void on_checkBoxTKAsset_stateChanged(int arg1);
	
	void on_checkBoxBPXA_stateChanged(int arg1);

    void on_btnSave_clicked();

private:
	BPPAsset* _getCurrentAsset();

private:
    Ui::FileReferencesPanel *ui;
	bool bValid;
};

#endif // FILEREFERENCESPANEL_H