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.
|
Constructor & Destructor Documentation
| DtRtiSelectedNodeWidget::DtRtiSelectedNodeWidget |
( |
QWidget * |
parent | ) |
|
| virtual DtRtiSelectedNodeWidget::~DtRtiSelectedNodeWidget |
( |
| ) |
|
|
virtual |
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 |
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 |
| QLabel* DtRtiSelectedNodeWidget::myNodeIdLabel |
|
protected |
| QToolBar* DtRtiSelectedNodeWidget::myToolbar |
|
protected |
| QTreeView* DtRtiSelectedNodeWidget::myTreeView |
|
protected |
The documentation for this class was generated from the following file: