API Documentation
|
An easy interface for adding common SoftwareInterfaces relating to a Model to the program logic. Can be used to easily change program behavior for a particular Model. More...
#include <CustomModelLogic.h>
Public Member Functions | |
virtual UUID | id () const |
virtual void | registerAll (QTModelManager *manager) |
const String & | typeName () const |
Protected Member Functions | |
virtual void | addMenuItems (Model &, QTModelManager *, QMenu &, const Buffer< UUID > &, const SelectionInfo &) |
ContextMenuCallback * | contextMenuCallback () |
CustomModelLogic (const String &type_name) | |
virtual void | executeMenuItems (Model &, QTModelManager *, QAction *, const Buffer< UUID > &, const SelectionInfo &, PopupInfo) |
std::function< void(Model &)> | ndvFileReadLogic () |
virtual void | setTreeWidgetsForSelection (const Model &, Buffer< QWidget * > &, SceneTree *) |
virtual void | setupModel (Model &) |
virtual void | setupPropertiesDialog (DesignObjectDialog *, const DynamicPointer< QTDesignObject > &) |
CustomTreeWidgets * | treeWidgetCallback () |
Protected Attributes | |
ContextMenuCallback * | m_custom_context_menu = nullptr |
CustomTreeWidgets * | m_tree_button_menu = nullptr |
String | m_type_name |
Friends | |
class | CustomModelContextMenu |
class | CustomModelTreeWidgets |
An easy interface for adding common SoftwareInterfaces relating to a Model to the program logic. Can be used to easily change program behavior for a particular Model.
|
protected |
|
inlineprotectedvirtual |
|
protected |
|
inlineprotectedvirtual |
|
virtual |
|
protected |
|
virtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protected |
const String & typeName | ( | ) | const |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |