diff options
Diffstat (limited to 'NvBlast/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h')
| -rw-r--r-- | NvBlast/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/NvBlast/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h b/NvBlast/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h new file mode 100644 index 0000000..a7a52e3 --- /dev/null +++ b/NvBlast/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h @@ -0,0 +1,52 @@ +#ifndef GENERALPANEL_H +#define GENERALPANEL_H + +#include <QtWidgets/QWidget> +#include "ProjectParams.h" + +namespace Ui { +class GeneralPanel; +} + +class GeneralPanel : public QWidget +{ + Q_OBJECT + +public: + explicit GeneralPanel(QWidget *parent = 0); + ~GeneralPanel(); + void updateValues(); + +private slots: + void on_comboBoxUserPreset_currentIndexChanged(int index); + + void on_btnAddUserPreset_clicked(); + + void on_btnModifyUserPreset_clicked(); + + void on_btnSaveUserPreset_clicked(); + + void on_comboBoxSolverMode_currentIndexChanged(int index); + + void on_spinBoxLinearFactor_valueChanged(double arg1); + + void on_spinBoxAngularFactor_valueChanged(double arg1); + + void on_spinBoxMeanError_valueChanged(double arg1); + + void on_spinBoxVarianceError_valueChanged(double arg1); + + void on_spinBoxBondsPerFrame_valueChanged(int arg1); + + void on_spinBoxBondsIterations_valueChanged(int arg1); + +private: + BPPStressSolver* _getCurrentStressSolver(); + BPPStressSolver* _getUserPreset(const char* name); + void _updateStressSolverUIs(); + +private: + Ui::GeneralPanel *ui; +}; + +#endif // GENERALPANEL_H |