47 #ifndef MIRA_EDITORPARTWINDOW_H_ 48 #define MIRA_EDITORPARTWINDOW_H_ 52 #include <QVBoxLayout> 58 class EditorPartTitleBar;
125 virtual void windowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState);
149 QVBoxLayout* mLayout;
154 QAction* mOnTopAction;
160 QWidget* mEmptyContentWidget;
163 QRect mRestoreGeometry;
166 bool mAutoHideDecorations;
167 bool mDecorationsShown;
178 WindowState mWindowState;
This is a replacement for QMdiArea.
Definition: EditorPartArea.h:71
virtual ~EditorPartWindow()
void setActive(bool activate)
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
void windowTitleChanged(EditorPartWindow *editor)
void undock()
Undocks the window from the EditorPartArea and makes it floating.
Definition: EditorPartWindow.h:81
bool isOnTop() const
Returns true, if the window stays on top of other windows.
Definition: EditorPartWindow.h:101
void showDecorations(bool show)
virtual void windowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState)
void setWidget(QWidget *widget)
Definition: EditorPartWindow.h:61
Definition: EditorPartTitleBar.h:58
virtual void changeEvent(QEvent *event)
void setOnTop(bool onTop)
Makes the window stay on top of other windows.
Definition: EditorPartWindow.h:96
EditorPartWindow(EditorPartArea *area=NULL, Qt::WindowFlags flags=Qt::WindowFlags())
bool isDocked() const
Returns true, if the window is docked in the EditorPartArea.
Definition: EditorPartWindow.h:91
EditorPartTitleBar * getTitleBar()
void setAutoHideDecorations(bool on)
virtual void paintEvent(QPaintEvent *paintEvent)
void updateStateButtons()
void dock()
Docks the window back to the EditorPartArea.
Definition: EditorPartWindow.h:86