![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEAttributesEditorRow.h>
Public Member Functions | |
| void | disable () |
| disable | |
| SumoXMLAttr | fillSumoBaseObject (CommonXMLStructure::SumoBaseObject *baseObject, const bool insertDefaultValues) const |
| fill sumo Base object | |
| const GNEAttributeProperties * | getAttrProperty () const |
| get attribute property | |
| std::string | getCurrentValue () const |
| get current value in string format | |
| GNEAttributesEditorRow (GNEAttributesEditorType *attributeTable) | |
| FOX-declaration. | |
| bool | hideAttributeRow () |
| hide attribute row (always return false) | |
| bool | isAttributeRowShown () const |
| check if current attribute row is shown | |
| bool | isValueValid () const |
| check if current attribute row is valid | |
| bool | showAttributeRow (GNEAttributesEditorType *attributeTable, const GNEAttributeProperties *attrProperty, const bool forceDisable) |
| return true if attribute row was successfully show | |
FOX-callbacks | |
| long | onCmdSetAttribute (FXObject *obj, FXSelector, void *) |
| set new string/bool attribute | |
| long | onCmdToggleEnableAttribute (FXObject *, FXSelector, void *) |
| called when user press the checkBox for toogle enable/disable attribute | |
| long | onCmdOpenColorDialog (FXObject *sender, FXSelector, void *arg) |
| called when user press "edit color" dialog | |
| long | onCmdOpenVClassDialog (FXObject *, FXSelector, void *) |
| called when user press "open allow" dialog | |
| long | onCmdOpenFileDialog (FXObject *, FXSelector, void *) |
| called when user press "open file" dialog | |
| long | onCmdReparent (FXObject *, FXSelector, void *) |
| called when user press reparent button | |
| long | onCmdInspectParent (FXObject *, FXSelector, void *) |
| called when user press "inspect parent" | |
| long | onCmdMoveLaneUp (FXObject *, FXSelector, void *) |
| called when user press "move lane up" | |
| long | onCmdMoveLaneDown (FXObject *, FXSelector, void *) |
| called when user press "move lane down" | |
Protected Member Functions | |
| void | enableElements (const GNEAttributeProperties *attrProperty, const bool forceDisable) |
| check if enable or disable all elements depending of current supermode or forceDisable | |
| const std::string | getAttributeValue (const bool enabled) const |
| get value from edited ACs | |
| GNEAttributesEditorRow () | |
| default constructor (needed for FOX) | |
| void | hideAllAttributeElements () |
| hide all attribute elements | |
| bool | isAttributeEnabled (const GNEAttributeProperties *attrProperty) const |
| check if the given attribute is enabled | |
| void | showAttributeColor (const GNEAttributeProperties *attrProperty, const bool enabled) |
| show attribute button color | |
| void | showAttributeFile (const GNEAttributeProperties *attrProperty, const bool enabled) |
| show attribute button file | |
| void | showAttributeInspectParent (const GNEAttributeProperties *attrProperty, const bool enabled) |
| show attribute button inspect parent | |
| void | showAttributeLabel (const GNEAttributeProperties *attrProperty) |
| show attribute label | |
| void | showAttributeReparent (const bool enabled) |
| show attribute button reparent | |
| void | showAttributeToggleEnable (const GNEAttributeProperties *attrProperty, const bool value) |
| show attribute toogle enable | |
| void | showAttributeVClass (const GNEAttributeProperties *attrProperty, const bool enabled) |
| show attribute button vClass | |
| void | showMoveLaneButtons (const std::string &laneID) |
| show move lane buttons | |
| void | showValueCheckButton (const std::string &value, const bool enabled, const bool computed) |
| show value for check button | |
| void | showValueComboBox (const GNEAttributeProperties *attrProperty, const std::string &value, const bool enabled, const bool computed) |
| show value for combo Box | |
| void | showValueString (const std::string &value, const bool enabled, const bool computed) |
| show value for strings | |
Private Member Functions | |
| GNEAttributesEditorRow (GNEAttributesEditorRow *)=delete | |
| Invalidated copy constructor. | |
| GNEAttributesEditorRow & | operator= (GNEAttributesEditorRow *)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| MFXButtonTooltip * | myAttributeButton = nullptr |
| pointer to button that can be used for files, color, parent, vclass or inspect | |
| MFXLabelTooltip * | myAttributeLabel = nullptr |
| pointer to attribute label | |
| GNEAttributesEditorType * | myAttributeTable |
| pointer to attribute table parent | |
| FXCheckButton * | myAttributeToggleEnableCheckButton = nullptr |
| pointer to attribute menu check | |
| const GNEAttributeProperties * | myAttrProperty = nullptr |
| edited attribute property | |
| FXCheckButton * | myValueCheckButton = nullptr |
| pointer to menu check | |
| MFXComboBoxIcon * | myValueComboBox = nullptr |
| pointer to combo box for select choices | |
| MFXButtonTooltip * | myValueLaneDownButton = nullptr |
| Button for move lane down. | |
| MFXButtonTooltip * | myValueLaneUpButton = nullptr |
| Button for move lane up. | |
| MFXTextFieldIcon * | myValueTextField = nullptr |
| pointer to text field for modify values | |
Definition at line 37 of file GNEAttributesEditorRow.h.
| GNEAttributesEditorRow::GNEAttributesEditorRow | ( | GNEAttributesEditorType * | attributeTable | ) |
FOX-declaration.
constructor
Definition at line 62 of file GNEAttributesEditorRow.cpp.
References ARROW_DOWN, ARROW_UP, EMPTY, GUIIconSubSys::getIcon(), GUIDesignButtonAttribute, GUIDesignButtonIcon, GUIDesignCheckButton, GUIDesignCheckButtonAttribute, GUIDesignComboBoxAttribute, GUIDesignComboBoxVisibleItems, GUIDesignLabelThickedFixed, GUIDesignTextField, MID_GNE_ATTRIBUTESEDITORROW_MOVELANEDOWN, MID_GNE_ATTRIBUTESEDITORROW_MOVELANEUP, MID_GNE_ATTRIBUTESEDITORROW_REPARENT, MID_GNE_ATTRIBUTESEDITORROW_SETATTRIBUTE, MID_GNE_ATTRIBUTESEDITORROW_TOGGLEENABLEATTRIBUTE, and TL.
|
protected |
default constructor (needed for FOX)
Definition at line 565 of file GNEAttributesEditorRow.cpp.
|
privatedelete |
Invalidated copy constructor.
| void GNEAttributesEditorRow::disable | ( | ) |
disable
Definition at line 216 of file GNEAttributesEditorRow.cpp.
References MFXComboBoxIcon::disable(), MFXTextFieldIcon::disable(), myAttributeButton, myAttributeToggleEnableCheckButton, myValueCheckButton, myValueComboBox, myValueLaneDownButton, myValueLaneUpButton, and myValueTextField.
|
protected |
check if enable or disable all elements depending of current supermode or forceDisable
Definition at line 943 of file GNEAttributesEditorRow.cpp.
References MFXComboBoxIcon::disable(), MFXTextFieldIcon::disable(), enableElements(), GNEViewNet::getEditModes(), GNEAttributeProperties::getTagPropertyParent(), GNEFrame::getViewNet(), myAttributeButton, myAttributeTable, myAttributeToggleEnableCheckButton, GNEAttributesEditorType::myFrameParent, myValueCheckButton, myValueComboBox, myValueLaneDownButton, myValueLaneUpButton, myValueTextField, SUMO_TAG_TAZSINK, and SUMO_TAG_TAZSOURCE.
Referenced by enableElements(), and showAttributeRow().
| SumoXMLAttr GNEAttributesEditorRow::fillSumoBaseObject | ( | CommonXMLStructure::SumoBaseObject * | baseObject, |
| const bool | insertDefaultValues | ||
| ) | const |
fill sumo Base object
Definition at line 271 of file GNEAttributesEditorRow.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addParameters(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributeCarrier::canParse(), GNEAttributeProperties::getAttr(), getCurrentValue(), GNEAttributeProperties::getDefaultColorValue(), GNEAttributeProperties::getDefaultDoubleValue(), GNEAttributeProperties::getDefaultIntValue(), GNEAttributeProperties::getDefaultPositionValue(), GNEAttributeProperties::getDefaultStringValue(), GNEAttributeProperties::getDefaultTimeValue(), MFXComboBoxIcon::getText(), MFXTextFieldIcon::getText(), MFXComboBoxIcon::getTextColor(), MFXTextFieldIcon::getTextColor(), GNE_ATTR_PARAMETERS, GUIDesignBackgroundColorRed, GUIDesignTextColorRed, GNEAttributeProperties::hasDefaultValue(), GNEAttributeProperties::isActivatable(), GNEAttributeProperties::isBool(), GNEAttributeProperties::isColor(), GNEAttributeProperties::isDiscrete(), GNEAttributeProperties::isFloat(), GNEAttributeProperties::isInt(), GNEAttributeProperties::isList(), GNEAttributeProperties::isPosition(), GNEAttributeProperties::isPositive(), GNEAttributeProperties::isProbability(), GNEAttributeProperties::isSUMOTime(), isValueValid(), myAttributeToggleEnableCheckButton, myAttrProperty, myValueCheckButton, myValueComboBox, myValueTextField, GNEAttributeCarrier::parse(), and SUMO_ATTR_NOTHING.
|
protected |
get value from edited ACs
Definition at line 571 of file GNEAttributesEditorRow.cpp.
References GNEAttributesEditorType::CREATOR, GNEAttributeProperties::getAttr(), GNENet::getAttributeCarriers(), GNEAttributesEditorType::getFrameParent(), GNEViewNet::getNet(), GNETagProperties::getTag(), GNEAttributeProperties::getTagPropertyParent(), GNEFrame::getViewNet(), GNETagProperties::isAdditionalElement(), GNETagProperties::isDemandElement(), GNETagProperties::isMeanData(), myAttributeTable, myAttrProperty, GNEAttributesEditorType::myEditedACs, GNEAttributesEditorType::myEditorType, SUMO_ATTR_ID, SUMO_TAG_DATASET, SUMO_TAG_EDGE, and SUMO_TAG_TYPE.
Referenced by showAttributeRow().
| const GNEAttributeProperties * GNEAttributesEditorRow::getAttrProperty | ( | ) | const |
get attribute property
Definition at line 229 of file GNEAttributesEditorRow.cpp.
References myAttrProperty.
| std::string GNEAttributesEditorRow::getCurrentValue | ( | ) | const |
get current value in string format
Definition at line 235 of file GNEAttributesEditorRow.cpp.
References MFXComboBoxIcon::getText(), MFXTextFieldIcon::getText(), myValueCheckButton, myValueComboBox, and myValueTextField.
Referenced by fillSumoBaseObject().
|
protected |
hide all attribute elements
Definition at line 744 of file GNEAttributesEditorRow.cpp.
References myAttributeButton, myAttributeLabel, and myAttributeToggleEnableCheckButton.
Referenced by showAttributeRow().
| bool GNEAttributesEditorRow::hideAttributeRow | ( | ) |
hide attribute row (always return false)
Definition at line 209 of file GNEAttributesEditorRow.cpp.
Referenced by showAttributeRow().
|
protected |
check if the given attribute is enabled
Definition at line 974 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttr(), GNEAttributeProperties::isAlwaysEnabled(), myAttributeTable, and GNEAttributesEditorType::myEditedACs.
Referenced by showAttributeRow().
| bool GNEAttributesEditorRow::isAttributeRowShown | ( | ) | const |
check if current attribute row is shown
Definition at line 265 of file GNEAttributesEditorRow.cpp.
| bool GNEAttributesEditorRow::isValueValid | ( | ) | const |
check if current attribute row is valid
Definition at line 249 of file GNEAttributesEditorRow.cpp.
References MFXComboBoxIcon::getTextColor(), MFXTextFieldIcon::getTextColor(), GUIDesignBackgroundColorRed, GUIDesignTextColorRed, myValueCheckButton, myValueComboBox, and myValueTextField.
Referenced by fillSumoBaseObject().
| long GNEAttributesEditorRow::onCmdInspectParent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "inspect parent"
Definition at line 458 of file GNEAttributesEditorRow.cpp.
References GNEAttributesEditorType::inspectParent(), and myAttributeTable.
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdMoveLaneDown | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "move lane down"
Definition at line 472 of file GNEAttributesEditorRow.cpp.
References GNEAttributesEditorType::moveLaneDown(), and myAttributeTable.
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdMoveLaneUp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "move lane up"
Definition at line 465 of file GNEAttributesEditorRow.cpp.
References GNEAttributesEditorType::moveLaneUp(), and myAttributeTable.
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdOpenColorDialog | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | arg | ||
| ) |
called when user press "edit color" dialog
Definition at line 403 of file GNEAttributesEditorRow.cpp.
References GNEDialog::ACCEPT, RGBColor::BLACK, GNEAttributeProperties::getDefaultColorValue(), GNEAttributesEditorType::getFrameParent(), GNEViewParent::getGNEAppWindows(), MFXTextFieldIcon::getText(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNEAttributeProperties::hasDefaultValue(), myAttributeTable, myAttrProperty, myValueTextField, MFXTextFieldIcon::setText(), and toString().
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdOpenFileDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "open file" dialog
Definition at line 435 of file GNEAttributesEditorRow.cpp.
References GNEDialog::ACCEPT, GNEAttributeProperties::getAttrStr(), GNEAttributeProperties::getFilenameExtensions(), GNEAttributesEditorType::getFrameParent(), GNEViewParent::getGNEAppWindows(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNEAttributeProperties::isFileSave(), GNEFileDialog::LOAD_SINGLE, myAttributeTable, myAttrProperty, myValueTextField, GNEFileDialog::NETEDIT, GNEFileDialog::SAVE, and MFXTextFieldIcon::setText().
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdOpenVClassDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "open allow" dialog
Definition at line 422 of file GNEAttributesEditorRow.cpp.
References GNEDialog::ACCEPT, GNEAttributeProperties::getAttr(), GNEAttributesEditorType::getFrameParent(), GNEViewParent::getGNEAppWindows(), MFXTextFieldIcon::getText(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), myAttributeTable, myAttrProperty, myValueTextField, and MFXTextFieldIcon::setText().
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdReparent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press reparent button
Definition at line 451 of file GNEAttributesEditorRow.cpp.
References GNEAttributesEditorType::enableReparent(), and myAttributeTable.
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdSetAttribute | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
set new string/bool attribute
Definition at line 479 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttr(), GNEAttributeProperties::getDefaultStringValue(), MFXComboBoxIcon::getText(), MFXTextFieldIcon::getText(), GUIDesignBackgroundColorRed, GUIDesignBackgroundColorWhite, GUIDesignTextColorBlack, GUIDesignTextColorRed, GNEAttributeProperties::hasDefaultValue(), GNEAttributesEditorType::isEditorTypeEditor(), GNEAttributeProperties::isInt(), GNEAttributeProperties::isVClass(), MFXTextFieldIcon::killFocus(), myAttributeTable, myAttrProperty, GNEAttributesEditorType::myEditedACs, myValueCheckButton, myValueComboBox, myValueTextField, StringUtils::replace(), GNEAttributesEditorType::setAttribute(), MFXComboBoxIcon::setBackColor(), MFXTextFieldIcon::setText(), MFXComboBoxIcon::setTextColor(), MFXTextFieldIcon::setTextColor(), SUMO_ATTR_ANGLE, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_SHAPE, and toString().
Referenced by FXDEFMAP().
| long GNEAttributesEditorRow::onCmdToggleEnableAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press the checkBox for toogle enable/disable attribute
Definition at line 559 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttr(), myAttributeTable, myAttributeToggleEnableCheckButton, myAttrProperty, and GNEAttributesEditorType::toggleEnableAttribute().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
show attribute button color
Definition at line 689 of file GNEAttributesEditorRow.cpp.
References COLORWHEEL, GNEAttributeProperties::getAttrStr(), GUIIconSubSys::getIcon(), MID_GNE_ATTRIBUTESEDITORROW_OPENDIALOG_COLOR, myAttributeButton, myAttributeLabel, myAttributeToggleEnableCheckButton, and TL.
Referenced by showAttributeRow().
|
protected |
show attribute button file
Definition at line 709 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttrStr(), GUIIconSubSys::getIcon(), GNEAttributeProperties::isFileOpen(), MID_GNE_ATTRIBUTESEDITORROW_OPENDIALOG_FILE, myAttributeButton, myAttributeLabel, myAttributeToggleEnableCheckButton, OPEN, and TL.
Referenced by showAttributeRow().
|
protected |
show attribute button inspect parent
Definition at line 649 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttrStr(), GNETagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), GNEAttributeProperties::getTagPropertyParent(), MID_GNE_ATTRIBUTESEDITORROW_INSPECTPARENT, myAttributeButton, myAttributeLabel, myAttributeToggleEnableCheckButton, and TLF.
Referenced by showAttributeRow().
|
protected |
show attribute label
Definition at line 733 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttrStr(), GNEAttributeProperties::getDefinition(), myAttributeButton, myAttributeLabel, and myAttributeToggleEnableCheckButton.
Referenced by showAttributeRow().
|
protected |
show attribute button reparent
Definition at line 629 of file GNEAttributesEditorRow.cpp.
References MID_GNE_ATTRIBUTESEDITORROW_REPARENT, myAttributeButton, myAttributeLabel, myAttributeToggleEnableCheckButton, and TL.
Referenced by showAttributeRow().
| bool GNEAttributesEditorRow::showAttributeRow | ( | GNEAttributesEditorType * | attributeTable, |
| const GNEAttributeProperties * | attrProperty, | ||
| const bool | forceDisable | ||
| ) |
return true if attribute row was successfully show
Definition at line 107 of file GNEAttributesEditorRow.cpp.
References enableElements(), GNEAttributeProperties::getAttr(), GNENet::getAttributeCarriers(), getAttributeValue(), MFXGroupBoxModule::getCollapsableFrame(), GNEViewNet::getNet(), GNEAttributeProperties::getTagPropertyParent(), GNEFrame::getViewNet(), GNE_ATTR_FRONTELEMENT, GNE_ATTR_PARAMETERS, GNE_ATTR_PARENT, GNE_ATTR_STOPOEXCEPTION, hideAllAttributeElements(), hideAttributeRow(), GNEAttributeProperties::isActivatable(), isAttributeEnabled(), GNEAttributeProperties::isBool(), GNEAttributeProperties::isDiscrete(), GNEAttributeProperties::isFileOpen(), GNEAttributeProperties::isFileSave(), GNEAttributeProperties::isFlow(), GNEAttributeProperties::isUnique(), GNEAttributeProperties::isVClass(), GNEAttributeProperties::isVType(), myAttributeTable, myAttrProperty, GNEAttributesEditorType::myEditedACs, GNEAttributesEditorType::myFrameParent, myValueLaneDownButton, myValueLaneUpButton, showAttributeColor(), showAttributeFile(), showAttributeInspectParent(), showAttributeLabel(), showAttributeReparent(), showAttributeToggleEnable(), showAttributeVClass(), showMoveLaneButtons(), showValueCheckButton(), showValueComboBox(), showValueString(), SUMO_ATTR_COLOR, SUMO_ATTR_DISALLOW, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_JOIN, SUMO_ATTR_LANE, SUMO_ATTR_TYPE, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.
|
protected |
show attribute toogle enable
Definition at line 617 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttrStr(), myAttributeButton, myAttributeLabel, and myAttributeToggleEnableCheckButton.
Referenced by showAttributeRow().
|
protected |
show attribute button vClass
Definition at line 669 of file GNEAttributesEditorRow.cpp.
References GNEAttributeProperties::getAttrStr(), MID_GNE_ATTRIBUTESEDITORROW_OPENDIALOG_ALLOW, myAttributeButton, myAttributeLabel, myAttributeToggleEnableCheckButton, and TL.
Referenced by showAttributeRow().
|
protected |
show move lane buttons
Definition at line 917 of file GNEAttributesEditorRow.cpp.
References GNENet::getAttributeCarriers(), GNEViewNet::getNet(), GNEFrame::getViewNet(), myAttributeTable, GNEAttributesEditorType::myFrameParent, myValueLaneDownButton, myValueLaneUpButton, and GNENetHelper::AttributeCarriers::retrieveLane().
Referenced by showAttributeRow().
|
protected |
show value for check button
Definition at line 752 of file GNEAttributesEditorRow.cpp.
References GNEAttributeCarrier::canParse(), myValueCheckButton, myValueComboBox, myValueLaneDownButton, myValueLaneUpButton, myValueTextField, and showValueString().
Referenced by showAttributeRow().
|
protected |
show value for combo Box
Definition at line 798 of file GNEAttributesEditorRow.cpp.
References ALLWAYSTOP, MFXComboBoxIcon::appendIconItem(), MFXComboBoxIcon::clearItems(), DEFAULT, MFXComboBoxIcon::disable(), EDGEPRIORITY, MFXComboBoxIcon::enable(), MFXComboBoxIcon::findItem(), GNEAttributeProperties::getAttr(), GNENet::getAttributeCarriers(), GNEAttributeProperties::getDiscreteValues(), GNEViewNet::getNet(), MFXComboBoxIcon::getNumItems(), POIIcons::getPOIIcon(), GNETagProperties::getTag(), GNEAttributeProperties::getTagPropertyParent(), StringBijection< T >::getValues(), VClassIcons::getVClassIcon(), getVehicleClassID(), GNEFrame::getViewNet(), GUIDesignBackgroundColorWhite, GUIDesignTextColorBlack, GNEAttributeProperties::isVType(), MIXEDPRIORITY, myAttributeTable, GNEAttributesEditorType::myEditedACs, GNEAttributesEditorType::myFrameParent, myValueCheckButton, myValueComboBox, myValueLaneDownButton, myValueLaneUpButton, myValueTextField, SUMOXMLDefinitions::POIIcons, SUMOXMLDefinitions::RightOfWayValues, MFXComboBoxIcon::setBackColor(), MFXComboBoxIcon::setCurrentItem(), MFXComboBoxIcon::setTextColor(), showValueString(), SUMO_ATTR_ICON, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_TYPE, SUMO_ATTR_VCLASS, SUMO_TAG_JUNCTION, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, and SumoVehicleClassStrings.
Referenced by showAttributeRow().
|
protected |
show value for strings
Definition at line 895 of file GNEAttributesEditorRow.cpp.
References MFXTextFieldIcon::disable(), MFXTextFieldIcon::enable(), GUIDesignTextColorBlack, GUIDesignTextColorBlue, myValueCheckButton, myValueComboBox, myValueTextField, MFXTextFieldIcon::setText(), and MFXTextFieldIcon::setTextColor().
Referenced by showAttributeRow(), showValueCheckButton(), and showValueComboBox().
|
private |
pointer to button that can be used for files, color, parent, vclass or inspect
Definition at line 164 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), hideAllAttributeElements(), showAttributeColor(), showAttributeFile(), showAttributeInspectParent(), showAttributeLabel(), showAttributeReparent(), showAttributeToggleEnable(), and showAttributeVClass().
|
private |
pointer to attribute label
Definition at line 158 of file GNEAttributesEditorRow.h.
Referenced by hideAllAttributeElements(), showAttributeColor(), showAttributeFile(), showAttributeInspectParent(), showAttributeLabel(), showAttributeReparent(), showAttributeToggleEnable(), and showAttributeVClass().
|
private |
pointer to attribute table parent
Definition at line 152 of file GNEAttributesEditorRow.h.
Referenced by enableElements(), getAttributeValue(), isAttributeEnabled(), onCmdInspectParent(), onCmdMoveLaneDown(), onCmdMoveLaneUp(), onCmdOpenColorDialog(), onCmdOpenFileDialog(), onCmdOpenVClassDialog(), onCmdReparent(), onCmdSetAttribute(), onCmdToggleEnableAttribute(), showAttributeRow(), showMoveLaneButtons(), and showValueComboBox().
|
private |
pointer to attribute menu check
Definition at line 161 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), fillSumoBaseObject(), hideAllAttributeElements(), onCmdToggleEnableAttribute(), showAttributeColor(), showAttributeFile(), showAttributeInspectParent(), showAttributeLabel(), showAttributeReparent(), showAttributeToggleEnable(), and showAttributeVClass().
|
private |
edited attribute property
Definition at line 155 of file GNEAttributesEditorRow.h.
Referenced by fillSumoBaseObject(), getAttributeValue(), getAttrProperty(), onCmdOpenColorDialog(), onCmdOpenFileDialog(), onCmdOpenVClassDialog(), onCmdSetAttribute(), onCmdToggleEnableAttribute(), and showAttributeRow().
|
private |
pointer to menu check
Definition at line 173 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), fillSumoBaseObject(), getCurrentValue(), isValueValid(), onCmdSetAttribute(), showValueCheckButton(), showValueComboBox(), and showValueString().
|
private |
pointer to combo box for select choices
Definition at line 170 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), fillSumoBaseObject(), getCurrentValue(), isValueValid(), onCmdSetAttribute(), showValueCheckButton(), showValueComboBox(), and showValueString().
|
private |
Button for move lane down.
Definition at line 179 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), showAttributeRow(), showMoveLaneButtons(), showValueCheckButton(), and showValueComboBox().
|
private |
Button for move lane up.
Definition at line 176 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), showAttributeRow(), showMoveLaneButtons(), showValueCheckButton(), and showValueComboBox().
|
private |
pointer to text field for modify values
Definition at line 167 of file GNEAttributesEditorRow.h.
Referenced by disable(), enableElements(), fillSumoBaseObject(), getCurrentValue(), isValueValid(), onCmdOpenColorDialog(), onCmdOpenFileDialog(), onCmdOpenVClassDialog(), onCmdSetAttribute(), showValueCheckButton(), showValueComboBox(), and showValueString().