QElectroTech 0.100.0-dev
|
#include <diagramcontextwidget.h>
Inherits QWidget.
Public Slots | |
void | clear () |
DiagramContextWidget::clear Clear any values entered within this widget. | |
int | highlightNonAcceptableKeys () |
DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object. | |
void | refreshFormatLabel () |
DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs. | |
Public Member Functions | |
DiagramContextWidget (QWidget *parent=nullptr) | |
~DiagramContextWidget () | |
DiagramContext | context () const |
DiagramContextWidget::context. | |
void | setContext (const DiagramContext &context) |
DiagramContextWidget::setContext Load the content from context into this widget. | |
int | nameLessRowsCount () const |
DiagramContextWidget::nameLessRowsCount. | |
Private Slots | |
void | checkTableRows () |
DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed. | |
Private Attributes | |
Ui::DiagramContextWidget * | ui |
|
explicit |
DiagramContextWidget::~DiagramContextWidget | ( | ) |
|
privateslot |
DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed.
|
slot |
DiagramContextWidget::clear Clear any values entered within this widget.
DiagramContext DiagramContextWidget::context | ( | ) | const |
DiagramContextWidget::context.
|
slot |
DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object.
int DiagramContextWidget::nameLessRowsCount | ( | ) | const |
DiagramContextWidget::nameLessRowsCount.
|
slot |
DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs.
void DiagramContextWidget::setContext | ( | const DiagramContext & | context | ) |
DiagramContextWidget::setContext Load the content from context into this widget.
context |
|
private |