QElectroTech
0.70
|
The BorderPropertiesWidget class this widget edit the properties of a border. More...
#include <borderpropertieswidget.h>
Public Member Functions | |
BorderPropertiesWidget (const BorderProperties &bp, QWidget *parent=nullptr) | |
BorderPropertiesWidget::BorderPropertiesWidget default constructor. More... | |
~BorderPropertiesWidget () override | |
BorderPropertiesWidget::~BorderPropertiesWidget default destructor. More... | |
void | setProperties (const BorderProperties &bp) |
BorderPropertiesWidget::setProperties Set the current properties to edit. More... | |
const BorderProperties & | properties () |
BorderPropertiesWidget::properties. More... | |
void | setReadOnly (const bool &ro) |
BorderPropertiesWidget::setReadOnly Enable or disable this widget. More... | |
Private Attributes | |
Ui::BorderPropertiesWidget * | ui |
BorderProperties | m_properties |
The BorderPropertiesWidget class this widget edit the properties of a border.
Definition at line 32 of file borderpropertieswidget.h.
|
explicit |
BorderPropertiesWidget::BorderPropertiesWidget default constructor.
bp | properties |
parent | paretn widget |
Definition at line 28 of file borderpropertieswidget.cpp.
References setProperties(), and ui.
|
override |
BorderPropertiesWidget::~BorderPropertiesWidget default destructor.
Definition at line 40 of file borderpropertieswidget.cpp.
References ui.
const BorderProperties & BorderPropertiesWidget::properties | ( | ) |
BorderPropertiesWidget::properties.
Definition at line 64 of file borderpropertieswidget.cpp.
References BorderProperties::columns_count, BorderProperties::columns_width, BorderProperties::display_columns, BorderProperties::display_rows, m_properties, BorderProperties::rows_count, BorderProperties::rows_height, and ui.
void BorderPropertiesWidget::setProperties | ( | const BorderProperties & | bp | ) |
BorderPropertiesWidget::setProperties Set the current properties to edit.
bp | properties to edit |
Definition at line 50 of file borderpropertieswidget.cpp.
References BorderProperties::columns_count, BorderProperties::columns_width, BorderProperties::display_columns, BorderProperties::display_rows, m_properties, BorderProperties::rows_count, BorderProperties::rows_height, and ui.
Referenced by BorderPropertiesWidget().
void BorderPropertiesWidget::setReadOnly | ( | const bool & | ro | ) |
BorderPropertiesWidget::setReadOnly Enable or disable this widget.
ro | true-disable / false-enable |
Definition at line 79 of file borderpropertieswidget.cpp.
References QET::Icons::ro, and ui.
|
private |
Definition at line 48 of file borderpropertieswidget.h.
Referenced by properties(), and setProperties().
|
private |
Definition at line 47 of file borderpropertieswidget.h.
Referenced by BorderPropertiesWidget(), properties(), setProperties(), setReadOnly(), and ~BorderPropertiesWidget().