QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ElementPropertiesEditorWidget Class Reference

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.

Collaboration diagram for ElementPropertiesEditorWidget:
Collaboration graph

Public Member Functions

 ElementPropertiesEditorWidget (ElementData data, QWidget *parent=nullptr)
 ElementPropertiesEditorWidget::ElementPropertiesEditorWidget.
 
 ~ElementPropertiesEditorWidget () override
 ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget Default destructor.
 
ElementData editedData ()
 

Private Slots

void on_m_buttonBox_accepted ()
 ElementPropertiesEditorWidget::on_m_buttonBox_accepted Action on button accepted : the new information is set.
 
void on_m_base_type_cb_currentIndexChanged (int index)
 ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged.
 

Private Member Functions

void upDateInterface ()
 ElementPropertiesEditorWidget::upDateInterface Update the interface with the current value.
 
void setUpInterface ()
 ElementPropertiesEditorWidget::setUpInterface.
 
void updateTree ()
 
void populateTree ()
 ElementPropertiesEditorWidget::populateTree Create QTreeWidgetItem of the tree widget and populate it.
 

Private Attributes

Ui::ElementPropertiesEditorWidget * ui
 
ElementData m_data
 

Detailed Description

The ElementPropertiesEditorWidget class This class provide a dialog for edit various property of element, like the type (master, slave, report etc....) and kind info.

Constructor & Destructor Documentation

◆ ElementPropertiesEditorWidget()

ElementPropertiesEditorWidget::ElementPropertiesEditorWidget ( ElementData  data,
QWidget *  parent = nullptr 
)
explicit

ElementPropertiesEditorWidget::ElementPropertiesEditorWidget.

Parameters
data
parent
Here is the call graph for this function:

◆ ~ElementPropertiesEditorWidget()

ElementPropertiesEditorWidget::~ElementPropertiesEditorWidget ( )
override

Member Function Documentation

◆ editedData()

ElementData ElementPropertiesEditorWidget::editedData ( )
inline
Here is the caller graph for this function:

◆ on_m_base_type_cb_currentIndexChanged

void ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged ( int  index)
privateslot

ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged.

Parameters
index: Action when combo-box base type index change
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_buttonBox_accepted

void ElementPropertiesEditorWidget::on_m_buttonBox_accepted ( )
privateslot

ElementPropertiesEditorWidget::on_m_buttonBox_accepted Action on button accepted : the new information is set.

Here is the call graph for this function:

◆ populateTree()

void ElementPropertiesEditorWidget::populateTree ( )
private

ElementPropertiesEditorWidget::populateTree Create QTreeWidgetItem of the tree widget and populate it.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUpInterface()

void ElementPropertiesEditorWidget::setUpInterface ( )
private

ElementPropertiesEditorWidget::setUpInterface.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ upDateInterface()

void ElementPropertiesEditorWidget::upDateInterface ( )
private

ElementPropertiesEditorWidget::upDateInterface Update the interface with the current value.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateTree()

void ElementPropertiesEditorWidget::updateTree ( )
private
Here is the caller graph for this function:

Member Data Documentation

◆ m_data

ElementData ElementPropertiesEditorWidget::m_data
private

◆ ui

Ui::ElementPropertiesEditorWidget* ElementPropertiesEditorWidget::ui
private

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