Web Analytics Made Easy - Statcounter
Skip to content

Class SBGStructuralModelFactory#

ClassList > SBGStructuralModelFactory

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

  • #include <SBGStructuralModelFactory.hpp>

Inherits the following classes: SBGDataGraphNodeFactory

Public Slots inherited from SBGWindowWidget#

See SBGWindowWidget

Type Name
slot void stopHighlighting

Public Signals inherited from SBGWindowWidget#

See SBGWindowWidget

Type Name
signal void shown (bool)
Emitted when the widget is shown or hidden.

Public Functions#

Type Name
virtual SBMStructuralModel * create ()
Creates a structural model.
virtual int getFormat () const
Returns the format.
virtual QPixmap getLogo () const
Returns the pixmap logo.
virtual QString getName () const
Returns the widget name (used as a title for the embedding window)
virtual SBUUID getUUID () const
Returns the widget UUID.
virtual void loadSettings (SBGSettings * setting)
Load GUI settings.
virtual void saveSettings (SBGSettings * setting)
Save GUI settings.
virtual ~SBGStructuralModelFactory ()

Public Functions inherited from SBGDataGraphNodeFactory#

See SBGDataGraphNodeFactory

Type Name
virtual SBNode * create ()
Creates a node.
virtual int getFormat () override const
Returns the format.
virtual QPixmap getLogo () override const
Returns the pixmap logo.
virtual QString getName () override const
Returns the widget name (used as a title for the embedding window)
virtual SBUUID getUUID () override const
Returns the widget UUID.
virtual bool hasGUI () const
Returns whether the factory has a GUI.
virtual void loadSettings (SBGSettings * setting) override
Load GUI settings.
virtual void saveSettings (SBGSettings * setting) override
Save GUI settings.
virtual ~SBGDataGraphNodeFactory ()

Public Functions inherited from SBGWindowWidget#

See SBGWindowWidget

Type Name
SB_DECLARE_DATA (SBGWindowWidget)
virtual QString getCitation () const
Returns the citation information.
SBGWindowDock * getDockWindow () const
Returns the pointer to the embedding dock window, if any.
virtual int getFormat () const
Returns the format.
bool getHighlightingFlag () const
Returns the highlighting flag.
bool getLockedFlag () const
Returns whether the widget is locked (on top)
virtual QPixmap getLogo () const
Returns the pixmap logo.
virtual QString getName () const
Returns the widget name (used as a title for the embedding window)
virtual SBUUID getUUID () const
Returns the widget UUID.
SBGWindow * getWindow () const
Returns the pointer to the embedding window, if any.
void highlight (const SBQuantity::second & duration=SBQuantity::second(1.0))
Highlights the widget for a moment.
void loadDefaultSettings ()
Loads default settings.
virtual void loadSettings (SBGSettings * settings)
Loads settings .
void saveDefaultSettings ()
Saves default settings.
virtual void saveSettings (SBGSettings * settings)
Saves settings .
void setHighlightingFlag (bool highlightingFlag)
Sets the highlighting flag.
void setLockedFlag (bool lockedFlag)
Sets whether the widget is locked (on top)
virtual ~SBGWindowWidget ()
Destructor.

Protected Attributes inherited from SBGWindowWidget#

See SBGWindowWidget

Type Name
SBGWindowWidgetData * dataPointer

Protected Functions#

Type Name
SBGStructuralModelFactory ()

Protected Functions inherited from SBGDataGraphNodeFactory#

See SBGDataGraphNodeFactory

Type Name
SBGDataGraphNodeFactory ()

Protected Functions inherited from SBGWindowWidget#

See SBGWindowWidget

Type Name
SBGWindowWidget ()
SBGWindowWidget (SBGWindowWidgetData * dataPointer)
void changeEvent (QEvent * event)
void hideEvent (QHideEvent * event)
void showEvent (QShowEvent * event)

Public Functions Documentation#

function create#

Creates a structural model.

virtual SBMStructuralModel * SBGStructuralModelFactory::create () 

Implements SBGDataGraphNodeFactory::create


function getFormat#

Returns the format.

virtual int SBGStructuralModelFactory::getFormat () const

Implements SBGDataGraphNodeFactory::getFormat


Returns the pixmap logo.

virtual QPixmap SBGStructuralModelFactory::getLogo () const

Implements SBGDataGraphNodeFactory::getLogo


function getName#

Returns the widget name (used as a title for the embedding window)

virtual QString SBGStructuralModelFactory::getName () const

Implements SBGDataGraphNodeFactory::getName


function getUUID#

Returns the widget UUID.

virtual SBUUID SBGStructuralModelFactory::getUUID () const

Implements SBGDataGraphNodeFactory::getUUID


function loadSettings#

Load GUI settings.

virtual void SBGStructuralModelFactory::loadSettings (
    SBGSettings * setting
) 

Implements SBGDataGraphNodeFactory::loadSettings


function saveSettings#

Save GUI settings.

virtual void SBGStructuralModelFactory::saveSettings (
    SBGSettings * setting
) 

Implements SBGDataGraphNodeFactory::saveSettings


function ~SBGStructuralModelFactory#

virtual SBGStructuralModelFactory::~SBGStructuralModelFactory () 

Protected Functions Documentation#

function SBGStructuralModelFactory#

SBGStructuralModelFactory::SBGStructuralModelFactory ()