Loading...
Searching...
No Matches
SBGAssistant Class Referenceabstract

This class is the base class for an assistant GUI.

Public Member Functions

 SBGAssistant (SBDAssistant *app)
 
- Public Member Functions inherited from SBGWindowWidget
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.
 
SBGWindowgetWindow () const
 Returns the pointer to the embedding window, if any.
 
SBGWindowDockgetDockWindow () 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)
 

Identity

virtual SBCContainerUUID getUUID () const =0
 Returns the assistant GUI UUID.
 

App

SBDAssistantgetAssistant () const
 Returns a pointer to the assistant.
 
void setAssistant (SBDAssistant *app)
 Sets the pointer to the assistant.
 
 SB_DECLARE_DATA (SBGAssistant)
 
void stepAdded (const QString &step)
 
void thoughtAdded (const QString &thought)
 

Additional Inherited Members

- Public Slots inherited from SBGWindowWidget
void stopHighlighting ()
 
- Signals inherited from SBGWindowWidget
void shown (bool)
 Emitted when the widget is shown or hidden.
 
- Protected Member Functions inherited from SBGWindowWidget
 SBGWindowWidget ()
 
 SBGWindowWidget (SBGWindowWidgetData *dataPointer)
 
void hideEvent (QHideEvent *event)
 
void showEvent (QShowEvent *event)
 
void changeEvent (QEvent *event)
 
- Protected Attributes inherited from SBGWindowWidget
SBGWindowWidgetData * dataPointer
 

Member Function Documentation

◆ getUUID()

virtual SBCContainerUUID SBGAssistant::getUUID ( ) const
pure virtual

Reimplemented from SBGWindowWidget.