QElectroTech  0.70
Public Member Functions | List of all members
PropertiesEditorDialog Class Reference

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PropertiesEditorDialog()

template<typename T >
PropertiesEditorDialog::PropertiesEditorDialog ( editor,
QWidget *  parent = nullptr 
)
inline

Definition at line 42 of file propertieseditordialog.h.

References QET::Icons::Cancel.


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