QElectroTech
0.70
|
The PropertiesEditorDialog class Create a dialog to edit some properties of a thing. Only create a instance of this class and call exec, all is done for you in this class. The first argument (a template) must be a subclass of QWidget and provide the 3 methods bellow : QString::title() void::apply() void::reset() You can subclass the interface PropertiesEditorWidget who provide all this methods. This dialog take ownership of the editor, so the editor will be deleted by this dialog. More...
#include <propertieseditordialog.h>
Public Member Functions | |
template<typename T > | |
PropertiesEditorDialog (T editor, QWidget *parent=nullptr) | |
The PropertiesEditorDialog class Create a dialog to edit some properties of a thing. Only create a instance of this class and call exec, all is done for you in this class. The first argument (a template) must be a subclass of QWidget and provide the 3 methods bellow : QString::title() void::apply() void::reset() You can subclass the interface PropertiesEditorWidget who provide all this methods. This dialog take ownership of the editor, so the editor will be deleted by this dialog.
Definition at line 37 of file propertieseditordialog.h.
|
inline |
Definition at line 42 of file propertieseditordialog.h.
References QET::Icons::Cancel.