diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
| commit | e1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch) | |
| tree | 9f0cfce09c71a2c27ff19589fcad6cd83504477c /tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h | |
| parent | first commit (diff) | |
| download | blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip | |
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h')
| -rw-r--r-- | tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h b/tools/ArtistTools/source/BlastPlugin/Window/GeneralPanel.h new file mode 100644 index 0000000..a7a52e3 --- /dev/null +++ b/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 |