|
| | CustomModelLogic (QTModelManager *manager, const Buffer< String > &type_names) |
| | Constructs a CustomModelLogic for multiple model type names.
|
| | CustomModelLogic (QTModelManager *manager, const StringView &type_name) |
| | Constructs a CustomModelLogic for a single model type name.
|
| virtual | ~CustomModelLogic () |
| | Destructor.
|
| virtual void | addMenuItems (Model &, QTModelManager *, QMenu &, const Buffer< UUID > &, const SelectionInfo &) |
| | Override to add custom context menu items when a model of this type is selected.
|
| virtual bool | canBeHandledBySelectionWidget () const |
| | Returns whether this model type can be handled by the generic selection widget.
|
| ContextMenuCallback * | contextMenuCallback () |
| | Returns the context menu callback for this model logic.
|
| CustomDesignObjectDialogSetupCallback * | dialogSetupCallback () |
| | Returns the dialog setup callback for this model logic.
|
| virtual void | executeMenuItems (Model &, QTModelManager *, QAction *, const Buffer< UUID > &, const SelectionInfo &, PopupInfo) |
| | Override to handle execution of custom context menu actions.
|
| NDVSetupCallback * | ndvFileReadLogic () |
| | Returns the NDV file read setup callback for this model logic.
|
| void | setSorter (const std::function< bool(const Model &a, const Model &b)> &sort_function) |
| | Sets a custom sorting function for models of this type.
|
| virtual void | setTreeWidgetsForSelection (const Model &, Buffer< QWidget * > &, SceneTree *) |
| | Override to provide custom tree widgets shown when the model is selected.
|
| virtual void | setupModel (Model &) |
| | Override to perform setup when a model of this type is read from an NDV file.
|
| virtual void | setupPropertiesDialog (DesignObjectDialog *, const DynamicPointer< QTDesignObject > &) |
| | Override to customize property dialogs when objects of this type are created.
|
| virtual void | setupUI (WindowManager *) |
| | Override to set up custom UI elements for this model type.
|
| CustomTreeWidgets * | treeWidgetCallback () |
| | Returns the tree widget callback for this model logic.
|
|
ContextMenuCallback * | m_custom_context_menu = nullptr |
| | Callback for custom context menu actions.
|
|
CustomDesignObjectDialogSetupCallback * | m_dialog_callback = nullptr |
| | Callback for customizing property dialogs.
|
|
UUID | m_id |
| | The unique identifier for this logic instance.
|
|
QTModelManager * | m_manager |
| | The model manager providing data context.
|
|
NDVSetupCallback * | m_ndv_setup_callback = nullptr |
| | Callback for NDV file read setup.
|
|
CustomModelSorter * | m_sorter = nullptr |
| | Custom sorting logic for the model type.
|
|
CustomTreeWidgets * | m_tree_button_menu = nullptr |
| | Callback for custom tree selection widgets.
|
|
Buffer< String > | m_type_names |
| | The model type names handled by this logic.
|
Logic for handling ModelTileGroup in the NDEVR space, including dialogs and imports.
SetEnabled enables all default ModelTileGroup logic.
Definition at line 10 of file ModelTileGroupModelLogic.h.