![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEVehicleTypeDialog.h>
Public Member Functions | |
| void | setVariable () |
| set variables | |
| void | updateValue (SUMOVehicleClass vClass) |
| update value | |
| void | updateValues () |
| update values | |
| VShapeRow (VTypeAttributes *VTypeAttributesParent, FXVerticalFrame *column) | |
| constructor | |
Private Member Functions | |
| void | setVShapeLabelImage () |
| set VShape texture | |
Private Attributes | |
| MFXComboBoxIcon * | myComboBoxShape |
| MFXComboBoxIcon for Shape. | |
| FXLabel * | myComboBoxShapeLabelImage |
| label with image of Shape | |
| VTypeAttributes * | myVTypeAttributesParent |
| pointer to VTypeAttributes parent | |
class for VShapeRow
Definition at line 76 of file GNEVehicleTypeDialog.h.
| GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow | ( | VTypeAttributes * | VTypeAttributesParent, |
| FXVerticalFrame * | column ) |
constructor
Definition at line 286 of file GNEVehicleTypeDialog.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignAuxiliarVerticalFrame, GUIDesignComboBox, GUIDesignComboBoxVisibleItems, GUIDesignLabelThickedFixed, GUIDesignLabelTickedIcon180x46, MID_GNE_SET_ATTRIBUTE, myComboBoxShape, myComboBoxShapeLabelImage, myVTypeAttributesParent, SUMO_ATTR_GUISHAPE, SumoVehicleShapeStrings, toString(), UNKNOWN, and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributes().
| void GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::setVariable | ( | ) |
set variables
Definition at line 309 of file GNEVehicleTypeDialog.cpp.
References GUIDesignTextColorBlack, GUIDesignTextColorRed, myComboBoxShape, myVTypeAttributesParent, setVShapeLabelImage(), and SUMO_ATTR_GUISHAPE.
|
private |
set VShape texture
Definition at line 356 of file GNEVehicleTypeDialog.cpp.
References AIRCRAFT, ANT, BICYCLE, BUS, BUS_COACH, BUS_FLEXIBLE, BUS_TROLLEY, DELIVERY, E_VEHICLE, EMERGENCY, FIREBRIGADE, GUIIconSubSys::getIcon(), getVehicleShapeID(), MOPED, MOTORCYCLE, myComboBoxShapeLabelImage, myVTypeAttributesParent, PASSENGER, PASSENGER_HATCHBACK, PASSENGER_SEDAN, PASSENGER_VAN, PASSENGER_WAGON, PEDESTRIAN, POLICE, RAIL, RAIL_CAR, RAIL_CARGO, RICKSHAW, SCOOTER, SHIP, SUMO_ATTR_GUISHAPE, TAXI, TRUCK, TRUCK_1TRAILER, TRUCK_SEMITRAILER, UNKNOWN, VCLASS_IGNORING, VSHAPE_AIRCRAFT, VSHAPE_ANT, VSHAPE_BICYCLE, VSHAPE_BUS, VSHAPE_BUS_COACH, VSHAPE_BUS_FLEXIBLE, VSHAPE_BUS_TROLLEY, VSHAPE_DELIVERY, VSHAPE_E_VEHICLE, VSHAPE_EMERGENCY, VSHAPE_FIREBRIGADE, VSHAPE_MOPED, VSHAPE_MOTORCYCLE, VSHAPE_PASSENGER, VSHAPE_PASSENGER_HATCHBACK, VSHAPE_PASSENGER_SEDAN, VSHAPE_PASSENGER_VAN, VSHAPE_PASSENGER_WAGON, VSHAPE_PEDESTRIAN, VSHAPE_POLICE, VSHAPE_RAIL, VSHAPE_RAIL_CAR, VSHAPE_RAIL_CARGO, VSHAPE_RICKSHAW, VSHAPE_SCOOTER, VSHAPE_SHIP, VSHAPE_TAXI, VSHAPE_TRUCK, VSHAPE_TRUCK_1TRAILER, VSHAPE_TRUCK_SEMITRAILER, and VSHAPE_UNKNOWN.
Referenced by setVariable(), updateValue(), and updateValues().
| void GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::updateValue | ( | SUMOVehicleClass | vClass | ) |
update value
Definition at line 338 of file GNEVehicleTypeDialog.cpp.
References GUIDesignTextColorBlack, myComboBoxShape, myVTypeAttributesParent, setVShapeLabelImage(), SUMOVTypeParameter::VClassDefaultValues::shape, SUMO_ATTR_GUISHAPE, and SumoVehicleShapeStrings.
| void GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::updateValues | ( | ) |
update values
Definition at line 325 of file GNEVehicleTypeDialog.cpp.
References myComboBoxShape, myVTypeAttributesParent, setVShapeLabelImage(), and SUMO_ATTR_GUISHAPE.
|
private |
MFXComboBoxIcon for Shape.
Definition at line 96 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), updateValue(), updateValues(), and VShapeRow().
|
private |
label with image of Shape
Definition at line 99 of file GNEVehicleTypeDialog.h.
Referenced by setVShapeLabelImage(), and VShapeRow().
|
private |
pointer to VTypeAttributes parent
Definition at line 93 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), setVShapeLabelImage(), updateValue(), updateValues(), and VShapeRow().