This is a base class that is used by other classes to show emitters and modes that they are currently set to. Currently this is used by the DtJammingModeSelectionEntryWidget and DtRadarModeSelectionEntryWidget.
| makVrf::DtEmitterModesSelectionEntryWidget::DtEmitterModesSelectionEntryWidget |
( |
makVrv::DtDe & |
de, |
|
|
QWidget * |
parent, |
|
|
const Qt::WindowFlags & |
flags = 0, |
|
|
const CreationFlags & |
cflags = NormalMode |
|
) |
| |
| virtual makVrf::DtEmitterModesSelectionEntryWidget::~DtEmitterModesSelectionEntryWidget |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setLabel |
( |
const std::string & |
| ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setLabel |
( |
const QString & |
| ) |
|
|
virtual |
| virtual QString makVrf::DtEmitterModesSelectionEntryWidget::label |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setToolTip |
( |
const QString & |
| ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setRange |
( |
double |
bottom, |
|
|
double |
top |
|
) |
| |
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setDefaultValue |
( |
const std::string & |
| ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setupFrom |
( |
const std::vector< makVrv::DtSimEntry * > & |
data | ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setVariableData |
( |
const std::string & |
| ) |
|
|
virtual |
Variable data that can be used by this control to initialize values (i.e. filtered list box, combo box). Items should be separated by a semi-colon. No-op.
Implements makVrf::DtTaskSetVariableWidgetInterface.
| virtual DtReaderWriter* makVrf::DtEmitterModesSelectionEntryWidget::createBoundVariable |
( |
const std::string & |
variableName | ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setupFromBoundVariable |
( |
const DtReaderWriter * |
variableName | ) |
|
|
virtual |
| static makVrv::DtUnicode makVrf::DtEmitterModesSelectionEntryWidget::codeVariableType |
( |
| ) |
|
|
inlinestatic |
| static std::string makVrf::DtEmitterModesSelectionEntryWidget::designerGroup |
( |
| ) |
|
|
inlinestatic |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::getEmitterIdAndMode |
( |
int & |
id, |
|
|
DtString & |
mode |
|
) |
| |
|
virtual |
Returns the emitter id selected and the mode of that emitter.
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setEmitterIdAndMode |
( |
int |
id, |
|
|
const DtString & |
mode |
|
) |
| |
|
virtual |
Sets the currently selected emitter id and mode.
| virtual bool makVrf::DtEmitterModesSelectionEntryWidget::isValid |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::setIndent |
( |
int |
| ) |
|
|
virtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::getUpdatedModes |
( |
std::vector< DtUUID > & |
| ) |
|
|
virtual |
Given what is currently selected, return all the names that have a mode that is different than what is selected.
| virtual const std::vector<DtUUID>& makVrf::DtEmitterModesSelectionEntryWidget::selectedNames |
( |
| ) |
const |
|
virtual |
Current items selected for this widget.
| virtual std::string makVrf::DtEmitterModesSelectionEntryWidget::scriptedTaskVariableName |
( |
| ) |
const |
|
protectedvirtual |
In most cases this is the objectName of the object, however, in some cases (as in radio button) this could be a name that is shared amongst like objects, so, that is returned instead. If the blank name is returned then just use the variable name.
Implements makVrf::DtTaskSetVariableWidgetInterface.
| void makVrf::DtEmitterModesSelectionEntryWidget::validityUpdated |
( |
| ) |
|
|
signal |
Signal which can be emitted to indicate the validity of the current widget selection has changed.
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::updateComboBoxes |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::slot_receivedModes |
( |
const DtUUID & |
entity, |
|
|
int |
emitterId |
|
) |
| |
|
protectedvirtual |
When new radar modes are updated to cache, we find out about it and should update the dialog.
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::resetDialog |
( |
bool |
resetModesOnly = false | ) |
|
|
protectedvirtual |
Used internally to reset the dialgo box. The flag can be used to only reset the mode combo box.
| virtual void makVrf::DtEmitterModesSelectionEntryWidget::updateModesForEmitterSelection |
( |
| ) |
|
|
protectedvirtualslot |
| QGridLayout* makVrf::DtEmitterModesSelectionEntryWidget::myContentLayout |
| QLabel* makVrf::DtEmitterModesSelectionEntryWidget::myEmitterLabel |
| QComboBox* makVrf::DtEmitterModesSelectionEntryWidget::myEmitterIdCombo |
| QLabel* makVrf::DtEmitterModesSelectionEntryWidget::myModeLabel |
| QComboBox* makVrf::DtEmitterModesSelectionEntryWidget::myModesCombo |
| QGroupBox* makVrf::DtEmitterModesSelectionEntryWidget::myGroupBox |
| QVBoxLayout* makVrf::DtEmitterModesSelectionEntryWidget::myMainLayout |
| QWidget* makVrf::DtEmitterModesSelectionEntryWidget::myCanvas |
| QVBoxLayout* makVrf::DtEmitterModesSelectionEntryWidget::myGroupBoxLayout |
| std::vector<DtUUID> makVrf::DtEmitterModesSelectionEntryWidget::myCurrSelected |
|
protected |
| QString makVrf::DtEmitterModesSelectionEntryWidget::myDefaultValue |
|
protected |
| CreationFlags makVrf::DtEmitterModesSelectionEntryWidget::myCreationFlags |
|
protected |
| makVrv::DtDe& makVrf::DtEmitterModesSelectionEntryWidget::myDe |
|
protected |
| QString makVrf::DtEmitterModesSelectionEntryWidget::label |
|
readwrite |
The documentation for this class was generated from the following file: