1 #ifndef XGUI_ViewWindow_H
2 #define XGUI_ViewWindow_H
7 #include <V3d_View.hxx>
8 #include <V3d_Viewer.hxx>
15 class XGUI_ViewWindow : public QFrame
19 XGUI_ViewWindow(XGUI_Viewer* theViewer,
20 V3d_TypeOfView theType);
22 virtual ~XGUI_ViewWindow();
25 virtual void resizeEvent(QResizeEvent* theEvent);
27 virtual void changeEvent(QEvent* theEvent);
29 virtual void enterEvent(QEvent* theEvent);
30 virtual void leaveEvent(QEvent* theEvent);
32 virtual bool eventFilter(QObject *theObj, QEvent *theEvent);
40 enum WindowState { MinimizedState, MaximizedState, NormalState };
43 XGUI_Viewer* myViewer;
47 XGUI_ViewPort* myViewPort;
49 QToolBar* myWindowBar;
50 QAction* myMinimizeBtn;
51 QAction* myMaximizeBtn;
61 WindowState myLastState;