00001 #ifndef MAIN_WINDOW_H
00002 #define MAIN_WINDOW_H
00003
00004 #include <QMainWindow>
00005
00006 #include <ui_MainWindow.h>
00007 #include <Inventor/ViewerComponents/Qt/Viewers/ViewerExaminer.h>
00016 class MainWindow : public QMainWindow, public Ui::MainWindow
00017 {
00018 Q_OBJECT
00019
00020 public:
00021
00025 MainWindow( QWidget* parent );
00026
00030 static bool applicationShouldStop() { return shouldStop; }
00031
00032 private:
00036 virtual void dropEvent( QDropEvent * event );
00037 virtual void dragEnterEvent( QDragEnterEvent* event );
00038 virtual void closeEvent( QCloseEvent* event );
00039
00040 protected Q_SLOTS:
00041
00045 virtual void openFileAction();
00046
00050 virtual void runIvTune();
00051
00052 private:
00053
00054
00055 ViewerExaminer* m_viewerExaminer;
00056
00057
00058 static bool shouldStop;
00059 };
00060
00061 #endif // MAIN_WINDOW_H
00062
00063
00064