source: projectionDesigner/tag/ProjectionDesigner_1.1.5/projdesigner/include/gui/QSceneWidget.h @ 2

Last change on this file since 2 was 2, checked in by Torben Dannhauer, 10 years ago
File size: 850 bytes
Line 
1#ifndef _QSCENEWIDGET_H_
2#define _QSCENEWIDGET_H_
3
4#include <QtGui>
5
6#include "ui_qscenewidget.h"
7
8namespace projection
9{
10class Scene;
11
12class QSceneWidget : public QWidget
13{
14    Q_OBJECT
15
16public:
17
18    QSceneWidget(QWidget* pParent=0, Qt::WFlags flag=0);
19    ~QSceneWidget();
20
21    void setScene(Scene* pScene);
22
23    void updateGUI();
24
25private slots:
26
27    void on_transformWidget_matrixChanged(const TransformMatrix& matrix);
28    void on_typeComboBox_activated(int);
29
30    void on_showInDesignViewCheckBox_toggled(bool checked);
31    void on_sceneSizeEdit_editingFinished();
32    void on_gridCheckBox_toggled(bool checked);
33    void on_gridSizeEdit_editingFinished();
34
35    void on_centerViewButton_clicked();
36    void on_viewAllButton_clicked();
37
38private:
39
40    Ui::QSceneWidget ui;
41
42    Scene* m_pScene;
43};
44
45}; // projection
46
47#endif // _QSCENEWIDGET_H_
Note: See TracBrowser for help on using the repository browser.