Loading...
Searching...
No Matches
SBGStructuralModelFactory Class Reference

This class describes a widget that allows users to view and potentially edit properties of data graph nodes.

Constructor and destructor

virtual ~SBGStructuralModelFactory ()
 

Identity

virtual SBUUID getUUID () const
 Returns the widget UUID.
 
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.
 

Settings

virtual void loadSettings (SBGSettings *setting)
 Load GUI settings.
 
virtual void saveSettings (SBGSettings *setting)
 Save GUI settings.
 

Setup

virtual SBMStructuralModelcreate ()
 Creates a structural model.
 
 SBGStructuralModelFactory ()
 

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.
 
- Public Member Functions inherited from SBGDataGraphNodeFactory
virtual ~SBGDataGraphNodeFactory ()
 
virtual bool hasGUI () const
 Returns whether the factory has a GUI.
 
- Public Member Functions inherited from SBGWindowWidget
virtual ~SBGWindowWidget ()
 Destructor.
 
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.
 
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)
 
- Protected Member Functions inherited from SBGDataGraphNodeFactory
 SBGDataGraphNodeFactory ()
 
- 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

◆ create()

SBMStructuralModel * SBGStructuralModelFactory::create ( )
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ getFormat()

int SBGStructuralModelFactory::getFormat ( ) const
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ getLogo()

QPixmap SBGStructuralModelFactory::getLogo ( ) const
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ getName()

QString SBGStructuralModelFactory::getName ( ) const
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ getUUID()

SBCContainerUUID SBGStructuralModelFactory::getUUID ( ) const
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ loadSettings()

void SBGStructuralModelFactory::loadSettings ( SBGSettings setting)
virtual

Reimplemented from SBGDataGraphNodeFactory.

◆ saveSettings()

void SBGStructuralModelFactory::saveSettings ( SBGSettings setting)
virtual

Reimplemented from SBGDataGraphNodeFactory.