Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNECreateEdgeFrame Class Reference

#include <GNECreateEdgeFrame.h>

Inheritance diagram for GNECreateEdgeFrame:
[legend]
Collaboration diagram for GNECreateEdgeFrame:
[legend]

Data Structures

class  EdgeTypeSelector
 
class  LaneTypeSelector
 
class  Legend
 

Public Member Functions

void abortEdgeCreation ()
 abort current edge creation
 
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
 
GNEAttributesCreatorgetEdgeTypeAttributes () const
 get edgeType attributes
 
EdgeTypeSelectorgetEdgeTypeSelector () const
 get edgeType selector
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header
 
const GNEJunctiongetJunctionSource () const
 get junction source for new edge
 
GNEAttributesCreatorgetLaneTypeAttributes () const
 get laneType attributes
 
LaneTypeSelectorgetLaneTypeSelector ()
 get lane type selector
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden)
 
GNEViewNetgetViewNet () const
 get view net
 
 GNECreateEdgeFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor.
 
void hide ()
 hide create edge frame
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog.
 
void processClick (const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const bool oppositeEdge, const bool chainEdge)
 handle processClick and set the relative coloring
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame
 
void setUseEdgeTemplate ()
 set default to using edge template
 
void show ()
 show create edge frame
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children)
 
 ~GNECreateEdgeFrame ()
 Destructor.
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
virtual void tagSelected ()
 Tag selected in GNETagSelector.
 
virtual void demandElementSelected ()
 selected demand element in DemandElementSelector
 
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 attributesEditorExtendedDialogOpened ()
 open GNEAttributesCreator extended dialog
 
virtual void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements
 

Protected Member Functions

void addBikelane (GNEEdge *edge, const std::string &bikelaneWidth) const
 add bikelane in the given edge
 
void addSidewalk (GNEEdge *edge, const std::string &sidewalkWidth) const
 add sidewalk in the given edge
 
void disablePedestrians (GNEEdge *edge) const
 disable pedestrians in the given edge (within undoRedo)
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML
 

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.
 
GNEAttributesCreatormyEdgeTypeAttributes = nullptr
 internal edgeType attributes
 
EdgeTypeSelectormyEdgeTypeSelector = nullptr
 edge type selector
 
FXHorizontalFrame * myHeaderFrame = nullptr
 fame for header elements
 
FXHorizontalFrame * myHeaderLeftFrame = nullptr
 fame for left header elements
 
FXHorizontalFrame * myHeaderRightFrame = nullptr
 fame for right header elements
 
GNEAttributesCreatormyLaneTypeAttributes = nullptr
 internal laneType attributes
 
GNECreateEdgeFrame::LaneTypeSelectormyLaneTypeSelector = nullptr
 lane type selector
 
GNECreateEdgeFrame::LegendmyLegend = nullptr
 Legend.
 
GNEViewNetmyViewNet = nullptr
 FOX need this.
 

Private Attributes

FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
GNEJunctionmyJunctionSource
 source junction for new edge
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame
 

Static Private Attributes

