source: experimental/osgVisualGuiNG/osgvisualgui.h @ 426

Last change on this file since 426 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
RevLine 
[415]1#ifndef OSGVISUALGUI_H
2#define OSGVISUALGUI_H
3
4#include <QtGui/QMainWindow>
5#include "ui_osgvisualgui.h"
6
[418]7class QTextEdit;
8
[415]9class osgVisualGUI : public QMainWindow
10{
11        Q_OBJECT
12
13public:
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]27private:
[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
41private 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.