blob: f44dcfb55d729315d063ed341fcd77e623f9454a (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
#ifndef BlastToolbar_h__
#define BlastToolbar_h__
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDockWidget>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QMenu>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QLineEdit>
#include "SlideSpinBox.h"
class BlastToolbar : public QDockWidget
{
Q_OBJECT
public:
BlastToolbar(QWidget* parent);
void updateValues();
public slots:
void on_btnOpenProject_clicked();
void on_btnSaveProject_clicked();
void on_btnExportAssets_clicked();
void on_btnExportFilepath_clicked();
void on_ssbiDepthPreview_valueChanged(int v);
void on_cbExactCoverage_stateChanged(int state);
void on_btnSelectTool_clicked();
void on_pointselect_action();
void on_rectselect_action();
void on_drawselect_action();
void on_btnPaintbrush_clicked();
void on_btnFractureTool_clicked();
void on_btnExplodedViewTool_clicked();
void on_btnJointsTool_clicked();
void on_btnFuseSelectedChunks_clicked();
void on_btnReset_clicked();
void on_btnSimulatePlay_clicked();
void on_btnFrameStepForward_clicked();
void on_btnBomb_clicked();
void on_btnProjectile_clicked();
void on_btnDropObject_clicked();
void on_btnPreferences_clicked();
private:
QHBoxLayout *hLayout;
QFrame *fSeparate;
QPushButton *btnOpenProject;
QPushButton *btnSaveProject;
QPushButton *btnExportAssets;
QVBoxLayout *vLayoutExport;
QHBoxLayout *hLayoutExport;
QLabel *lExportFilepath;
QPushButton *btnExportFilepath;
QLineEdit* leExportFilepath;
QVBoxLayout *vLayoutDepthCoverage;
QHBoxLayout *hlDepthPreview;
QLabel *lbDepthPreview;
SlideSpinBoxInt* ssbiDepthPreview;
QHBoxLayout *hlExactCoverage;
QLabel *lbExactCoverage;
QCheckBox* cbExactCoverage;
QPushButton *btnSelectTool;
QPushButton *btnPaintbrush;
QPushButton *btnFractureTool;
QPushButton *btnExplodedViewTool;
QPushButton *btnJointsTool;
QPushButton *btnFuseSelectedChunks;
QPushButton *btnReset;
QPushButton *btnSimulatePlay;
QPushButton *btnFrameStepForward;
QPushButton *btnBomb;
QPushButton *btnProjectile;
QPushButton *btnDropObject;
QPushButton *btnPreferences;
};
#endif // BlastToolbar_h__
|