QElectroTech
0.8-dev
|
The XRefPropertiesWidget class This class provide a widget to edit the XRefProperties. More...
#include <xrefpropertieswidget.h>
Inherits QWidget.
Public Member Functions | |
XRefPropertiesWidget (QHash< QString, XRefProperties > properties=QHash< QString, XRefProperties >(), QWidget *parent=nullptr) | |
XRefPropertiesWidget::XRefPropertiesWidget Default constructor. More... | |
~XRefPropertiesWidget () override | |
XRefPropertiesWidget::~XRefPropertiesWidget Default destructor. More... | |
void | setProperties (const QHash< QString, XRefProperties > &properties) |
XRefPropertiesWidget::setProperties set new properties for this widget. More... | |
QHash< QString, XRefProperties > | properties () |
XRefPropertiesWidget::properties. More... | |
void | setReadOnly (bool=true) |
XRefPropertiesWidget::setReadOnly Set all of this widget disable if true. More... | |
Private Slots | |
void | updateDisplay () |
XRefPropertiesWidget::updateDisplay Update display with the curent displayed type. More... | |
void | typeChanged () |
XRefPropertiesWidget::typeChanged manage the save of the current properties, when the combo box of type change. More... | |
void | enableOffsetSB (int i) |
XRefPropertiesWidget::enableOffsetSB Enable Offset SB only if Snap to Footer is selected. More... | |
Private Member Functions | |
void | buildUi () |
XRefPropertiesWidget::buildUi Build some widget of this ui. More... | |
void | saveProperties (int index) |
XRefPropertiesWidget::saveProperties Save the properties of the type define at index of the combo box m_type_cb. More... | |
Private Attributes | |
Ui::XRefPropertiesWidget * | ui |
QHash< QString, XRefProperties > | m_properties |
int | m_previous_type_index |
The XRefPropertiesWidget class This class provide a widget to edit the XRefProperties.
XRefPropertiesWidget::XRefPropertiesWidget | ( | QHash< QString, XRefProperties > | properties = QHash <QString, XRefProperties>() , |
QWidget * | parent = nullptr |
||
) |
XRefPropertiesWidget::XRefPropertiesWidget Default constructor.
properties | properties to use |
parent | parent widget |
|
override |
XRefPropertiesWidget::~XRefPropertiesWidget Default destructor.
|
private |
XRefPropertiesWidget::buildUi Build some widget of this ui.
|
privateslot |
XRefPropertiesWidget::enableOffsetSB Enable Offset SB only if Snap to Footer is selected.
QHash< QString, XRefProperties > XRefPropertiesWidget::properties | ( | ) |
XRefPropertiesWidget::properties.
|
private |
XRefPropertiesWidget::saveProperties Save the properties of the type define at index of the combo box m_type_cb.
index |
void XRefPropertiesWidget::setProperties | ( | const QHash< QString, XRefProperties > & | properties | ) |
XRefPropertiesWidget::setProperties set new properties for this widget.
properties |
void XRefPropertiesWidget::setReadOnly | ( | bool | ro = true | ) |
XRefPropertiesWidget::setReadOnly Set all of this widget disable if true.
ro |
|
privateslot |
XRefPropertiesWidget::typeChanged manage the save of the current properties, when the combo box of type change.
|
privateslot |
XRefPropertiesWidget::updateDisplay Update display with the curent displayed type.
|
private |
|
private |
|
private |