![]() |
VR-Forces Development_Version Class Documentation
|
Widget that will allow for entry of label and any extended labels. More...

Classes | |
| struct | ExtendedLabel |
Public Types | |
| typedef std::map< int, ExtendedLabel > | ExtendedLabels |
Signals | |
| void | labelChanged () |
| void | extendedLabelsChanged () |
Public Member Functions | |
| DtExtendedLabelsEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtExtendedLabelsEntryWidget () |
| virtual void | setLabel (const QString &) |
| Sets the singular label available to all objects. | |
| virtual std::string | label () const |
| virtual void | setExtendedLabels (const std::map< int, DtString > &) |
| If there are extended labels, sets the values. | |
| virtual std::map< int, DtString > | extendedLabels () const |
| virtual void | setMinimumLabelWidth (int) |
| virtual bool | isValid () const |
| Returns true if all the labels in this widget are considered valid as per any validation rules they may have. | |
Public Attributes | |
| QScrollArea * | myScrollView |
| QWidget * | myInsideWidget |
| QGridLayout * | myLayout |
| ExtendedLabel | myCommonLabel |
| ExtendedLabels | myExtendedLabels |
Protected Slots | |
| virtual void | onLabelChanged () |
| virtual void | onExtendedLabelsTextChanged () |
Protected Member Functions | |
| void | setupGui () |
| Sets up gui. Called from constructor. | |
| virtual void | onExtendedLabelsChanged () |
| virtual void | createdExtendedLabel (int index, ExtendedLabel &label) |
| Override in order to add validation to the created label (if desired) via a QValidator. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| int | myMinLabelWidth |
| QPixmap | myWarningIcon |
Widget that will allow for entry of label and any extended labels.
| typedef std::map<int, ExtendedLabel> makVrf::DtExtendedLabelsEntryWidget::ExtendedLabels |
| makVrf::DtExtendedLabelsEntryWidget::DtExtendedLabelsEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Sets the singular label available to all objects.
|
virtual |
|
virtual |
If there are extended labels, sets the values.
|
virtual |
|
virtual |
|
virtual |
Returns true if all the labels in this widget are considered valid as per any validation rules they may have.
If not then a warning icon will be displayed with the
|
protectedvirtualslot |
|
protectedvirtualslot |
|
signal |
|
signal |
|
protected |
Sets up gui. Called from constructor.
|
protectedvirtual |
|
protectedvirtual |
Override in order to add validation to the created label (if desired) via a QValidator.
In not can override on onExtendedLabelsTextChanged(). Default is no-op
| QScrollArea* makVrf::DtExtendedLabelsEntryWidget::myScrollView |
| QWidget* makVrf::DtExtendedLabelsEntryWidget::myInsideWidget |
| QGridLayout* makVrf::DtExtendedLabelsEntryWidget::myLayout |
| ExtendedLabel makVrf::DtExtendedLabelsEntryWidget::myCommonLabel |
| ExtendedLabels makVrf::DtExtendedLabelsEntryWidget::myExtendedLabels |
|
protected |
|
protected |
|
protected |
|
protected |