QElectroTech
0.70
|
#include <diagramcontextwidget.h>
Public Slots | |
void | clear () |
DiagramContextWidget::clear Clear any values entered within this widget. More... | |
int | highlightNonAcceptableKeys () |
DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object. More... | |
void | refreshFormatLabel () |
DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs. More... | |
Public Member Functions | |
DiagramContextWidget (QWidget *parent=nullptr) | |
~DiagramContextWidget () | |
DiagramContext | context () const |
DiagramContextWidget::context. More... | |
void | setContext (const DiagramContext &context) |
DiagramContextWidget::setContext Load the content from into this widget. More... | |
int | nameLessRowsCount () const |
DiagramContextWidget::nameLessRowsCount. More... | |
Private Slots | |
void | checkTableRows () |
DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed. More... | |
Private Attributes | |
Ui::DiagramContextWidget * | ui |
Definition at line 28 of file diagramcontextwidget.h.
|
explicit |
Definition at line 21 of file diagramcontextwidget.cpp.
References checkTableRows(), and ui.
DiagramContextWidget::~DiagramContextWidget | ( | ) |
Definition at line 29 of file diagramcontextwidget.cpp.
References ui.
|
privateslot |
DiagramContextWidget::checkTableRows Adds a row in the additional fields table if needed.
Definition at line 170 of file diagramcontextwidget.cpp.
References nameLessRowsCount(), refreshFormatLabel(), and ui.
Referenced by DiagramContextWidget(), and setContext().
|
slot |
DiagramContextWidget::clear Clear any values entered within this widget.
Definition at line 104 of file diagramcontextwidget.cpp.
References refreshFormatLabel(), and ui.
Referenced by setContext().
DiagramContext DiagramContextWidget::context | ( | ) | const |
DiagramContextWidget::context.
Definition at line 38 of file diagramcontextwidget.cpp.
References DiagramContext::addValue(), and ui.
Referenced by setContext(), and ReplaceFolioWidget::titleBlockProperties().
|
slot |
DiagramContextWidget::highlightNonAcceptableKeys Highlight keys that would not be accepted by a DiagramContext object.
Definition at line 119 of file diagramcontextwidget.cpp.
References ui, and DiagramContext::validKeyRegExp().
Referenced by refreshFormatLabel().
int DiagramContextWidget::nameLessRowsCount | ( | ) | const |
DiagramContextWidget::nameLessRowsCount.
Definition at line 86 of file diagramcontextwidget.cpp.
References ui.
Referenced by checkTableRows().
|
slot |
DiagramContextWidget::refreshFormatLabel Sets the text describing the acceptable format for keys when adding extra key/value pairs.
Definition at line 153 of file diagramcontextwidget.cpp.
References highlightNonAcceptableKeys(), QET::Icons::tr, and ui.
Referenced by checkTableRows(), and clear().
void DiagramContextWidget::setContext | ( | const DiagramContext & | context | ) |
DiagramContextWidget::setContext Load the content from into this widget.
context |
Definition at line 67 of file diagramcontextwidget.cpp.
References DiagramContext::Alphabetical, checkTableRows(), clear(), context(), DiagramContext::keys(), and ui.
Referenced by ReplaceFolioWidget::setTitleBlockProperties().
|
private |
Definition at line 49 of file diagramcontextwidget.h.
Referenced by checkTableRows(), clear(), context(), DiagramContextWidget(), highlightNonAcceptableKeys(), nameLessRowsCount(), refreshFormatLabel(), setContext(), and ~DiagramContextWidget().