source: experimental/osgVisualGuiNG/osgvisualgui.h @ 418

Last change on this file since 418 was 418, 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
7class QTextEdit;
8
9class osgVisualGUI : public QMainWindow
10{
11        Q_OBJECT
12
13public:
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
27private:
28        void setupDockWidgets();
29        void setupToolbars();
30        void setupMenus();
31
32        Ui::osgVisualGUIClass ui;
33
34        /**
35         * Pointer to the debug widget
36         */ 
37        QTextEdit* debug;
38
39private slots:
40        void on_actionToggle_bottom_right_corner_triggered();
41        void on_actionToggle_bottom_left_corner_triggered();
42        void on_actionToggle_top_right_corner_triggered();
43        void on_actionToggle_top_left_corner_triggered();
44        void on_actionAbout_This_Programm_triggered();
45};
46
47#endif // OSGVISUALGUI_H
Note: See TracBrowser for help on using the repository browser.