Last change
on this file since 420 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
|
Rev | Line | |
---|
[415] | 1 | #ifndef OSGVISUALGUI_H |
---|
| 2 | #define OSGVISUALGUI_H |
---|
| 3 | |
---|
| 4 | #include <QtGui/QMainWindow> |
---|
| 5 | #include "ui_osgvisualgui.h" |
---|
| 6 | |
---|
[418] | 7 | class QTextEdit; |
---|
| 8 | |
---|
[415] | 9 | class osgVisualGUI : public QMainWindow |
---|
| 10 | { |
---|
| 11 | Q_OBJECT |
---|
| 12 | |
---|
| 13 | public: |
---|
| 14 | osgVisualGUI(QWidget *parent = 0, Qt::WFlags flags = 0); |
---|
| 15 | ~osgVisualGUI(); |
---|
| 16 | |
---|
[418] | 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 | |
---|
[415] | 27 | private: |
---|
[418] | 28 | void setupDockWidgets(); |
---|
| 29 | void setupToolbars(); |
---|
| 30 | void setupMenus(); |
---|
[419] | 31 | void setupConnections(); |
---|
[418] | 32 | |
---|
[419] | 33 | |
---|
[415] | 34 | Ui::osgVisualGUIClass ui; |
---|
[418] | 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(); |
---|
[419] | 46 | void on_actionAbout(); |
---|
[415] | 47 | }; |
---|
| 48 | |
---|
| 49 | #endif // OSGVISUALGUI_H |
---|
Note: See
TracBrowser
for help on using the repository browser.