source: projectionDesigner/trunk/projdesigner/include/gui/QSceneWidget.h @ 110

Last change on this file since 110 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 850 bytes
RevLine 
[4]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.