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

#include <DesignObjectDialog.h>

Collaboration diagram for DesignObjectDialogFactory:
[legend]

Public Member Functions

void setupDialog (const String &type_name, const DynamicPointer< QTDesignObject > &object, DesignObjectDialog *dialog)
 
void addSetupCallback (const String &type, const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> &callback)
 
void addSetupCallback (const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> &callback)
 

Static Public Member Functions

static DesignObjectDialogFactoryDefaultInstance ()
 

Public Attributes

Dictionary< String, Buffer< std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> > > creation_callbacks
 
Buffer< std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> > generic_creation_callbacks
 

Protected Member Functions

 DesignObjectDialogFactory ()
 

Constructor & Destructor Documentation

◆ DesignObjectDialogFactory()

DesignObjectDialogFactory ( )
inlineprotected

Member Function Documentation

◆ addSetupCallback() [1/2]

void addSetupCallback ( const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> & callback)

◆ addSetupCallback() [2/2]

void addSetupCallback ( const String & type,
const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> & callback )

◆ DefaultInstance()

static DesignObjectDialogFactory & DefaultInstance ( )
inlinestatic

◆ setupDialog()

void setupDialog ( const String & type_name,
const DynamicPointer< QTDesignObject > & object,
DesignObjectDialog * dialog )

Member Data Documentation

◆ creation_callbacks

Dictionary<String, Buffer<std::function<void(DesignObjectDialog*, const DynamicPointer<QTDesignObject>&)> > > creation_callbacks

◆ generic_creation_callbacks

Buffer<std::function<void(DesignObjectDialog*, const DynamicPointer<QTDesignObject>&)> > generic_creation_callbacks

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