![]() |
API Documentation
|
Allows extended functionality to DesignObjectDialogs by adding callbacks that can be used primarily to add tabs to the dialog. More...
#include <DesignObjectDialog.h>
Public Member Functions | |
| void | addSetupCallback (const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> &callback) |
| void | addSetupCallback (const String &type, const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> &callback) |
| void | setupDialog (const String &type_name, const DynamicPointer< QTDesignObject > &object, DesignObjectDialog *dialog) |
Static Public Member Functions | |
| static DesignObjectDialogFactory & | DefaultInstance () |
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 () | |
Allows extended functionality to DesignObjectDialogs by adding callbacks that can be used primarily to add tabs to the dialog.
|
inlineprotected |
| void addSetupCallback | ( | const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> & | callback | ) |
| void addSetupCallback | ( | const String & | type, |
| const std::function< void(DesignObjectDialog *, const DynamicPointer< QTDesignObject > &)> & | callback ) |
|
static |
| void setupDialog | ( | const String & | type_name, |
| const DynamicPointer< QTDesignObject > & | object, | ||
| DesignObjectDialog * | dialog ) |
| Dictionary<String, Buffer<std::function<void(DesignObjectDialog*, const DynamicPointer<QTDesignObject>&)> > > creation_callbacks |
| Buffer<std::function<void(DesignObjectDialog*, const DynamicPointer<QTDesignObject>&)> > generic_creation_callbacks |