blob: a7a52e325582f6c2f855e9d67d8d548fdfad2758 (
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 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
|