The CustomElementInfoPartWidget class A single row letting the user define their own element information key/value pair, unlike ElementInfoPartWidget which is bound to one predefined key. The key is validated against DiagramContext::isKeyAcceptable() as the user types.
More...
#include <customelementinfopartwidget.h>
Inherits QWidget.
The CustomElementInfoPartWidget class A single row letting the user define their own element information key/value pair, unlike ElementInfoPartWidget which is bound to one predefined key. The key is validated against DiagramContext::isKeyAcceptable() as the user types.
◆ CustomElementInfoPartWidget()
| CustomElementInfoPartWidget::CustomElementInfoPartWidget |
( |
const QString & | key = QString(), |
|
|
const QString & | value = QString(), |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
◆ ~CustomElementInfoPartWidget()
| CustomElementInfoPartWidget::~CustomElementInfoPartWidget |
( |
| ) |
|
|
override |
◆ changed
| void CustomElementInfoPartWidget::changed |
( |
| ) |
|
|
signal |
◆ hasValidKey()
| bool CustomElementInfoPartWidget::hasValidKey |
( |
| ) |
const |
◆ key()
| QString CustomElementInfoPartWidget::key |
( |
| ) |
const |
- Returns
- the key name currently typed in this row
◆ removeRequested
◆ validateKey
| void CustomElementInfoPartWidget::validateKey |
( |
| ) |
|
|
privateslot |
◆ value()
| QString CustomElementInfoPartWidget::value |
( |
| ) |
const |
- Returns
- the value currently typed in this row
◆ m_key_edit
| QLineEdit* CustomElementInfoPartWidget::m_key_edit |
|
private |
◆ m_remove_button
| QToolButton* CustomElementInfoPartWidget::m_remove_button |
|
private |
◆ m_value_edit
| QLineEdit* CustomElementInfoPartWidget::m_value_edit |
|
private |
The documentation for this class was generated from the following files: