Inherits AzToolsFramework::GenericButtonHandler.
Public Member Functions | |
void | SetValueFromDom (const AZ::Dom::Value &node) override |
virtual void | SetValueFromDom (const AZ::Dom::Value &node) |
Public Member Functions inherited from AzToolsFramework::PropertyHandlerWidget< QToolButton > | |
PropertyHandlerWidget (QWidget *parent=nullptr) | |
QWidget * | GetWidget () override |
Gets the widget that should be added to the DocumentPropertyEditor. | |
Public Member Functions inherited from AzToolsFramework::PropertyHandlerWidgetInterface | |
virtual QWidget * | GetWidget ()=0 |
Gets the widget that should be added to the DocumentPropertyEditor. | |
virtual void | SetValueFromDom (const AZ::Dom::Value &node)=0 |
virtual void | PrepareWidgetForReuse () |
Resets the widget's attributes for reuse. | |
virtual QWidget * | GetFirstInTabOrder () |
virtual QWidget * | GetLastInTabOrder () |
Static Public Member Functions | |
static constexpr const AZStd::string_view | GetHandlerName () |
Static Public Member Functions inherited from AzToolsFramework::GenericButtonHandler | |
static constexpr const AZStd::string_view | GetHandlerName () |
Static Public Member Functions inherited from AzToolsFramework::PropertyHandlerWidgetInterface | |
static bool | ShouldHandleType (const AZ::TypeId &typeId) |
static constexpr const AZStd::string_view | GetHandlerName () |
static constexpr bool | IsDefaultHandler () |
Protected Member Functions | |
void | OnClicked () override |
virtual void | OnClicked () |
Protected Attributes | |
AZ::DocumentPropertyEditor::Nodes::ContainerAction | m_action |
Protected Attributes inherited from AzToolsFramework::GenericButtonHandler | |
AZ::Dom::Value | m_node |
|
overrideprotectedvirtual |
Reimplemented from AzToolsFramework::GenericButtonHandler.
|
overridevirtual |
Sets up the widget provided by GetWidget to reflect the values provided by a given DOM node. This should consume both the property value (if applicable) and any attributes, including OnChange.
Reimplemented from AzToolsFramework::GenericButtonHandler.