QElectroTech  0.8-dev
Classes
propertieseditordialog.h File Reference
#include <QDialog>
#include <QDialogButtonBox>
#include <QVBoxLayout>
#include <QAbstractButton>
Include dependency graph for propertieseditordialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PropertiesEditorDialog
 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...