virtual void paintEvent(QPaintEvent *event)
Paint event.
bool couldDock()
Return 'true' if the next main dialog could be docked, i.e., if there is either no open dialog at all...
void resizeVisibleChild()
Resize the visible child to the current size of the dock.
virtual void show()
Show the widget (make it visible).
void setSideBarWidth(int width)
For secondary wizards.
static YQMainWinDock * mainWinDock()
Static method to access the singleton for this class.
void add(YQDialog *dialog)
Add a dialog (the widgetRep() of a YQDialog) to the MainWinDock (on top of its widget stack.
void remove(YQDialog *dialog=0)
Remove a dialog from the MainWinDock (if it belongs to the MainWinDock).
virtual void closeEvent(QCloseEvent *event)
Window manager close event (Alt-F4): Send a YCancelEvent and let the application handle that event.
YQDialog * topmostDialog() const
Return the current topmost dialog (the widgetRep() of a YQDialog) or 0 if there is none.
Container window for YQDialogs of type YMainWindowDialog:
virtual void resizeEvent(QResizeEvent *event)
Resize event.
void activateCurrentDialog(bool active)
Activate or deactivate the next-lower dialog in the dock when a new dialog is opened or when a dialog...