Last change
on this file was
419,
checked in by Torben Dannhauer, 12 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Rev URL
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef OSGVISUALGUI_H |
---|
2 | #define OSGVISUALGUI_H |
---|
3 | |
---|
4 | #include <QtGui/QMainWindow> |
---|
5 | #include "ui_osgvisualgui.h" |
---|
6 | |
---|
7 | class QTextEdit; |
---|
8 | |
---|
9 | class osgVisualGUI : public QMainWindow |
---|
10 | { |
---|
11 | Q_OBJECT |
---|
12 | |
---|
13 | public: |
---|
14 | osgVisualGUI(QWidget *parent = 0, Qt::WFlags flags = 0); |
---|
15 | ~osgVisualGUI(); |
---|
16 | |
---|
17 | /** |
---|
18 | * Intercepts closeEvents to perform userdef actions and finally accept the event. |
---|
19 | * Zu den Aktionen gehört das Speichern der Einstellungen, das Schliessen das Debugfensters etc. |
---|
20 | * @return void |
---|
21 | * @param event: Abzufangender CloseEvent |
---|
22 | */ |
---|
23 | void closeEvent( QCloseEvent *event ); |
---|
24 | |
---|
25 | void setDebug(QTextEdit* debug_); |
---|
26 | |
---|
27 | private: |
---|
28 | void setupDockWidgets(); |
---|
29 | void setupToolbars(); |
---|
30 | void setupMenus(); |
---|
31 | void setupConnections(); |
---|
32 | |
---|
33 | |
---|
34 | Ui::osgVisualGUIClass ui; |
---|
35 | |
---|
36 | /** |
---|
37 | * Pointer to the debug widget |
---|
38 | */ |
---|
39 | QTextEdit* debug; |
---|
40 | |
---|
41 | private slots: |
---|
42 | void on_actionToggle_bottom_right_corner_triggered(); |
---|
43 | void on_actionToggle_bottom_left_corner_triggered(); |
---|
44 | void on_actionToggle_top_right_corner_triggered(); |
---|
45 | void on_actionToggle_top_left_corner_triggered(); |
---|
46 | void on_actionAbout(); |
---|
47 | }; |
---|
48 | |
---|
49 | #endif // OSGVISUALGUI_H |
---|
Note: See
TracBrowser
for help on using the repository browser.