QElectroTech
0.8-dev
|
The PropertiesEditorWidget class This class extend QWidget method for have common way to edit propertie. More...
#include <propertieseditorwidget.h>
Public Member Functions | |
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 Member Functions | |
virtual void | enableLiveEdit () |
virtual void | disableLiveEdit () |
Protected Attributes | |
bool | m_live_edit |
The PropertiesEditorWidget class This class extend QWidget method for have common way to edit propertie.
|
explicit |
PropertiesEditorWidget::PropertiesEditorWidget Constructor.
parent | : parent widget |
|
inlinevirtual |
Reimplemented in MasterPropertiesWidget, LinkSingleElementWidget, ElementInfoWidget, GraphicsTablePropertiesEditor, DynamicElementTextItemEditor, IndiTextPropertiesWidget, ElementPropertiesWidget, and ImagePropertiesWidget.
|
virtual |
PropertiesEditorWidget::associatedUndo By default, return a nullptr.
Reimplemented in MasterPropertiesWidget, LinkSingleElementWidget, ElementInfoWidget, ShapeGraphicsItemPropertiesWidget, GraphicsTablePropertiesEditor, DynamicElementTextItemEditor, IndiTextPropertiesWidget, and ImagePropertiesWidget.
|
inlineprotectedvirtual |
Reimplemented in ElementInfoWidget.
|
inlineprotectedvirtual |
Reimplemented in ElementInfoWidget.
bool PropertiesEditorWidget::isLiveEdit | ( | ) | const |
PropertiesEditorWidget::isLiveEdit.
|
inlinevirtual |
Reimplemented in MasterPropertiesWidget, ElementPropertiesWidget, and ImagePropertiesWidget.
|
virtual |
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.
live_edit | true to enable live edit |
Reimplemented in MasterPropertiesWidget, LinkSingleElementWidget, ShapeGraphicsItemPropertiesWidget, ElementInfoWidget, GraphicsTablePropertiesEditor, IndiTextPropertiesWidget, DynamicElementTextItemEditor, ElementPropertiesWidget, and ImagePropertiesWidget.
|
virtual |
PropertiesEditorWidget::title.
Reimplemented in MasterPropertiesWidget, LinkSingleElementWidget, ElementInfoWidget, ShapeGraphicsItemPropertiesWidget, and DynamicElementTextItemEditor.
|
inlinevirtual |
Reimplemented in IndiTextPropertiesWidget, ElementInfoWidget, ElementPropertiesWidget, ShapeGraphicsItemPropertiesWidget, and ImagePropertiesWidget.
|
protected |