MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Signals | Public Member Functions | Protected Attributes | Private Member Functions
DtRtiSelectedNodeWidget Class Reference
+ Inheritance diagram for DtRtiSelectedNodeWidget:
+ Collaboration diagram for DtRtiSelectedNodeWidget:

Signals

void iconChangeRequested ()
 Emitted when the user attempts to select a new icon.

Public Member Functions

 DtRtiSelectedNodeWidget (QWidget *parent)
 Constructor.
virtual ~DtRtiSelectedNodeWidget ()
 Destructor.
virtual void initialize ()
 Initialize.
virtual QSize sizeHint () const
 Returns the recommended size for the widget.
virtual void clearInformation ()
 Clear all displayed information.
virtual void setNodeNameAndIcon (const MAKRti::DtString &name, const QPixmap &icon)
 Display new node name and icon.
virtual void addItem (const QString &attribute, const QString &val, const QColor &colorValue=Qt::black)
 Add a new text item to the info panel optional text color.
virtual void addItem (const QString &attribute, QWidget *w)
 Add a new widget item to the info panel.
virtual void addSubItem (const QString &val, const QColor &colorValue=Qt::black)
 Add a new text sub-item to the info panel optional text color.
virtual void removeItem (const QString &attribute)
 Removes any items with the matching attribute name.
virtual QAction * addAction (const QString &name, const QIcon &icon)
 Add a new action to the toolbar.
virtual void addAction (QAction *action)
 Add a new action to the toolbar.
virtual void removeAction (QAction *action)
 Add a new action to the toolbar.
virtual void copySelectionToClipboard ()
 Copy selection to clipboard.

Protected Attributes

QGridLayout * myLayout
DtClickableLabelmyNodeIconLabel
QLabelmyNodeIdLabel
QTreeView * myTreeView
QStandardItemModel * myItemModel
QStandardItem * myLastParentItem
QToolBar * myToolbar

Private Member Functions

 DtRtiSelectedNodeWidget (const DtRtiSelectedNodeWidget &copy)
 Copy Constructor – NOT COPYABLE.
DtRtiSelectedNodeWidgetoperator= (const DtRtiSelectedNodeWidget &rhs)
 Assignment Operator – NOT COPYABLE.

Constructor & Destructor Documentation

DtRtiSelectedNodeWidget::DtRtiSelectedNodeWidget ( QWidget parent)

Constructor.

virtual DtRtiSelectedNodeWidget::~DtRtiSelectedNodeWidget ( )
virtual

Destructor.

DtRtiSelectedNodeWidget::DtRtiSelectedNodeWidget ( const DtRtiSelectedNodeWidget copy)
private

Copy Constructor – NOT COPYABLE.

Member Function Documentation

virtual QAction* DtRtiSelectedNodeWidget::addAction ( const QString &  name,
const QIcon &  icon 
)
virtual

Add a new action to the toolbar.

Creates the toolbar if it doesn't exist. Returns the QAction that was created so that the caller can install signals/slots.

virtual void DtRtiSelectedNodeWidget::addAction ( QAction *  action)
virtual

Add a new action to the toolbar.

Creates the toolbar if it doesn't exist.

virtual void DtRtiSelectedNodeWidget::addItem ( const QString &  attribute,
const QString &  val,
const QColor &  colorValue = Qt::black 
)
virtual

Add a new text item to the info panel optional text color.

virtual void DtRtiSelectedNodeWidget::addItem ( const QString &  attribute,
QWidget w 
)
virtual

Add a new widget item to the info panel.

virtual void DtRtiSelectedNodeWidget::addSubItem ( const QString &  val,
const QColor &  colorValue = Qt::black 
)
virtual

Add a new text sub-item to the info panel optional text color.

Sub-items are added as children under the previously added item.

virtual void DtRtiSelectedNodeWidget::clearInformation ( )
virtual

Clear all displayed information.

virtual void DtRtiSelectedNodeWidget::copySelectionToClipboard ( )
virtual

Copy selection to clipboard.

void DtRtiSelectedNodeWidget::iconChangeRequested ( )
signal

Emitted when the user attempts to select a new icon.

virtual void DtRtiSelectedNodeWidget::initialize ( )
virtual

Initialize.

DtRtiSelectedNodeWidget& DtRtiSelectedNodeWidget::operator= ( const DtRtiSelectedNodeWidget rhs)
private

Assignment Operator – NOT COPYABLE.

virtual void DtRtiSelectedNodeWidget::removeAction ( QAction *  action)
virtual

Add a new action to the toolbar.

Creates the toolbar if it doesn't exist.

virtual void DtRtiSelectedNodeWidget::removeItem ( const QString &  attribute)
virtual

Removes any items with the matching attribute name.

virtual void DtRtiSelectedNodeWidget::setNodeNameAndIcon ( const MAKRti::DtString &  name,
const QPixmap &  icon 
)
virtual

Display new node name and icon.

virtual QSize DtRtiSelectedNodeWidget::sizeHint ( ) const
virtual

Returns the recommended size for the widget.

Member Data Documentation

QStandardItemModel* DtRtiSelectedNodeWidget::myItemModel
protected
QStandardItem* DtRtiSelectedNodeWidget::myLastParentItem
protected
QGridLayout* DtRtiSelectedNodeWidget::myLayout
protected
DtClickableLabel* DtRtiSelectedNodeWidget::myNodeIconLabel
protected
QLabel* DtRtiSelectedNodeWidget::myNodeIdLabel
protected
QToolBar* DtRtiSelectedNodeWidget::myToolbar
protected
QTreeView* DtRtiSelectedNodeWidget::myTreeView
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)