![]() |
NDEVR
API Documentation
|
A SelectionButtonFactory that creates surfacing action buttons in the selection context menu. More...
Public Member Functions | |
| virtual SurfaceSelectionButtonFactory * | clone () final override |
| Creates a clone of this factory. | |
| virtual Buffer< Button * > | getButtons (DesignWidget::PropertiesStruct props, const Buffer< DynamicPointer< QTDesignObject > > &selection) final override |
| Creates the surfacing buttons for the current selection. | |
| virtual UUID | id () const final override |
| Returns the unique identifier for this factory. | |
| virtual void | updateButtonStates (DesignWidget::PropertiesStruct props, const Buffer< DynamicPointer< QTDesignObject > > &selection) final override |
| Updates the enabled/visible states of surfacing buttons. | |
Protected Attributes | |
| Button * | m_button = nullptr |
| The surfacing action button. | |
| Buffer< DynamicPointer< QTDesignObject > > | m_selection |
| The current design object selection. | |
| GeometrySurfacingWidget * | m_widget = nullptr |
| The surfacing widget shown when button is clicked. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from SelectionButtonFactory | |
| static Buffer< SelectionButtonFactory * > | DefaultFactories () |
| Retrieves all registered default selection button factories. | |
| static void | RegisterDefault (SelectionButtonFactory *factory) |
| Registers a default selection button factory. | |
| Static Protected Attributes inherited from SelectionButtonFactory | |
| static Dictionary< UUID, SelectionButtonFactory * > | s_default_factories |
| Registered default factories. | |
A SelectionButtonFactory that creates surfacing action buttons in the selection context menu.
Definition at line 126 of file GeometrySurfacingWidget.h.
|
finaloverridevirtual |
Creates a clone of this factory.
Implements SelectionButtonFactory.
References clone().
Referenced by clone().
|
finaloverridevirtual |
Creates the surfacing buttons for the current selection.
| [in] | props | The current property display settings. |
| [in] | selection | The currently selected design objects. |
Implements SelectionButtonFactory.
References getButtons().
Referenced by getButtons().
|
finaloverridevirtual |
Returns the unique identifier for this factory.
Implements SelectionButtonFactory.
|
finaloverridevirtual |
Updates the enabled/visible states of surfacing buttons.
| [in] | props | The current property display settings. |
| [in] | selection | The currently selected design objects. |
Implements SelectionButtonFactory.
References updateButtonStates().
Referenced by updateButtonStates().