This class is the base class for App's GUI.
|
|
| SBGApp (SBDApp *app) |
| |
|
virtual | ~SBGWindowWidget () |
| | Destructor.
|
| |
| virtual QString | getName () const |
| | Returns the widget name (used as a title for the embedding window)
|
| |
| virtual QPixmap | getLogo () const |
| | Returns the pixmap logo.
|
| |
| virtual int | getFormat () const |
| | Returns the format.
|
| |
|
virtual QString | getCitation () const |
| | Returns the citation information.
|
| |
|
SBGWindow * | getWindow () const |
| | Returns the pointer to the embedding window, if any.
|
| |
|
SBGWindowDock * | getDockWindow () const |
| | Returns the pointer to the embedding dock window, if any.
|
| |
| virtual void | loadSettings (SBGSettings *settings) |
| | Loads settings.
|
| |
| virtual void | saveSettings (SBGSettings *settings) |
| | Saves settings.
|
| |
|
void | loadDefaultSettings () |
| | Loads default settings
|
| |
|
void | saveDefaultSettings () |
| | Saves default settings
|
| |
|
void | setLockedFlag (bool lockedFlag) |
| | Sets whether the widget is locked (on top)
|
| |
|
bool | getLockedFlag () const |
| | Returns whether the widget is locked (on top)
|
| |
|
void | highlight (const SBQuantity::second &duration=SBQuantity::second(1.0)) |
| | Highlights the widget for a moment.
|
| |
|
bool | getHighlightingFlag () const |
| | Returns the highlighting flag.
|
| |
|
void | setHighlightingFlag (bool highlightingFlag) |
| | Sets the highlighting flag.
|
| |
|
| SB_DECLARE_DATA (SBGWindowWidget) |
| |
|
| virtual SBCContainerUUID | getUUID () const =0 |
| | Returns the app GUI UUID.
|
| |
|
virtual QKeySequence | getShortcut () const |
| | Returns the shortcut.
|
| |
|
virtual QString | getToolTip () const |
| | Returns the tool tip.
|
| |
|
|
SBDApp * | getApp () const |
| | Returns a pointer to the app.
|
| |
|
void | setApp (SBDApp *app) |
| | Sets the pointer to the app.
|
| |
|
|
virtual bool | getVerticalSpacerFlag () const |
| | Returns whether the GUI should have a vertical spacer added.
|
| |
|
virtual Qt::DockWidgetArea | getDockWidgetArea () const |
| | Returns the preferred dock widget area.
|
| |
|
| SB_DECLARE_DATA (SBGApp) |
| |
|
|
void | stopHighlighting () |
| |
|
void | shown (bool) |
| | Emitted when the widget is shown or hidden.
|
| |
|
| SBGWindowWidget () |
| |
|
| SBGWindowWidget (SBGWindowWidgetData *dataPointer) |
| |
|
void | hideEvent (QHideEvent *event) |
| |
|
void | showEvent (QShowEvent *event) |
| |
|
void | changeEvent (QEvent *event) |
| |
|
SBGWindowWidgetData * | dataPointer |
| |
◆ getUUID()