![]() |
Eclipse SUMO - Simulation of Urban MObility
|
FOX-declaration. More...
#include <GNEVehicleTypeDialog.h>
Public Member Functions | |
SUMOVehicleClass | setVariable () |
set vehicle class More... | |
SUMOVehicleClass | updateValue () |
update values More... | |
VClassRow (VTypeAtributes *VTypeAtributesParent, FXVerticalFrame *column) | |
constructor More... | |
Private Member Functions | |
void | setVClassLabelImage () |
set VClass texture More... | |
Private Attributes | |
FXComboBox * | myComboBoxVClass |
FXComboBox for VClass. More... | |
FXLabel * | myComboBoxVClassLabelImage |
label with image of VClass More... | |
VTypeAtributes * | myVTypeAtributesParent |
pointer to VTypeAtributes parent More... | |
GNEVehicleTypeDialog::VTypeAtributes::VClassRow::VClassRow | ( | VTypeAtributes * | VTypeAtributesParent, |
FXVerticalFrame * | column | ||
) |
constructor
Definition at line 59 of file GNEVehicleTypeDialog.cpp.
References GUIDesignAuxiliarVerticalFrame, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignLabelAttribute150, GUIDesignLabelTickedIcon180x46, MID_GNE_SET_ATTRIBUTE, SUMO_ATTR_VCLASS, SumoVehicleClassStrings, SVC_IGNORING, and toString().
SUMOVehicleClass GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable | ( | ) |
set vehicle class
Definition at line 86 of file GNEVehicleTypeDialog.cpp.
References GNEDemandElement::getAttribute(), GNEViewNet::getUndoList(), GNEDemandElement::getVClass(), GNEDemandElement::getViewNet(), GNEAttributeCarrier::isAttributeEnabled(), GNEDemandElement::isValid(), GNEVehicleTypeDialog::VTypeAtributes::myCarriageLength, myComboBoxVClass, GNEVehicleTypeDialog::VTypeAtributes::myContainerCapacity, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAtributes::myEmissionClass, GNEVehicleTypeDialog::VTypeAtributes::myHeight, GNEVehicleTypeDialog::myInvalidAttr, GNEVehicleTypeDialog::VTypeAtributes::myLength, GNEVehicleTypeDialog::VTypeAtributes::myLocomotiveLength, GNEVehicleTypeDialog::VTypeAtributes::myMaxSpeed, GNEVehicleTypeDialog::VTypeAtributes::myMinGap, GNEVehicleTypeDialog::VTypeAtributes::myOSGFile, GNEVehicleTypeDialog::VTypeAtributes::myPersonCapacity, GNEVehicleTypeDialog::VTypeAtributes::mySpeedDev, GNEVehicleTypeDialog::VTypeAtributes::mySpeedFactor, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, GNEVehicleTypeDialog::myVehicleTypeValid, myVTypeAtributesParent, GNEVehicleTypeDialog::VTypeAtributes::myWidth, GNEDemandElement::setAttribute(), setVClassLabelImage(), SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_HEIGHT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MINGAP, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, toString(), and GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::updateValue().
Referenced by GNEVehicleTypeDialog::VTypeAtributes::onCmdSetAttribute().
|
private |
set VClass texture
Definition at line 159 of file GNEVehicleTypeDialog.cpp.
References GNEDemandElement::getAttribute(), GUIIconSubSys::getIcon(), GNEDemandElement::getVClass(), ICON_VCLASS_ARMY, ICON_VCLASS_AUTHORITY, ICON_VCLASS_BICYCLE, ICON_VCLASS_BUS, ICON_VCLASS_COACH, ICON_VCLASS_CUSTOM1, ICON_VCLASS_CUSTOM2, ICON_VCLASS_DELIVERY, ICON_VCLASS_EMERGENCY, ICON_VCLASS_EVEHICLE, ICON_VCLASS_HOV, ICON_VCLASS_IGNORING, ICON_VCLASS_MOPED, ICON_VCLASS_MOTORCYCLE, ICON_VCLASS_PASSENGER, ICON_VCLASS_PEDESTRIAN, ICON_VCLASS_PRIVATE, ICON_VCLASS_RAIL, ICON_VCLASS_RAIL_ELECTRIC, ICON_VCLASS_RAIL_URBAN, ICON_VCLASS_SHIP, ICON_VCLASS_TAXI, ICON_VCLASS_TRAILER, ICON_VCLASS_TRAM, ICON_VCLASS_TRUCK, ICON_VCLASS_VIP, myComboBoxVClassLabelImage, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, myVTypeAtributesParent, SUMO_ATTR_VCLASS, SVC_ARMY, SVC_AUTHORITY, SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_CUSTOM1, SVC_CUSTOM2, SVC_DELIVERY, SVC_E_VEHICLE, SVC_EMERGENCY, SVC_HOV, SVC_MOPED, SVC_MOTORCYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_PRIVATE, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TAXI, SVC_TRAILER, SVC_TRAM, SVC_TRUCK, and SVC_VIP.
Referenced by setVariable(), and updateValue().
SUMOVehicleClass GNEVehicleTypeDialog::VTypeAtributes::VClassRow::updateValue | ( | ) |
update values
Definition at line 151 of file GNEVehicleTypeDialog.cpp.
References GNEDemandElement::getAttribute(), GNEDemandElement::getVClass(), myComboBoxVClass, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, myVTypeAtributesParent, setVClassLabelImage(), and SUMO_ATTR_VCLASS.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::updateValues().
|
private |
FXComboBox for VClass.
Definition at line 72 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), and updateValue().
|
private |
label with image of VClass
Definition at line 75 of file GNEVehicleTypeDialog.h.
Referenced by setVClassLabelImage().
|
private |
pointer to VTypeAtributes parent
Definition at line 69 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), setVClassLabelImage(), and updateValue().