![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEVehicleTypeFrame.h>
Public Member Functions | |
| FXVerticalFrame * | getCollapsableFrame () |
| get collapsable frame (used by all elements that will be collapsed if button is toogled) More... | |
| void | hideVehicleTypeEditorModule () |
| hide VehicleTypeEditor box More... | |
| long | onCollapseButton (FXObject *, FXSelector, void *) |
| draw FXGroupBoxModule More... | |
| long | onPaint (FXObject *, FXSelector, void *) |
| draw FXGroupBoxModule More... | |
| void | refreshVehicleTypeEditorModule () |
| update VehicleTypeEditor modul More... | |
| void | setText (const std::string &text) |
| set text More... | |
| void | showVehicleTypeEditorModule () |
| show VehicleTypeEditor modul More... | |
| VehicleTypeEditor (GNEVehicleTypeFrame *vehicleTypeFrameParent) | |
| FOX-declaration. More... | |
| ~VehicleTypeEditor () | |
| destructor More... | |
FOX-callbacks | |
Called when "Vreate Vehicle Type" button is clicked | |
| long | onCmdCreateVehicleType (FXObject *, FXSelector, void *) |
| long | onCmdDeleteVehicleType (FXObject *, FXSelector, void *) |
| Called when "Delete Vehicle Type" button is clicked. More... | |
| long | onCmdResetVehicleType (FXObject *, FXSelector, void *) |
| Called when "Delete Vehicle Type" button is clicked. More... | |
| long | onCmdCopyVehicleType (FXObject *, FXSelector, void *) |
| Called when "Copy Vehicle Type" button is clicked. More... | |
Private Attributes | |
| FXVerticalFrame * | myCollapsableFrame = nullptr |
| vertical collapsable frame More... | |
| FXButton * | myCollapseButton = nullptr |
| button for collapse elements More... | |
| bool | myCollapsed |
| flag to check if this groupbox is collapsed More... | |
| FXButton * | myCopyVehicleTypeButton |
| "copy vehicle type" More... | |
| FXButton * | myCreateVehicleTypeButton |
| "create vehicle type" button More... | |
| FXButton * | myDeleteVehicleTypeButton |
| "delete vehicle type" button More... | |
| FXLabel * | myLabel = nullptr |
| label used in non collapsable FXGroupBoxModule More... | |
| FXButton * | myResetDefaultVehicleTypeButton |
| "delete default vehicle type" button More... | |
| GNEVehicleTypeFrame * | myVehicleTypeFrameParent |
| pointer to vehicle type Frame Parent More... | |
Definition at line 92 of file GNEVehicleTypeFrame.h.
| GNEVehicleTypeFrame::VehicleTypeEditor::VehicleTypeEditor | ( | GNEVehicleTypeFrame * | vehicleTypeFrameParent | ) |
FOX-declaration.
constructor
Definition at line 198 of file GNEVehicleTypeFrame.cpp.
References FXGroupBoxModule::getCollapsableFrame(), GUIDesignButton, MID_GNE_COPY, MID_GNE_CREATE, MID_GNE_DELETE, MID_GNE_RESET, myCopyVehicleTypeButton, myCreateVehicleTypeButton, myDeleteVehicleTypeButton, and myResetDefaultVehicleTypeButton.
| GNEVehicleTypeFrame::VehicleTypeEditor::~VehicleTypeEditor | ( | ) |
destructor
Definition at line 212 of file GNEVehicleTypeFrame.cpp.
|
inherited |
get collapsable frame (used by all elements that will be collapsed if button is toogled)
Definition at line 73 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::myCollapsableFrame.
Referenced by GNEInspectorFrame::AdditionalDialog::AdditionalDialog(), GNEFrameAttributeModules::AttributesCreator::AttributesCreator(), GNEFrameAttributeModules::AttributesCreatorFlow::AttributesCreatorFlow(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEFrameAttributeModules::AttributesEditorFlow::AttributesEditorFlow(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), GNEFrameModules::DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNEFrameModules::DrawingShape::DrawingShape(), GNEFrameAttributeModules::DrawingShape::DrawingShape(), GNEAdditionalFrame::E2MultilaneLaneSelector::E2MultilaneLaneSelector(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNEFrameModules::HierarchicalElementTree::HierarchicalElementTree(), GNECrossingFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNETAZRelDataFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEProhibitionFrame::Modifications::Modifications(), GNEFrameAttributeModules::NeteditAttributes::NeteditAttributes(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNEFrameAttributeModules::ParametersEditorCreator::ParametersEditorCreator(), GNEInspectorFrame::ParametersEditorInspector::ParametersEditorInspector(), GNEFrameModules::PathCreator::PathCreator(), GNEFrameModules::PathLegend::PathLegend(), GNEPersonTypeFrame::PersonTypeEditor::PersonTypeEditor(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEAdditionalFrame::SelectorChildEdges::SelectorChildEdges(), GNEAdditionalFrame::SelectorChildLanes::SelectorChildLanes(), GNEFrameModules::SelectorParent::SelectorParent(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSModifications::TLSModifications(), GNETLSEditorFrame::TLSPhases::TLSPhases(), VehicleTypeEditor(), and GNESelectorFrame::VisualScaling::VisualScaling().
| void GNEVehicleTypeFrame::VehicleTypeEditor::hideVehicleTypeEditorModule | ( | ) |
hide VehicleTypeEditor box
Definition at line 223 of file GNEVehicleTypeFrame.cpp.
References GNEFrame::hide().
| long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCopyVehicleType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Copy Vehicle Type" button is clicked.
Definition at line 349 of file GNEVehicleTypeFrame.cpp.
References SUMO_TAG_VTYPE, and VTYPE.
| long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCreateVehicleType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 262 of file GNEVehicleTypeFrame.cpp.
References SUMO_TAG_VTYPE, and VTYPE.
| long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Delete Vehicle Type" button is clicked.
Definition at line 280 of file GNEVehicleTypeFrame.cpp.
References SUMO_TAG_VTYPE, toString(), VTYPE, and WRITE_DEBUG.
| long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Delete Vehicle Type" button is clicked.
Definition at line 322 of file GNEVehicleTypeFrame.cpp.
References DEFAULT_BIKETYPE_ID, DEFAULT_VTYPE_ID, GNEAttributeCarrier::getTagProperty(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, SUMO_ATTR_ID, SUMO_ATTR_VCLASS, SUMO_TAG_VTYPE, SVC_BICYCLE, SVC_PASSENGER, toString(), and VTYPE.
|
inherited |
draw FXGroupBoxModule
Definition at line 92 of file FXGroupBoxModule.cpp.
References COLLAPSE, GUIIconSubSys::getIcon(), FXGroupBoxModule::myCollapsableFrame, FXGroupBoxModule::myCollapseButton, FXGroupBoxModule::myCollapsed, and UNCOLLAPSE.
|
inherited |
draw FXGroupBoxModule
Definition at line 79 of file FXGroupBoxModule.cpp.
| void GNEVehicleTypeFrame::VehicleTypeEditor::refreshVehicleTypeEditorModule | ( | ) |
update VehicleTypeEditor modul
Definition at line 229 of file GNEVehicleTypeFrame.cpp.
References GNE_ATTR_DEFAULT_VTYPE, and GNE_ATTR_DEFAULT_VTYPE_MODIFIED.
|
inherited |
set text
Definition at line 67 of file FXGroupBoxModule.cpp.
References FXGroupBoxModule::myLabel.
Referenced by GNESelectorFrame::SelectionInformation::updateInformationLabel().
| void GNEVehicleTypeFrame::VehicleTypeEditor::showVehicleTypeEditorModule | ( | ) |
show VehicleTypeEditor modul
Definition at line 216 of file GNEVehicleTypeFrame.cpp.
References GNEVehicleTypeFrame::show().
|
privateinherited |
vertical collapsable frame
Definition at line 55 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::getCollapsableFrame(), and FXGroupBoxModule::onCollapseButton().
|
privateinherited |
button for collapse elements
Definition at line 61 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::onCollapseButton().
|
privateinherited |
flag to check if this groupbox is collapsed
Definition at line 64 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::onCollapseButton().
|
private |
"copy vehicle type"
Definition at line 144 of file GNEVehicleTypeFrame.h.
Referenced by VehicleTypeEditor().
|
private |
"create vehicle type" button
Definition at line 135 of file GNEVehicleTypeFrame.h.
Referenced by VehicleTypeEditor().
|
private |
"delete vehicle type" button
Definition at line 138 of file GNEVehicleTypeFrame.h.
Referenced by VehicleTypeEditor().
|
privateinherited |
label used in non collapsable FXGroupBoxModule
Definition at line 58 of file FXGroupBoxModule.h.
Referenced by FXGroupBoxModule::setText().
|
private |
"delete default vehicle type" button
Definition at line 141 of file GNEVehicleTypeFrame.h.
Referenced by VehicleTypeEditor().
|
private |
pointer to vehicle type Frame Parent
Definition at line 132 of file GNEVehicleTypeFrame.h.