blob: 6a0668de44b3f0bc5655945df880b2a9637004b8 (
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
|
#ifndef FRACTUREVORONOISETTINGSPANEL_H
#define FRACTUREVORONOISETTINGSPANEL_H
#include <QtWidgets/QWidget>
namespace Ui {
class FractureVoronoiSettingsPanel;
}
class FractureVoronoiSettingsPanel : public QWidget
{
Q_OBJECT
public:
explicit FractureVoronoiSettingsPanel(QWidget *parent = 0);
~FractureVoronoiSettingsPanel();
void updateValues();
private slots:
void on_checkBoxGridPreview_stateChanged(int arg1);
void on_checkBoxFracturePreview_stateChanged(int arg1);
void on_checkBoxCutterMesh_stateChanged(int arg1);
void on_spinBoxNumberOfSites_valueChanged(int arg1);
void on_comboBoxSiteGeneration_currentIndexChanged(int index);
void on_spinBoxGridSize_valueChanged(int arg1);
void on_spinBoxGridScale_valueChanged(double arg1);
void on_spinBoxAmplitude_valueChanged(double arg1);
void on_spinBoxFrequency_valueChanged(int arg1);
void on_comboBoxPaintMasks_currentIndexChanged(int index);
void on_btnAddPaintMasks_clicked();
void on_btnRemovePaintMasks_clicked();
void on_comboBoxMeshCutter_currentIndexChanged(int index);
void on_btnAddMeshCutter_clicked();
void on_btnRemoveMeshCutter_clicked();
void on_checkBoxFractureInsideCutter_stateChanged(int arg1);
void on_checkBoxFractureOutsideCutter_stateChanged(int arg1);
void on_btnAddTexture_clicked();
void on_btnReloadTexture_clicked();
void on_btnRemoveTexture_clicked();
void on_spinBoxTextureSites_valueChanged(int arg1);
void on_listWidgetTexture_itemSelectionChanged();
void on_btnTextureMap_clicked();
void on_btnApplyFracture_clicked();
private:
QString _getTexturePathByName(const QString& name);
void _updatePaintMaskComboBox();
void _updateMeshCutterComboBox();
void _updateTextureListWidget();
private:
Ui::FractureVoronoiSettingsPanel *ui;
bool _updateData;
};
#endif // FRACTUREVORONOISETTINGSPANEL_H
|