Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEVehicleFrame.h>
Data Structures | |
class | HelpCreation |
Public Member Functions | |
bool | addVehicle (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const GNEViewNetHelper::MouseButtonKeyPressed &mouseButtonKeyPressed) |
add vehicle element | |
void | focusUpperElement () |
focus upper element of frame | |
virtual void | frameWidthUpdated () |
function called after setting new width in current frame (can be reimplemented in frame children) | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
GNEPathCreator * | getPathCreator () const |
get GNEPathCreator module | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
GNEDemandElementSelector * | getTypeSelector () const |
getVehicle Type selectors | |
GNEAttributesCreator * | getVehicleAttributes () const |
get attributes creator | |
GNETagSelector * | getVehicleTagSelector () const |
get vehicle tag selector (needed for transform vehicles) | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEVehicleFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor. | |
void | hide () |
hide Frame | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show Frame | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) | |
~GNEVehicleFrame () | |
Destructor. | |
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety) | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape | |
virtual void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... | |
virtual void | selectedOverlappedElement (GNEAttributeCarrier *AC) |
open GNEAttributesCreator extended dialog | |
Protected Member Functions | |
bool | buildVehicleOverRoute (SumoXMLTag vehicleTag, GNEDemandElement *route) |
build vehicle over route | |
bool | createPath (const bool useLastRoute) |
create path | |
void | demandElementSelected () |
selected vehicle type in DemandElementSelector | |
const std::vector< std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML | |
void | tagSelected () |
Tag selected in GNETagSelector. | |
Static Protected Member Functions | |
static FXLabel * | buildRainbow (FXComposite *parent) |
build rainbow in frame modul | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame = nullptr |
Vertical frame that holds all widgets of frame. | |
FXHorizontalFrame * | myHeaderFrame = nullptr |
fame for header elements | |
FXHorizontalFrame * | myHeaderLeftFrame = nullptr |
fame for left header elements | |
FXHorizontalFrame * | myHeaderRightFrame = nullptr |
fame for right header elements | |
GNEViewNet * | myViewNet = nullptr |
FOX need this. | |
Private Attributes | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
HelpCreation * | myHelpCreation |
Help creation. | |
GNEPathCreator * | myPathCreator |
edge path creator (used for trips and flows) | |
GNEPathLegendModule * | myPathLegend |
path legend modul | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
GNERouteHandler | myRouteHandler |
route handler | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
GNEDemandElementSelector * | myTypeSelector |
Vehicle Type selectors. | |
GNEAttributesCreator * | myVehicleAttributes |
internal vehicle attributes | |
CommonXMLStructure::SumoBaseObject * | myVehicleBaseObject |
vehicle base object | |
GNETagSelector * | myVehicleTagSelector |
vehicle tag selector (used to select diffent kind of vehicles) | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
Definition at line 42 of file GNEVehicleFrame.h.
GNEVehicleFrame::GNEVehicleFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
viewNet viewNet that uses this GNEFrame
Definition at line 125 of file GNEVehicleFrame.cpp.
References GNENet::getDemandPathManager(), GNEViewNet::getNet(), myHelpCreation, myPathCreator, myPathLegend, myTypeSelector, myVehicleAttributes, myVehicleTagSelector, SUMO_TAG_TRIP, SUMO_TAG_VTYPE, and GNETagProperties::VEHICLE.
GNEVehicleFrame::~GNEVehicleFrame | ( | ) |
bool GNEVehicleFrame::addVehicle | ( | const GNEViewNetHelper::ViewObjectsSelector & | viewObjects, |
const GNEViewNetHelper::MouseButtonKeyPressed & | mouseButtonKeyPressed | ||
) |
add vehicle element
viewObjects | collection of objects under cursor after click over view |
mouseButtonKeyPressed | key pressed during click |
Definition at line 180 of file GNEVehicleFrame.cpp.
References GNEPathCreator::addEdge(), GNEPathCreator::addJunction(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEPathCreator::addTAZ(), GNEAttributesCreator::areValuesValid(), buildVehicleOverRoute(), CommonXMLStructure::SumoBaseObject::clear(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNENetHelper::AttributeCarriers::generateDemandElementID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEViewNetHelper::ViewObjectsSelector::getDemandElementFront(), GNEViewNetHelper::ViewObjectsSelector::getEdgeFront(), GNEAttributeCarrier::getID(), GNEViewNetHelper::ViewObjectsSelector::getJunctionFront(), GNEViewNet::getNet(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEViewNetHelper::ViewObjectsSelector::getTAZFront(), GNE_TAG_FLOW_JUNCTIONS, GNE_TAG_FLOW_TAZS, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_TRIP_JUNCTIONS, GNE_TAG_TRIP_TAZS, GNE_TAG_VEHICLE_WITHROUTE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myPathCreator, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, myVehicleTagSelector, GNEFrame::myViewNet, GNEViewNet::setStatusBarText(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ID, SUMO_ATTR_TYPE, SUMO_TAG_FLOW, SUMO_TAG_NOTHING, SUMO_TAG_TRIP, TL, and GNETagProperties::vehicleRoute().
Referenced by GNEViewNet::processLeftButtonPressDemand().
|
virtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented in GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.
Definition at line 286 of file GNEFrame.cpp.
Referenced by GNEAttributesEditor::setAttribute(), and GNEAttributesEditor::toggleEnableAttribute().
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 311 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
protected |
build vehicle over route
Definition at line 564 of file GNEVehicleFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), Boundary::around(), GUISUMOAbstractView::centerTo(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEDemandElementSelector::getCurrentDemandElement(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentEdges(), GNEFrame::getPredefinedTagsMML(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GUISUMOAbstractView::getVisibleBoundary(), GNE_ATTR_POISSON, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), GNETagProperties::isRoute(), myRouteHandler, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, GNEFrame::myViewNet, SUMOVehicleParserHelper::parseFlowAttributes(), RouteHandler::parseSumoBaseObject(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEAttributesCreator::refreshAttributesCreator(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, GNEViewNet::setStatusBarText(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_BEGIN, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_MAXSPEED, SUMO_ATTR_PERIOD, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, SUMOTime_MAX, time2string(), and toString().
Referenced by addVehicle(), and createPath().
|
protectedvirtual |
create path
Reimplemented from GNEFrame.
Definition at line 309 of file GNEVehicleFrame.cpp.
References GNEPathCreator::abortPathCreation(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributesCreator::areValuesValid(), buildVehicleOverRoute(), CommonXMLStructure::SumoBaseObject::clear(), GNENetHelper::AttributeCarriers::generateDemandElementID(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEAttributeCarrier::getID(), GNEViewNet::getLastCreatedRoute(), GNEViewNet::getNet(), GNEPathCreator::getPath(), GNEFrame::getPredefinedTagsMML(), GNEPathCreator::getSelectedEdges(), GNEPathCreator::getSelectedJunctions(), GNEPathCreator::getSelectedTAZs(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNE_ATTR_POISSON, GNE_TAG_FLOW_JUNCTIONS, GNE_TAG_FLOW_TAZS, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_TRIP_JUNCTIONS, GNE_TAG_TRIP_TAZS, GNE_TAG_VEHICLE_WITHROUTE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), RGBColor::INVISIBLE, myPathCreator, myRouteHandler, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, myVehicleTagSelector, GNEFrame::myViewNet, SUMOVehicleParserHelper::parseFlowAttributes(), RouteHandler::parseSumoBaseObject(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEAttributesCreator::refreshAttributesCreator(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_BEGIN, SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_DEPART, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_PERIOD, SUMO_ATTR_REPEAT, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TYPE, SUMO_ATTR_VIA, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMOTime_MAX, time2string(), and toString().
|
protectedvirtual |
selected vehicle type in DemandElementSelector
Reimplemented from GNEFrame.
Definition at line 285 of file GNEVehicleFrame.cpp.
References GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEAttributeCarrier::getTagProperty(), GNEDemandElement::getVClass(), GNEAttributesCreator::hideAttributesCreatorModule(), GNEVehicleFrame::HelpCreation::hideHelpCreation(), GNEPathCreator::hidePathCreatorModule(), GNEPathLegendModule::hidePathLegendModule(), myHelpCreation, myPathCreator, myPathLegend, myTypeSelector, myVehicleAttributes, myVehicleTagSelector, GNEPathCreator::setVClass(), GNEAttributesCreator::showAttributesCreatorModule(), GNEVehicleFrame::HelpCreation::showHelpCreation(), and GNEPathCreator::showPathCreatorModule().
|
inherited |
focus upper element of frame
Definition at line 109 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::inspectClickedElements(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
function called after setting new width in current frame (can be reimplemented in frame children)
Reimplemented in GNETLSEditorFrame.
Definition at line 258 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 156 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
|
inherited |
get font of the header's frame
Definition at line 168 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 162 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
GNEPathCreator * GNEVehicleFrame::getPathCreator | ( | ) | const |
get GNEPathCreator module
Definition at line 246 of file GNEVehicleFrame.cpp.
References myPathCreator.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), and GNEViewNet::hotkeyEnter().
|
protectedinherited |
get predefinedTagsMML
Definition at line 305 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), buildVehicleOverRoute(), and createPath().
|
inherited |
get scrollBar width (zero if is hidden)
Definition at line 174 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
GNEDemandElementSelector * GNEVehicleFrame::getTypeSelector | ( | ) | const |
getVehicle Type selectors
Definition at line 240 of file GNEVehicleFrame.cpp.
References myTypeSelector.
GNEAttributesCreator * GNEVehicleFrame::getVehicleAttributes | ( | ) | const |
get attributes creator
Definition at line 252 of file GNEVehicleFrame.cpp.
References myVehicleAttributes.
Referenced by GNEApplicationWindow::onCmdToggleTimeFormat().
GNETagSelector * GNEVehicleFrame::getVehicleTagSelector | ( | ) | const |
get vehicle tag selector (needed for transform vehicles)
Definition at line 234 of file GNEVehicleFrame.cpp.
References myVehicleTagSelector.
Referenced by GNEDemandElement::checkDrawOverContour(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().
|
inherited |
get view net
Definition at line 150 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNENeteditAttributes::drawLaneReference(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEAttributesEditorRow::enableElements(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesEditor::enableReparent(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEAttributesEditorRow::GNEAttributesEditorRow(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesEditor::inspectParent(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributesEditor::moveLaneDown(), GNEAttributesEditor::moveLaneUp(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEAttributesEditorRow::onCmdOpenAllowDialog(), GNEAttributesEditor::onCmdOpenExtendedAttributesDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNEAttributesEditor::setAttribute(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEAttributesEditor::setNewParent(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEElementTree::showAttributeCarrierParents(), GNEAttributesEditorRow::showAttributeRow(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAttributesEditorRow::showMoveLaneButtons(), GNEAttributesEditorRow::showValueComboBox(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNEAttributesEditor::toggleEnableAttribute(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().
|
virtual |
hide Frame
Reimplemented from GNEFrame.
Definition at line 165 of file GNEVehicleFrame.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getNet(), GNEFrame::hide(), and GNEFrame::myViewNet.
Referenced by GNEVehicleFrame::HelpCreation::hideHelpCreation().
|
inherited |
Open help attributes dialog.
Definition at line 184 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, TL, TLF, toString(), and WRITE_DEBUG.
Referenced by GNEAttributesEditor::onCmdAttributesEditorHelp(), and GNEAttributesCreator::onCmdHelp().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 292 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::refreshOverlappedInspection().
|
inherited |
set width of GNEFrame
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
virtualinherited |
build a shaped element using the drawed shape
Reimplemented in GNEShapeFrame, and GNETAZFrame.
Definition at line 279 of file GNEFrame.cpp.
Referenced by GNEDrawingShape::stopDrawing().
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 156 of file GNEVehicleFrame.cpp.
References myVehicleTagSelector, GNETagSelector::refreshTagSelector(), and GNEFrame::show().
Referenced by GNEVehicleFrame::HelpCreation::showHelpCreation(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
|
protectedvirtual |
Tag selected in GNETagSelector.
Reimplemented from GNEFrame.
Definition at line 261 of file GNEVehicleFrame.cpp.
References GNETagSelector::getCurrentTemplateAC(), GNEAttributeCarrier::getTagProperty(), GNEAttributesCreator::hideAttributesCreatorModule(), GNEDemandElementSelector::hideDemandElementSelector(), GNEVehicleFrame::HelpCreation::hideHelpCreation(), GNEPathCreator::hidePathCreatorModule(), GNEPathLegendModule::hidePathLegendModule(), myHelpCreation, myPathCreator, myPathLegend, myTypeSelector, myVehicleAttributes, myVehicleTagSelector, GNEDemandElementSelector::showDemandElementSelector(), GNEPathCreator::showPathCreatorModule(), GNEPathLegendModule::showPathLegendModule(), and GNETagProperties::vehicleRouteEmbedded().
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNEGenericDataFrame, and GNEMeanDataFrame.
Definition at line 252 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 118 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 140 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 143 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
protectedinherited |
fame for header elements
Definition at line 121 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 124 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 127 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Help creation.
Definition at line 143 of file GNEVehicleFrame.h.
Referenced by demandElementSelected(), GNEVehicleFrame(), and tagSelected().
|
private |
edge path creator (used for trips and flows)
Definition at line 140 of file GNEVehicleFrame.h.
Referenced by addVehicle(), createPath(), demandElementSelected(), getPathCreator(), GNEVehicleFrame(), and tagSelected().
|
private |
path legend modul
Definition at line 146 of file GNEVehicleFrame.h.
Referenced by demandElementSelected(), GNEVehicleFrame(), and tagSelected().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 146 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
private |
route handler
Definition at line 125 of file GNEVehicleFrame.h.
Referenced by buildVehicleOverRoute(), and createPath().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 137 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().
|
private |
Vehicle Type selectors.
Definition at line 134 of file GNEVehicleFrame.h.
Referenced by addVehicle(), buildVehicleOverRoute(), createPath(), demandElementSelected(), getTypeSelector(), GNEVehicleFrame(), and tagSelected().
|
private |
internal vehicle attributes
Definition at line 137 of file GNEVehicleFrame.h.
Referenced by addVehicle(), buildVehicleOverRoute(), createPath(), demandElementSelected(), getVehicleAttributes(), GNEVehicleFrame(), and tagSelected().
|
private |
vehicle base object
Definition at line 128 of file GNEVehicleFrame.h.
Referenced by addVehicle(), buildVehicleOverRoute(), createPath(), and ~GNEVehicleFrame().
|
private |
vehicle tag selector (used to select diffent kind of vehicles)
Definition at line 131 of file GNEVehicleFrame.h.
Referenced by addVehicle(), createPath(), demandElementSelected(), getVehicleTagSelector(), GNEVehicleFrame(), show(), and tagSelected().
|
protectedinherited |
FOX need this.
View Net
Definition at line 115 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectClickedElements(), GNEInspectorFrame::inspectElement(), GNEInspectorFrame::inspectElements(), GNEProhibitionFrame::Legend::Legend(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().