Simulation Modeling Tool Kit
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
smtk::extension::qtInfixExpressionEditor Class Reference
Inheritance diagram for smtk::extension::qtInfixExpressionEditor:
Collaboration diagram for smtk::extension::qtInfixExpressionEditor:

Public Slots

void updateItemData () override
void onInputValueChanged (const QString &text, int elementIdx)
- Public Slots inherited from smtk::extension::qtItem
virtual void updateItemData ()
 Tell the qtItem to update itself based on changes to its underlying attribute item.

Public Member Functions

 qtInfixExpressionEditor (const qtAttributeItemInfo &info)
void setLabelVisible (bool) override
bool isFixedWidth () const override
- Public Member Functions inherited from smtk::extension::qtItem
 qtItem (const qtAttributeItemInfo &info)
smtk::attribute::ItemPtr item () const
template<typename ItemType >
std::shared_ptr< ItemType > itemAs () const
qtUIManageruiManager () const
smtk::attribute::ResourcePtr attributeResource () const
 Return the underlying Attribute Resource.
QPointer< QWidget > widget ()
QPointer< QWidget > parentWidget ()
bool isLeafItem ()
void showAdvanceLevelOverlay (bool)
bool useSelectionManager () const
void setReadOnly (bool mode)
bool isReadOnly () const
virtual void markForDeletion ()
 Indicates that the item should be deleted. More...
virtual QWidget * lastEditor () const
 Returns editor widget, used when setting tab order.
virtual void updateTabOrder (QWidget *)
 Sets previous widget for tabbing order.

Static Public Member Functions

static qtItemcreateItemWidget (const qtAttributeItemInfo &info)

Protected Member Functions

void createWidget () override
void loadInputValues ()
void clearChildWidgets ()
void addInputEditor (int i)
void updateUI ()
void updateExtensibleState ()
qtInfixExpressionEditorRowcreateInputWidget (int elementIdx)
- Protected Member Functions inherited from smtk::extension::qtItem
virtual void setLocalAdvanceLevel (unsigned int level)
virtual void addChildItem (qtItem *)
virtual void removeChildItem (qtItem *)
virtual void clearChildItems ()
QList< qtItem * > & childItems ()

Additional Inherited Members

- Signals inherited from smtk::extension::qtItem
void widgetSizeChanged ()
 Signal indicates that the underlying widget's size has been modified.
void modified ()
 Signal indicates that the underlying item has been modified.
void childModified (qtItem *item)
 Signal indicates that the child from the underlying item has been modified More...
void editingWidgetChanged ()
 Indicates editing widget changed. More...
- Protected Slots inherited from smtk::extension::qtItem
virtual void onAdvanceLevelChanged (int levelIdx)
virtual void onChildWidgetSizeChanged ()
- Protected Attributes inherited from smtk::extension::qtItem
QPointer< QWidget > m_widget
bool m_isLeafItem
bool m_useSelectionManager
bool m_readOnly
bool m_markedForDeletion
qtAttributeItemInfo m_itemInfo
QList< smtk::extension::qtItem * > m_childItems

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