static FXFont * myFrameHeaderFont = nullptr
 static Font for the Header (it's common for all headers, then create only one time)
 

Detailed Description

The Widget for create edges

Definition at line 40 of file GNECreateEdgeFrame.h.

Constructor & Destructor Documentation

◆ GNECreateEdgeFrame()

GNECreateEdgeFrame::GNECreateEdgeFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

Constructor.

viewParent GNEViewParent in which this GNEFrame is placed

viewNet viewNet that uses this GNEFrame

Definition at line 667 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeAttributes, myEdgeTypeSelector, myLaneTypeAttributes, myLaneTypeSelector, and myLegend.

◆ ~GNECreateEdgeFrame()

GNECreateEdgeFrame::~GNECreateEdgeFrame ( )

Destructor.

Definition at line 683 of file GNECreateEdgeFrame.cpp.

Member Function Documentation

◆ abortEdgeCreation()

void GNECreateEdgeFrame::abortEdgeCreation ( )

abort current edge creation

Definition at line 826 of file GNECreateEdgeFrame.cpp.

References myJunctionSource, and GNEJunction::unMarkAsCreateEdgeSource().

Referenced by GNEViewNet::abortOperation().

Here is the caller graph for this function:

◆ addBikelane()

void GNECreateEdgeFrame::addBikelane ( GNEEdge edge,
const std::string &  bikelaneWidth 
) const
protected

add bikelane in the given edge

Definition at line 909 of file GNECreateEdgeFrame.cpp.

References GNEViewNet::addRestrictedLane(), GNEEdge::getLanes(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEFrame::myViewNet, SUMO_ATTR_ALLOW, SUMO_ATTR_WIDTH, and SVC_BICYCLE.

Referenced by processClick().

Here is the caller graph for this function:

◆ addSidewalk()

void GNECreateEdgeFrame::addSidewalk ( GNEEdge edge,
const std::string &  sidewalkWidth 
) const
protected

add sidewalk in the given edge

Definition at line 930 of file GNECreateEdgeFrame.cpp.

References GNEViewNet::addRestrictedLane(), GNEEdge::getLanes(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEFrame::myViewNet, SUMO_ATTR_ALLOW, SUMO_ATTR_WIDTH, and SVC_PEDESTRIAN.

Referenced by processClick().

Here is the caller graph for this function:

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 292 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( SumoXMLAttr  attribute)
virtualinherited

function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...

Reimplemented in GNEInspectorFrame, GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.

Definition at line 286 of file GNEFrame.cpp.

◆ buildRainbow()

FXLabel * GNEFrame::buildRainbow ( FXComposite *  parent)
staticprotectedinherited

build rainbow in frame modul

Definition at line 317 of file GNEFrame.cpp.

References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.

Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().

Here is the caller graph for this function:

◆ createPath()

bool GNEFrame::createPath ( const bool  useLastRoute)
virtualinherited

create path between two elements

Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.

Definition at line 304 of file GNEFrame.cpp.

Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().

Here is the caller graph for this function:

◆ demandElementSelected()

void GNEFrame::demandElementSelected ( )
virtualinherited

selected demand element in DemandElementSelector

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.

Definition at line 273 of file GNEFrame.cpp.

Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().

Here is the caller graph for this function:

◆ disablePedestrians()

void GNECreateEdgeFrame::disablePedestrians ( GNEEdge edge) const
protected

disable pedestrians in the given edge (within undoRedo)

Definition at line 890 of file GNECreateEdgeFrame.cpp.

References GNEEdge::getLanes(), GNEViewNet::getUndoList(), GNEFrame::myViewNet, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, and toString().

Referenced by processClick().

Here is the caller graph for this function:

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

focus upper element of frame

Definition at line 109 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ frameWidthUpdated()

void GNEFrame::frameWidthUpdated ( )
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().

Here is the caller graph for this function:

◆ getContentFrame()

FXVerticalFrame * GNEFrame::getContentFrame ( ) const
inherited

get vertical frame that holds all widgets of frame

Definition at line 156 of file GNEFrame.cpp.

References GNEFrame::myContentFrame.

◆ getEdgeTypeAttributes()

GNEAttributesCreator * GNECreateEdgeFrame::getEdgeTypeAttributes ( ) const

get edgeType attributes

Definition at line 865 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeAttributes.

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ getEdgeTypeSelector()

GNECreateEdgeFrame::EdgeTypeSelector * GNECreateEdgeFrame::getEdgeTypeSelector ( ) const

get edgeType selector

Definition at line 859 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeSelector.

Referenced by GNEEdgeType::isAttributeEnabled(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdReloadEdgeTypes(), GNEChange_EdgeType::redo(), GNEEdgeType::setAttribute(), and GNEChange_EdgeType::undo().

Here is the caller graph for this function:

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 168 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 162 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEInspectorFrame::inspectMultisection().

Here is the caller graph for this function:

◆ getJunctionSource()

const GNEJunction * GNECreateEdgeFrame::getJunctionSource ( ) const

get junction source for new edge

Definition at line 837 of file GNECreateEdgeFrame.cpp.

References myJunctionSource.

Referenced by GNEViewNet::drawTemporalJunction().

Here is the caller graph for this function:

◆ getLaneTypeAttributes()

GNEAttributesCreator * GNECreateEdgeFrame::getLaneTypeAttributes ( ) const

get laneType attributes

Definition at line 877 of file GNECreateEdgeFrame.cpp.

References myLaneTypeAttributes.

Referenced by GNELaneType::setAttribute().

Here is the caller graph for this function:

◆ getLaneTypeSelector()

GNECreateEdgeFrame::LaneTypeSelector * GNECreateEdgeFrame::getLaneTypeSelector ( )

get lane type selector

Definition at line 871 of file GNECreateEdgeFrame.cpp.

References myLaneTypeSelector.

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ getPredefinedTagsMML()

const std::vector< std::string > & GNEFrame::getPredefinedTagsMML ( ) const
protectedinherited

get predefinedTagsMML

Definition at line 311 of file GNEFrame.cpp.

References GNEFrame::myPredefinedTagsMML.

Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().

Here is the caller graph for this function:

◆ getScrollBarWidth()

int GNEFrame::getScrollBarWidth ( ) const
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().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
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(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEInspectorFrame::clearInspectedAC(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), 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(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().

◆ hide()

void GNECreateEdgeFrame::hide ( )
virtual

hide create edge frame

Reimplemented from GNEFrame.

Definition at line 852 of file GNECreateEdgeFrame.cpp.

References GNEFrame::hide().

Referenced by GNECreateEdgeFrame::LaneTypeSelector::hideLaneTypeSelector().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

◆ processClick()

void GNECreateEdgeFrame::processClick ( const Position clickedPosition,
const GNEViewNetHelper::ViewObjectsSelector viewObjects,
const bool  oppositeEdge,
const bool  chainEdge 
)

handle processClick and set the relative coloring

Parameters
[in]clickedPositionclicked position over ViewNet
viewObjectscollection of objects under cursor after click over view
oppositeEdgeautomatically create an opposite edge
chainEdgecreate edges in chain mode

Definition at line 687 of file GNECreateEdgeFrame.cpp.

References addBikelane(), addSidewalk(), GNEAttributesCreator::areValuesValid(), GNEUndoList::begin(), GNEEdge::copyEdgeType(), GNEEdge::copyTemplate(), GNENet::createEdge(), GNENet::createJunction(), disablePedestrians(), EDGE, GNEUndoList::end(), GNEEdgeType::getAttribute(), GNENet::getAttributeCarriers(), GNECreateEdgeFrame::EdgeTypeSelector::getDefaultEdgeType(), GNEInspectorFrame::TemplateEditor::getEdgeTemplate(), GNECreateEdgeFrame::EdgeTypeSelector::getEdgeTypeSelected(), NBEdge::getID(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ViewObjectsSelector::getJunctionFront(), GNEEdge::getNBEdge(), GNEViewNet::getNet(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), GUISUMOAbstractView::getVisualisationSettings(), GNEUndoList::hasCommandGroup(), GNECreateEdgeFrame::EdgeTypeSelector::isAddBikelaneEnabled(), GNECreateEdgeFrame::EdgeTypeSelector::isAddSidewalkEnabled(), GNECreateEdgeFrame::EdgeTypeSelector::isNoPedestriansEnabled(), GNEJunction::markAsCreateEdgeSource(), myEdgeTypeAttributes, myEdgeTypeSelector, myJunctionSource, myLaneTypeAttributes, GNEFrame::myViewNet, GNENetHelper::AttributeCarriers::retrieveEdges(), GNEViewNet::setStatusBarText(), GUIVisualizationSettings::showGrid, GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_BIKELANEWIDTH, SUMO_ATTR_SIDEWALKWIDTH, TL, GNEJunction::unMarkAsCreateEdgeSource(), GNEViewNet::updateObjectsInPosition(), GNECreateEdgeFrame::EdgeTypeSelector::useDefaultEdgeType(), GNECreateEdgeFrame::EdgeTypeSelector::useDefaultEdgeTypeShort(), GNECreateEdgeFrame::EdgeTypeSelector::useEdgeTemplate(), and WRITE_WARNING.

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ selectedOverlappedElement()

void GNEFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.

Definition at line 298 of file GNEFrame.cpp.

Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().

Here is the caller graph for this function:

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( const int  newWidth)
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::inspectMultisection().

Here is the caller graph for this function:

◆ setUseEdgeTemplate()

void GNECreateEdgeFrame::setUseEdgeTemplate ( )

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
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().

Here is the caller graph for this function:

◆ show()

void GNECreateEdgeFrame::show ( )
virtual

show create edge frame

Reimplemented from GNEFrame.

Definition at line 843 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeSelector, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), and GNEFrame::show().

Referenced by GNECreateEdgeFrame::LaneTypeSelector::showLaneTypeSelector(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ tagSelected()

void GNEFrame::tagSelected ( )
virtualinherited

Tag selected in GNETagSelector.

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.

Definition at line 267 of file GNEFrame.cpp.

Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().

Here is the caller graph for this function:

◆ updateFrameAfterUndoRedo()

void GNEFrame::updateFrameAfterUndoRedo ( )
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().

Here is the caller graph for this function:

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame = nullptr
protectedinherited

Vertical frame that holds all widgets of frame.

Definition at line 120 of file GNEFrame.h.

Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().

◆ myEdgeTypeAttributes

GNEAttributesCreator* GNECreateEdgeFrame::myEdgeTypeAttributes = nullptr
protected

internal edgeType attributes

Definition at line 297 of file GNECreateEdgeFrame.h.

Referenced by getEdgeTypeAttributes(), GNECreateEdgeFrame(), and processClick().

◆ myEdgeTypeSelector

EdgeTypeSelector* GNECreateEdgeFrame::myEdgeTypeSelector = nullptr
protected

edge type selector

Definition at line 294 of file GNECreateEdgeFrame.h.

Referenced by getEdgeTypeSelector(), GNECreateEdgeFrame(), processClick(), setUseEdgeTemplate(), and show().

◆ myFrameHeaderFont

FXFont * GNEFrame::myFrameHeaderFont = nullptr
staticprivateinherited

static Font for the Header (it's common for all headers, then create only one time)

Definition at line 142 of file GNEFrame.h.

Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel = nullptr
privateinherited

the label for the frame's header

Definition at line 145 of file GNEFrame.h.

Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame = nullptr
protectedinherited

fame for header elements

Definition at line 123 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 129 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myJunctionSource

GNEJunction* GNECreateEdgeFrame::myJunctionSource
private

source junction for new edge

Definition at line 319 of file GNECreateEdgeFrame.h.

Referenced by abortEdgeCreation(), getJunctionSource(), and processClick().

◆ myLaneTypeAttributes

GNEAttributesCreator* GNECreateEdgeFrame::myLaneTypeAttributes = nullptr
protected

internal laneType attributes

Definition at line 303 of file GNECreateEdgeFrame.h.

Referenced by getLaneTypeAttributes(), GNECreateEdgeFrame(), and processClick().

◆ myLaneTypeSelector

GNECreateEdgeFrame::LaneTypeSelector* GNECreateEdgeFrame::myLaneTypeSelector = nullptr
protected

lane type selector

Definition at line 300 of file GNECreateEdgeFrame.h.

Referenced by getLaneTypeSelector(), and GNECreateEdgeFrame().

◆ myLegend

GNECreateEdgeFrame::Legend* GNECreateEdgeFrame::myLegend = nullptr
protected

Legend.

Definition at line 306 of file GNECreateEdgeFrame.h.

Referenced by GNECreateEdgeFrame().

◆ myPredefinedTagsMML

std::vector<std::string> GNEFrame::myPredefinedTagsMML
privateinherited

Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)

Definition at line 148 of file GNEFrame.h.

Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents = nullptr
privateinherited

scroll windows that holds the content frame

Definition at line 139 of file GNEFrame.h.

Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEInspectorFrame::clearInspectedAC(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), 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(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), 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().


The documentation for this class was generated from the following files: