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


class  qtDateTimeItemInternals

Public Slots

void setOutputOptional (int)
void updateItemData () override
- 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

 qtDateTimeItem (const qtAttributeItemInfo &info)
void setLabelVisible (bool) override
bool eventFilter (QObject *filterObj, QEvent *ev) 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 ()
virtual bool isFixedWidth () const
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 Slots

void onChildWidgetSizeChanged () override
void onDateTimeChanged (const QDateTime &newValue)
void onTimeZoneUnset ()
void onTimeZoneUTC ()
void onTimeZoneRegion ()
void onRegionSelected ()
- Protected Slots inherited from smtk::extension::qtItem
virtual void onAdvanceLevelChanged (int levelIdx)
virtual void onChildWidgetSizeChanged ()

Protected Member Functions

void createWidget () override
QWidget * createDateTimeWidget (int elementIdx)
virtual void loadInputValues ()
virtual void updateUI ()
virtual void addInputEditor (int i)
virtual void clearChildWidgets ()
void updateBackground (QDateTimeEdit *dtEdit, bool valid)
void updateTimeZoneMenu (QAction *selectedAction=nullptr)
void setTimeZone (std::size_t element, const QString &region)
void setTimeZoneToUTC (std::size_t element)
- 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 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: