Class SBGWindowDock#
This class describes a dock window. More...
#include "SBGWindowDock.hpp"
Inherits the following classes: QDockWidget
Public Signals#
Type | Name |
---|---|
signal void | closed Emitted when the dock window is closed by the user. |
signal void | locked (bool) Emitted when the dock window is locked or unlocked. |
signal void | shown (bool) Emitted when the dock window is shown or hidden. |
Public Functions#
Type | Name |
---|---|
SBGWindowDock (QWidget * widget, QString title, QWidget * parent, Qt::WindowFlags flags) Constructor. |
|
SB_DECLARE_DATA (SBGWindowDock) |
|
bool | getCitableWindowFlag () const Returns whether the citable window flag. |
SBGWindowWidget * | getEmbeddedWidget () const Returns the embedded widget. |
SBUUID | getPreferencesUUID () const Returns the UUID of preferences (static attributes), if present. |
bool | getSavableWindowFlag () const Returns whether the window options can be saved. |
SBCContainerUUID | getUUID () const Returns the UUID. |
bool | isLocked () const Returns whether the dock window is locked. |
void | loadDefaultSettings () Loads the default settings of the window. |
virtual void | print (unsigned int offset=0) const Prints some debugging information. |
void | saveDefaultSettings () Saves the default settings of the window. |
void | setCitableWindowFlag (bool flag) Sets whether the citable window flag. |
void | setEmbeddedWidget (SBGWindowWidget * embeddedWidget) Sets the embedded widget. |
void | setPreferencesUUID (const SBUUID & preferencesUUID) Sets the UUID of preferences (static attributes), if present. |
void | setSavableWindowFlag (bool flag) Sets whether the window options can be saved. |
void | setUUID (const SBCContainerUUID & uuid) Sets the UUID. |
virtual | ~SBGWindowDock () Destructor. |
Protected Attributes#
Type | Name |
---|---|
SBGWindowDockData * | dataPointer |
Protected Functions#
Type | Name |
---|---|
virtual void | changeEvent (QEvent * event) Handles events. |
virtual bool | event (QEvent * event) Handles events. |
virtual void | hideEvent (QHideEvent * event) Handles hide event. |
virtual void | paintEvent (QPaintEvent * event) Handles paint event. |
virtual void | resizeEvent (QResizeEvent * event) Handles resize events. |
virtual void | showEvent (QShowEvent * event) Handles show event. |
virtual void | wheelEvent (QWheelEvent * event) Handles mouse wheel events. |
Detailed Description#
Short name: SBWindowDock
Public Signals Documentation#
signal closed#
Emitted when the dock window is closed by the user.
signal locked#
Emitted when the dock window is locked or unlocked.
signal shown#
Emitted when the dock window is shown or hidden.
Public Functions Documentation#
function SBGWindowDock#
Constructor.
SBGWindowDock::SBGWindowDock (
QWidget * widget,
QString title,
QWidget * parent,
Qt::WindowFlags flags
)
function SB_DECLARE_DATA#
function getCitableWindowFlag#
Returns whether the citable window flag.
function getEmbeddedWidget#
Returns the embedded widget.
function getPreferencesUUID#
Returns the UUID of preferences (static attributes), if present.
function getSavableWindowFlag#
Returns whether the window options can be saved.
function getUUID#
Returns the UUID.
function isLocked#
Returns whether the dock window is locked.
function loadDefaultSettings#
Loads the default settings of the window.
function print#
Prints some debugging information.
function saveDefaultSettings#
Saves the default settings of the window.
function setCitableWindowFlag#
Sets whether the citable window flag.
function setEmbeddedWidget#
Sets the embedded widget.
function setPreferencesUUID#
Sets the UUID of preferences (static attributes), if present.
function setSavableWindowFlag#
Sets whether the window options can be saved.
function setUUID#
Sets the UUID.
function ~SBGWindowDock#
Destructor.
Protected Attributes Documentation#
variable dataPointer#
Protected Functions Documentation#
function changeEvent#
Handles events.
function event#
Handles events.
function hideEvent#
Handles hide event.
function paintEvent#
Handles paint event.
function resizeEvent#
Handles resize events.
function showEvent#
Handles show event.
function wheelEvent#
Handles mouse wheel events.