![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEVehicleTypeDialog.h>
Public Member Functions | |
void | setVariable () |
set variables More... | |
void | updateValues () |
update values More... | |
VShapeRow (VTypeAtributes *VTypeAtributesParent, FXVerticalFrame *column) | |
constructor More... | |
Private Member Functions | |
void | setVShapeLabelImage () |
set VShape texture More... | |
Private Attributes | |
FXComboBox * | myComboBoxShape |
FXComboBox for Shape. More... | |
FXLabel * | myComboBoxShapeLabelImage |
label with image of Shape More... | |
VTypeAtributes * | myVTypeAtributesParent |
pointer to VTypeAtributes parent More... | |
class for VShapeRow
Definition at line 82 of file GNEVehicleTypeDialog.h.
GNEVehicleTypeDialog::VTypeAtributes::VShapeRow::VShapeRow | ( | VTypeAtributes * | VTypeAtributesParent, |
FXVerticalFrame * | column | ||
) |
constructor
Definition at line 255 of file GNEVehicleTypeDialog.cpp.
References GUIDesignAuxiliarVerticalFrame, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignLabelAttribute150, GUIDesignLabelTickedIcon180x46, MID_GNE_SET_ATTRIBUTE, myComboBoxShape, myComboBoxShapeLabelImage, SUMO_ATTR_GUISHAPE, SumoVehicleShapeStrings, SVS_UNKNOWN, and toString().
void GNEVehicleTypeDialog::VTypeAtributes::VShapeRow::setVariable | ( | ) |
set variables
Definition at line 279 of file GNEVehicleTypeDialog.cpp.
References GNEViewNet::getUndoList(), GNEDemandElement::getViewNet(), GNEDemandElement::isValid(), myComboBoxShape, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::myInvalidAttr, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, GNEVehicleTypeDialog::myVehicleTypeValid, myVTypeAtributesParent, GNEDemandElement::setAttribute(), setVShapeLabelImage(), and SUMO_ATTR_GUISHAPE.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::onCmdSetAttribute().
|
private |
set VShape texture
Definition at line 302 of file GNEVehicleTypeDialog.cpp.
References GNEDemandElement::getAttribute(), GUIIconSubSys::getIcon(), getVehicleShapeID(), ICON_VCLASS_IGNORING, ICON_VSHAPE_ANT, ICON_VSHAPE_BICYCLE, ICON_VSHAPE_BUS, ICON_VSHAPE_BUS_COACH, ICON_VSHAPE_BUS_FLEXIBLE, ICON_VSHAPE_BUS_TROLLEY, ICON_VSHAPE_DELIVERY, ICON_VSHAPE_E_VEHICLE, ICON_VSHAPE_EMERGENCY, ICON_VSHAPE_MOPED, ICON_VSHAPE_MOTORCYCLE, ICON_VSHAPE_PASSENGER, ICON_VSHAPE_PASSENGER_HATCHBACK, ICON_VSHAPE_PASSENGER_SEDAN, ICON_VSHAPE_PASSENGER_VAN, ICON_VSHAPE_PASSENGER_WAGON, ICON_VSHAPE_PEDESTRIAN, ICON_VSHAPE_POLICE, ICON_VSHAPE_RAIL, ICON_VSHAPE_RAIL_CAR, ICON_VSHAPE_RAIL_CARGO, ICON_VSHAPE_RICKSHAW, ICON_VSHAPE_SHIP, ICON_VSHAPE_TRUCK, ICON_VSHAPE_TRUCK_1TRAILER, ICON_VSHAPE_TRUCK_SEMITRAILER, ICON_VSHAPE_UNKNOWN, myComboBoxShapeLabelImage, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, myVTypeAtributesParent, SUMO_ATTR_GUISHAPE, SVS_ANT, SVS_BICYCLE, SVS_BUS, SVS_BUS_COACH, SVS_BUS_FLEXIBLE, SVS_BUS_TROLLEY, SVS_DELIVERY, SVS_E_VEHICLE, SVS_EMERGENCY, SVS_FIREBRIGADE, SVS_MOPED, SVS_MOTORCYCLE, SVS_PASSENGER, SVS_PASSENGER_HATCHBACK, SVS_PASSENGER_SEDAN, SVS_PASSENGER_VAN, SVS_PASSENGER_WAGON, SVS_PEDESTRIAN, SVS_POLICE, SVS_RAIL, SVS_RAIL_CAR, SVS_RAIL_CARGO, SVS_RICKSHAW, SVS_SHIP, SVS_TRUCK, SVS_TRUCK_1TRAILER, SVS_TRUCK_SEMITRAILER, and SVS_UNKNOWN.
Referenced by setVariable(), and updateValues().
void GNEVehicleTypeDialog::VTypeAtributes::VShapeRow::updateValues | ( | ) |
update values
Definition at line 295 of file GNEVehicleTypeDialog.cpp.
References GNEDemandElement::getAttribute(), myComboBoxShape, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAtributes::myVehicleTypeDialog, myVTypeAtributesParent, setVShapeLabelImage(), and SUMO_ATTR_GUISHAPE.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::updateValues().
|
private |
FXComboBox for Shape.
Definition at line 99 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), updateValues(), and VShapeRow().
|
private |
label with image of Shape
Definition at line 102 of file GNEVehicleTypeDialog.h.
Referenced by setVShapeLabelImage(), and VShapeRow().
|
private |
pointer to VTypeAtributes parent
Definition at line 96 of file GNEVehicleTypeDialog.h.
Referenced by setVariable(), setVShapeLabelImage(), and updateValues().