QElectroTech  0.70
Public Member Functions | Protected Attributes | List of all members
AbstractElementPropertiesEditorWidget Class Referenceabstract

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< Elementm_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 ()
 

Detailed Description

The AbstractElementPropertiesEditorWidget class This class provide common method for all widget used to edit some properties of an element.

Definition at line 30 of file abstractelementpropertieseditorwidget.h.

Constructor & Destructor Documentation

◆ AbstractElementPropertiesEditorWidget()

AbstractElementPropertiesEditorWidget::AbstractElementPropertiesEditorWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 20 of file abstractelementpropertieseditorwidget.cpp.

Member Function Documentation

◆ setElement()

virtual void AbstractElementPropertiesEditorWidget::setElement ( Element element)
pure virtual

Member Data Documentation

◆ m_element

QPointer<Element> AbstractElementPropertiesEditorWidget::m_element
protected

Definition at line 38 of file abstractelementpropertieseditorwidget.h.

Referenced by ElementPropertiesWidget::apply(), DynamicElementTextItemEditor::apply(), ElementInfoWidget::apply(), LinkSingleElementWidget::apply(), MasterPropertiesWidget::apply(), DynamicElementTextItemEditor::associatedUndo(), ElementInfoWidget::associatedUndo(), LinkSingleElementWidget::associatedUndo(), MasterPropertiesWidget::associatedUndo(), LinkSingleElementWidget::availableElements(), LinkSingleElementWidget::buildTree(), ElementPropertiesWidget::editElement(), ElementInfoWidget::elementInfoChange(), ElementPropertiesWidget::findInPanel(), ElementPropertiesWidget::generalWidget(), LinkSingleElementWidget::LinkSingleElementWidget(), MasterPropertiesWidget::MasterPropertiesWidget(), DynamicElementTextItemEditor::on_m_add_group_clicked(), DynamicElementTextItemEditor::on_m_add_text_clicked(), DynamicElementTextItemEditor::on_m_export_pb_clicked(), DynamicElementTextItemEditor::on_m_import_pb_clicked(), DynamicElementTextItemEditor::on_m_remove_selection_clicked(), LinkSingleElementWidget::on_m_show_linked_pb_clicked(), ElementPropertiesWidget::setElement(), DynamicElementTextItemEditor::setElement(), ElementInfoWidget::setElement(), LinkSingleElementWidget::setElement(), MasterPropertiesWidget::setElement(), LinkSingleElementWidget::setUpHeaderLabels(), MasterPropertiesWidget::showElementFromTWI(), LinkSingleElementWidget::title(), ElementInfoWidget::updateUi(), ElementPropertiesWidget::updateUi(), LinkSingleElementWidget::updateUi(), MasterPropertiesWidget::updateUi(), LinkSingleElementWidget::~LinkSingleElementWidget(), and MasterPropertiesWidget::~MasterPropertiesWidget().


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