BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::EditorFactoryInterface Class Referenceabstract

Interface for custom editor factory. More...

Inheritance diagram for ModelView::EditorFactoryInterface:
[legend]

Public Member Functions

virtual ~EditorFactoryInterface ()=default
 
virtual std::unique_ptr< CustomEditorcreateEditor (const QModelIndex &index) const =0
 

Detailed Description

Interface for custom editor factory.

Intended for editor construction in cells of tables and trees in the context of delegate.

Definition at line 32 of file editorfactoryinterface.h.

Constructor & Destructor Documentation

◆ ~EditorFactoryInterface()

virtual ModelView::EditorFactoryInterface::~EditorFactoryInterface ( )
virtualdefault

Member Function Documentation

◆ createEditor()

virtual std::unique_ptr<CustomEditor> ModelView::EditorFactoryInterface::createEditor ( const QModelIndex &  index) const
pure virtual

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