Loading...
Searching...
No Matches
SBGDataGraphNodeProperties Class Reference

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

Constructor and destructor

virtual ~SBGDataGraphNodeProperties ()
 

Identity

virtual SBUUID getUUID () const override
 Returns the widget UUID.
 
virtual QString getName () const override
 Returns the widget name (used as a title for the embedding window)
 
virtual QPixmap getLogo () const override
 Returns the pixmap logo.
 
virtual int getFormat () const override
 Returns the format.
 

Settings

virtual void loadSettings (SBGSettings *setting) override
 Loads settings.
 
virtual void saveSettings (SBGSettings *setting) override
 Saves settings.
 

Setup

virtual bool setup ()
 Initializes the properties widget for the context menu.
 
virtual bool setup (SBNode *node)
 Initializes the properties widget for a specific node.
 
 SBGDataGraphNodeProperties ()
 

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 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 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

◆ getFormat()

int SBGDataGraphNodeProperties::getFormat ( ) const
overridevirtual

Reimplemented from SBGWindowWidget.

◆ getLogo()

QPixmap SBGDataGraphNodeProperties::getLogo ( ) const
overridevirtual

Reimplemented from SBGWindowWidget.

◆ getName()

QString SBGDataGraphNodeProperties::getName ( ) const
overridevirtual

Reimplemented from SBGWindowWidget.

◆ getUUID()

SBCContainerUUID SBGDataGraphNodeProperties::getUUID ( ) const
overridevirtual

Reimplemented from SBGWindowWidget.

◆ loadSettings()

void SBGDataGraphNodeProperties::loadSettings ( SBGSettings setting)
overridevirtual

Reimplemented from SBGWindowWidget.

◆ saveSettings()

void SBGDataGraphNodeProperties::saveSettings ( SBGSettings setting)
overridevirtual

Reimplemented from SBGWindowWidget.