16 #include <vlutil/vlString.h>
20 #include <boost/signals2.hpp>
37 ExtendedLabel() : labelLabel(0), label(0), warningIcon(0), needsToPassValidator(false), labelIdentifier(0) {};
39 needsToPassValidator(orig.needsToPassValidator), warningIcon(orig.warningIcon), labelIdentifier(orig.labelIdentifier) {};
54 virtual void setLabel(
const QString&);
55 virtual QString label()
const;
58 virtual void setExtendedLabels(
const std::map<int, DtString>&);
59 virtual std::map<int, DtString> extendedLabels()
const;
61 virtual void setMinimumLabelWidth(
int);
66 virtual void manageObjectSpecificLabels(
const std::vector<std::string>&,
const std::map<std::string, std::string>&);
70 virtual bool isValid()
const;
74 virtual void onLabelChanged();
75 virtual void onExtendedLabelsTextChanged();
79 void extendedLabelsChanged();
80 void objectSpecificLabelChanged(
int text, QString marker, QString value);
86 virtual void onExtendedLabelsChanged();
90 virtual void createdExtendedLabel(
int index,
ExtendedLabel& label);
92 virtual ExtendedLabel createLabel(
int index,
const std::string& labelName);
ExtendedLabels myExtendedLabels
Definition: extendedLabelsEntryWidget.h:102
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
makVrv::DtDe & myDe
Definition: extendedLabelsEntryWidget.h:125
bool needsToPassValidator
Definition: extendedLabelsEntryWidget.h:44
makVrv::DtSignalConnectionManager myConnectionManager
Definition: extendedLabelsEntryWidget.h:109
std::vector< ExtendedLabel > ObjectSpecificLabels
Definition: extendedLabelsEntryWidget.h:104
ExtendedLabel(const ExtendedLabel &orig)
Definition: extendedLabelsEntryWidget.h:38
makVrv::DtDe & myDe
Definition: extendedLabelsEntryWidget.h:108
QWidget * myInsideWidget
Definition: extendedLabelsEntryWidget.h:96
ObjectSpecificLabels myObjectSpecificLabels
Definition: extendedLabelsEntryWidget.h:105
Contains makVrv::DtVirtualBaseClass class.
std::map< int, ExtendedLabel > ExtendedLabels
Special extended labels will start at integer 10000.
Definition: extendedLabelsEntryWidget.h:101
QGridLayout * myLayout
Definition: extendedLabelsEntryWidget.h:97
ExtendedLabel()
Definition: extendedLabelsEntryWidget.h:37
int myMinLabelWidth
Definition: extendedLabelsEntryWidget.h:110
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
Definition: extendedLabelsEntryWidget.h:113
Base class to provide boost signal/slot management.
boost::signals2::signal< void(int, DtExtendedLabelsEntryWidget::ExtendedLabel &)> signal_extendedLabelCreated
Signal sent when an extended label is created. If the int (index) is -1 this is the creation of the d...
Definition: extendedLabelsEntryWidget.h:140
QScrollArea * myScrollView
Definition: extendedLabelsEntryWidget.h:95
int labelIdentifier
Definition: extendedLabelsEntryWidget.h:45
Widget that will allow for entry of label and any extended labels.
Definition: extendedLabelsEntryWidget.h:30
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Definition: extendedLabelsEntryWidget.h:35
Signaler use to signal the creation of an extended label.
Definition: extendedLabelsEntryWidget.h:129
QLineEdit * label
Definition: extendedLabelsEntryWidget.h:43
QLabel * warningIcon
Definition: extendedLabelsEntryWidget.h:42
ExtendedLabel myCommonLabel
Definition: extendedLabelsEntryWidget.h:98