QElectroTech
0.8-dev
|
The ElementPropertiesEditorWidget class This class provide a dialog for edit various property of element, like the type (master, slave, report etc....) and kind info. More...
#include <elementpropertieseditorwidget.h>
Inherits QDialog.
Public Member Functions | |
ElementPropertiesEditorWidget (QString &basic_type, DiagramContext &kind_info, DiagramContext &elmt_info, QWidget *parent=nullptr) | |
ElementPropertiesEditorWidget::ElementPropertiesEditorWidget Default constructor. More... | |
~ElementPropertiesEditorWidget () override | |
ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget Default destructor. More... | |
void | upDateInterface () |
ElementPropertiesEditorWidget::upDateInterface Update the interface with the curent value. More... | |
Private Slots | |
void | on_m_buttonBox_accepted () |
ElementPropertiesEditorWidget::on_m_buttonBox_accepted Action on button accepted : the new information is set. More... | |
void | on_m_base_type_cb_currentIndexChanged (int index) |
ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged. More... | |
Private Member Functions | |
void | setUpInterface () |
ElementPropertiesEditorWidget::setUpInterface. More... | |
void | updateTree () |
void | populateTree () |
ElementPropertiesEditorWidget::populateTree Create QTreeWidgetItem of the tree widget and populate it. More... | |
Private Attributes | |
Ui::ElementPropertiesEditorWidget * | ui |
QString & | m_basic_type |
DiagramContext & | m_kind_info |
DiagramContext & | m_elmt_info |
The ElementPropertiesEditorWidget class This class provide a dialog for edit various property of element, like the type (master, slave, report etc....) and kind info.
|
explicit |
ElementPropertiesEditorWidget::ElementPropertiesEditorWidget Default constructor.
basic_type | : QString of the drawed element |
kind_info | : DiagramContext to store kindInfo of drawed element |
elmt_info | : the information of element (label, manufacturer etc...] |
parent | : parent widget |
|
override |
ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget Default destructor.
|
privateslot |
ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged.
index | : Action when combo-box base type index change |
|
privateslot |
ElementPropertiesEditorWidget::on_m_buttonBox_accepted Action on button accepted : the new information is set.
|
private |
ElementPropertiesEditorWidget::populateTree Create QTreeWidgetItem of the tree widget and populate it.
|
private |
ElementPropertiesEditorWidget::setUpInterface.
void ElementPropertiesEditorWidget::upDateInterface | ( | ) |
ElementPropertiesEditorWidget::upDateInterface Update the interface with the curent value.
|
private |
|
private |
|
private |
|
private |
|
private |