47 #ifndef MIRA_EDITORPARTWINDOW_H_ 48 #define MIRA_EDITORPARTWINDOW_H_ 52 #include <QVBoxLayout> 60 class EditorPartTitleBar;
73 void setWidget(QWidget* widget);
74 QWidget* widget()
const;
109 void showDecorations(
bool show);
111 void setAutoHideDecorations(
bool on);
116 virtual void paintEvent(QPaintEvent *paintEvent);
117 virtual void changeEvent(QEvent* event);
125 void setActive(
bool activate);
127 virtual void windowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState);
129 void updateDecorations();
130 void updateStateButtons();
139 void onOnTop(
bool onTop);
151 QVBoxLayout* mLayout;
156 QAction* mOnTopAction;
162 QWidget* mEmptyContentWidget;
165 QRect mRestoreGeometry;
168 bool mAutoHideDecorations;
169 bool mDecorationsShown;
180 WindowState mWindowState;
This is a replacement for QMdiArea.
Definition: EditorPartArea.h:73
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
void undock()
Undocks the window from the EditorPartArea and makes it floating.
Definition: EditorPartWindow.h:83
bool isOnTop() const
Returns true, if the window stays on top of other windows.
Definition: EditorPartWindow.h:103
Definition: EditorPartWindow.h:63
Definition: EditorPartTitleBar.h:58
void setOnTop(bool onTop)
Makes the window stay on top of other windows.
Definition: EditorPartWindow.h:98
Gui export macro declaration.
bool isDocked() const
Returns true, if the window is docked in the EditorPartArea.
Definition: EditorPartWindow.h:93
#define MIRA_GUI_RCP_EXPORT
Definition: GuiRCPExports.h:61
void dock()
Docks the window back to the EditorPartArea.
Definition: EditorPartWindow.h:88