API Documentation
Loading...
Searching...
No Matches
CustomModelLogic Class Reference

#include <CustomModelLogic.h>

Collaboration diagram for CustomModelLogic:
[legend]

Public Member Functions

virtual NDEVR_API void registerAll (QTModelManager *manager)
 
virtual NDEVR_API UUID id () const
 
NDEVR_API const StringtypeName () const
 

Protected Member Functions

virtual void addMenuItems (Model &, QTModelManager *, QMenu &, const Buffer< UUID > &, const SelectionInfo &)
 
virtual void executeMenuItems (Model &, QTModelManager *, QAction *, const Buffer< UUID > &, const SelectionInfo &, PopupInfo)
 
virtual void setupPropertiesDialog (DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)
 
virtual void setupModel (Model &)
 
virtual void setTreeWidgetsForSelection (const Model &, Buffer< QWidget * > &, SceneTree *)
 
NDEVR_API CustomModelLogic (const String &type_name)
 
NDEVR_API CustomTreeWidgetstreeWidgetCallback ()
 
NDEVR_API ContextMenuCallbackcontextMenuCallback ()
 
NDEVR_API std::function< void(Model &)> ndvFileReadLogic ()
 

Protected Attributes

CustomTreeWidgetsm_tree_button_menu = nullptr
 
ContextMenuCallbackm_custom_context_menu = nullptr
 
String m_type_name
 

Friends

class CustomModelContextMenu
 
class CustomModelTreeWidgets
 

Constructor & Destructor Documentation

◆ CustomModelLogic()

CustomModelLogic ( const String & type_name)
protected

Member Function Documentation

◆ addMenuItems()

virtual void addMenuItems ( Model & ,
QTModelManager * ,
QMenu & ,
const Buffer< UUID > & ,
const SelectionInfo &  )
inlineprotectedvirtual

◆ contextMenuCallback()

ContextMenuCallback * contextMenuCallback ( )
protected

◆ executeMenuItems()

virtual void executeMenuItems ( Model & ,
QTModelManager * ,
QAction * ,
const Buffer< UUID > & ,
const SelectionInfo & ,
PopupInfo  )
inlineprotectedvirtual

◆ id()

UUID id ( ) const
virtual

◆ ndvFileReadLogic()

std::function< void(Model &)> ndvFileReadLogic ( )
protected

◆ registerAll()

void registerAll ( QTModelManager * manager)
virtual

◆ setTreeWidgetsForSelection()

virtual void setTreeWidgetsForSelection ( const Model & ,
Buffer< QWidget * > & ,
SceneTree *  )
inlineprotectedvirtual

◆ setupModel()

virtual void setupModel ( Model & )
inlineprotectedvirtual

◆ setupPropertiesDialog()

virtual void setupPropertiesDialog ( DesignObjectDialog * ,
const DynamicPointer< QTDesignObject > &  )
inlineprotectedvirtual

◆ treeWidgetCallback()

CustomTreeWidgets * treeWidgetCallback ( )
protected

◆ typeName()

const String & typeName ( ) const

Friends And Related Symbol Documentation

◆ CustomModelContextMenu

friend class CustomModelContextMenu
friend

◆ CustomModelTreeWidgets

friend class CustomModelTreeWidgets
friend

Member Data Documentation

◆ m_custom_context_menu

ContextMenuCallback* m_custom_context_menu = nullptr
protected

◆ m_tree_button_menu

CustomTreeWidgets* m_tree_button_menu = nullptr
protected

◆ m_type_name

String m_type_name
protected

The documentation for this class was generated from the following files: