QElectroTech
0.8-dev
|
The AbstractElementPropertiesEditorWidget class This class provide common method for all widget used to edit some properties of an element. More...
#include <abstractelementpropertieseditorwidget.h>
Public Member Functions | |
AbstractElementPropertiesEditorWidget (QWidget *parent=nullptr) | |
virtual void | setElement (Element *element)=0 |
Public Member Functions inherited from PropertiesEditorWidget | |
PropertiesEditorWidget (QWidget *parent=nullptr) | |
PropertiesEditorWidget::PropertiesEditorWidget Constructor. More... | |
virtual void | apply () |
virtual void | reset () |
virtual QUndoCommand * | associatedUndo () const |
PropertiesEditorWidget::associatedUndo By default, return a nullptr. More... | |
virtual QString | title () const |
PropertiesEditorWidget::title. More... | |
virtual void | updateUi () |
virtual bool | setLiveEdit (bool live_edit) |
PropertiesEditorWidget::setLiveEdit Set the editor in live edit mode. When an editor is in live edit mode, every change is applied immediately (no need to call apply). If live edit can be enable, return true, else false. By default this method do nothing and return false (live edit is disable). Herited class of PropertiesEditorWidget must reimplemente this methode to manage the live edit mode. More... | |
bool | isLiveEdit () const |
PropertiesEditorWidget::isLiveEdit. More... | |
Protected Attributes | |
QPointer< Element > | m_element |
Protected Attributes inherited from PropertiesEditorWidget | |
bool | m_live_edit |
Additional Inherited Members | |
Protected Member Functions inherited from PropertiesEditorWidget | |
virtual void | enableLiveEdit () |
virtual void | disableLiveEdit () |
The AbstractElementPropertiesEditorWidget class This class provide common method for all widget used to edit some properties of an element.
|
explicit |
|
pure virtual |
Implemented in MasterPropertiesWidget, LinkSingleElementWidget, ElementInfoWidget, DynamicElementTextItemEditor, and ElementPropertiesWidget.
|
protected |