|
| qtComponentItem (const qtAttributeItemInfo &info) |
|
| qtReferenceItem (const qtAttributeItemInfo &info) |
|
void | markForDeletion () override |
| Indicates that the item should be deleted. More...
|
|
AcceptsTypes | acceptableTypes () const |
|
void | setLabelVisible (bool) override |
|
bool | setSelectionIconPaths (const std::string &selectedIconPath, const std::string &unselectedIconPath) |
| Set the paths (into qrc files or the local filesystem) of icons used to indicate which items are selected and which are not. More...
|
|
std::pair< std::string, std::string > | selectionIconPaths () const |
| Return the paths to icons used to display the membership in the item.
|
|
| qtItem (const qtAttributeItemInfo &info) |
|
smtk::attribute::ItemPtr | item () const |
|
template<typename ItemType > |
std::shared_ptr< ItemType > | itemAs () const |
|
qtUIManager * | uiManager () 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 QWidget * | lastEditor () const |
| Returns editor widget, used when setting tab order.
|
|
virtual void | updateTabOrder (QWidget *) |
| Sets previous widget for tabbing order.
|
|
|
enum | AcceptsTypes { NONE,
RESOURCES,
COMPONENTS,
BOTH
} |
|
void | updateItemData () override |
|
virtual void | updateItemData () |
| Tell the qtItem to update itself based on changes to its underlying attribute item.
|
|
void | widgetSizeChanged () |
| Signal indicates that the underlying widget's size has been modified.
|
|
void | modified (qtItem *item) |
| Signal indicates that the underlying item (or one that it owns) has been modified.
|
|
void | editingWidgetChanged () |
| Indicates editing widget changed. More...
|
|
enum | UpdateSource { UpdateSource::ITEM_FROM_GUI,
UpdateSource::GUI_FROM_ITEM
} |
| Indicate whether the GUI should be updated from the item it presents or vice versa. More...
|
|
void | removeObservers () |
|
virtual void | selectionLinkToggled (bool linked) |
|
virtual void | setOutputOptional (int state) |
|
void | popupClosing () |
| Called whenever the edit button's QMenu is about to hide. More...
|
|
virtual void | linkHover (bool link) |
| Link this item to the "hovered" selection bit. More...
|
|
virtual void | linkHoverTrue () |
|
virtual void | linkHoverFalse () |
|
virtual void | synchronizeAndHide (bool escaping=false) |
| Called when the user asks to close the popup. More...
|
|
virtual void | copyFromSelection () |
|
virtual void | copyToSelection () |
|
virtual void | clearItem () |
|
virtual void | sneakilyHideButtons () |
|
virtual void | cleverlyShowButtons () |
|
void | membershipChanged (int val) |
| Update our labels when the membership badge has changed.
|
|
virtual void | onAdvanceLevelChanged (int levelIdx) |
|
virtual void | onChildWidgetSizeChanged () |
|
virtual smtk::view::PhraseModelPtr | createPhraseModel () const |
| Subclasses override this to create a model of the appropriate type. More...
|
|
void | createWidget () override |
|
virtual void | clearWidgets () |
|
virtual void | updateUI () |
|
virtual std::string | synopsis (bool &membershipValid) const |
|
virtual void | updateSynopsisLabels () const |
|
bool | eventFilter (QObject *src, QEvent *event) override |
|
virtual void | toggleCurrentItem () |
| Called by eventFilter() when user hits space/enter in popup.
|
|
virtual bool | synchronize (UpdateSource src) |
| Children must implement this.
|
|
smtk::extension::qt::MembershipBadge::MemberMap & | members () const |
| retrieve membership from the phraseModel's badge
|
|
void | checkRemovedComponents (smtk::view::DescriptivePhrasePtr, smtk::view::PhraseModelEvent, const std::vector< int > &, const std::vector< int > &, const std::vector< int > &) |
|
virtual void | setLocalAdvanceLevel (unsigned int level) |
|
virtual void | addChildItem (qtItem *) |
|
virtual void | removeChildItem (qtItem *) |
|
virtual void | clearChildItems () |
|
QList< qtItem * > & | childItems () |
|
qtReferenceItemData * | m_p |
|
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 |
|