-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMeshWindow.h
More file actions
50 lines (44 loc) · 1.53 KB
/
Copy pathMeshWindow.h
File metadata and controls
50 lines (44 loc) · 1.53 KB
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
#ifndef MESHWINDOW_H
#define MESHWINDOW_H
#include <QtWidgets/QMainWindow>
#include "ui_meshwindow.h"
class MeshWindow : public QMainWindow
{
Q_OBJECT
public:
MeshWindow(QWidget *parent = 0);
~MeshWindow();
BaseMeshViewer* getViewer();
const BaseMeshViewer* getViewer()const;
void updateParamUI();
public slots:
void leftDocButtonsClicked(int i);
void on_cbThickness_currentTextChanged(const QString& s);
void on_pbInverseCylinder_clicked();
void on_dbStiffBend_valueChanged(double v);
void on_dbStiffMyu_valueChanged(double v);
void on_dbStiffLambda_valueChanged(double v);
void on_dbRho_valueChanged(double v);
void on_dbMyuK_valueChanged(double v);
void on_dbMyuS_valueChanged(double v);
void on_dbStiffN_valueChanged(double v);
void on_dbStiffF_valueChanged(double v);
void on_dbOffset_valueChanged(double v);
void on_sbCoarseMesh_valueChanged(int v);
void on_sbDetailMesh_valueChanged(int v);
void on_pbReInitMesh_clicked();
void on_actionSave_triggered();
protected:
void dragEnterEvent(QDragEnterEvent* ev);
void dropEvent(QDropEvent* ev);
virtual void timerEvent(QTimerEvent* ev);
private:
Ui_MeshWindow ui;
//////////////////////////////////////////////////////////////////////////
protected:
QMap<AbstractMeshEventHandle::ProcessorType, QSharedPointer<QPushButton>> m_leftDockButtons;
QSharedPointer<QSignalMapper> m_ldbSignalMapper;
void initLeftDockActions();
void addLeftDockWidgetButton(AbstractMeshEventHandle::ProcessorType type);
};
#endif // SEWINGEDITOR_H