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
 
GNEAttributesEditorgetEdgeTypeAttributes () 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
 
GNEAttributesEditorgetLaneTypeAttributes () 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 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.
 
GNEAttributesEditormyEdgeTypeAttributesEditor = 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
 
GNEAttributesEditormyLaneTypeAttributesEditor = 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

Definition at line 36 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 664 of file GNECreateEdgeFrame.cpp.

References GNEAttributesEditorType::CREATOR, myEdgeTypeAttributesEditor, myEdgeTypeSelector, myLaneTypeAttributesEditor, myLaneTypeSelector, and myLegend.

◆ ~GNECreateEdgeFrame()

GNECreateEdgeFrame::~GNECreateEdgeFrame ( )

Destructor.

Definition at line 680 of file GNECreateEdgeFrame.cpp.

Member Function Documentation

◆ abortEdgeCreation()

void GNECreateEdgeFrame::abortEdgeCreation ( )

abort current edge creation

Definition at line 819 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 902 of file GNECreateEdgeFrame.cpp.

References GNEViewNet::addRestrictedLane(), GNEHierarchicalElement::getChildLanes(), 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 923 of file GNECreateEdgeFrame.cpp.

References GNEViewNet::addRestrictedLane(), GNEHierarchicalElement::getChildLanes(), 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:

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( SumoXMLAttr  attribute)
virtualinherited

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

Reimplemented in GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.

Definition at line 227 of file GNEFrame.cpp.

Referenced by GNEAttributesEditorType::setAttribute(), and GNEAttributesEditorType::toggleEnableAttribute().

Here is the caller graph for this function:

◆ buildRainbow()

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

build rainbow in frame modul

Definition at line 252 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 239 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 214 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 883 of file GNECreateEdgeFrame.cpp.

References GNEHierarchicalElement::getChildLanes(), 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 111 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::inspectClickedElements(), 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 199 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 158 of file GNEFrame.cpp.

References GNEFrame::myContentFrame.

◆ getEdgeTypeAttributes()

GNEAttributesEditor * GNECreateEdgeFrame::getEdgeTypeAttributes ( ) const

get edgeType attributes

Definition at line 858 of file GNECreateEdgeFrame.cpp.

References myEdgeTypeAttributesEditor.

Referenced by GNEEdgeType::setAttribute().

Here is the caller graph for this function:

◆ getEdgeTypeSelector()

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

get edgeType selector

Definition at line 852 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 170 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 164 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEInspectorFrame::refreshInspection().

Here is the caller graph for this function:

◆ getJunctionSource()

const GNEJunction * GNECreateEdgeFrame::getJunctionSource ( ) const

get junction source for new edge

Definition at line 830 of file GNECreateEdgeFrame.cpp.

References myJunctionSource.

Referenced by GNEViewNet::drawTemporalJunction().

Here is the caller graph for this function:

◆ getLaneTypeAttributes()

GNEAttributesEditor * GNECreateEdgeFrame::getLaneTypeAttributes ( ) const

get laneType attributes

Definition at line 870 of file GNECreateEdgeFrame.cpp.

References myLaneTypeAttributesEditor.

Referenced by GNELaneType::setAttribute().

Here is the caller graph for this function:

◆ getLaneTypeSelector()

GNECreateEdgeFrame::LaneTypeSelector * GNECreateEdgeFrame::getLaneTypeSelector ( )

get lane type selector

Definition at line 864 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 246 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 176 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 152 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(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEAttributesEditorType::buildRows(), GNETLSTable::Cell::Cell(), GNEAttributesEditorType::checkAttributes(), GNEDeleteFrame::SubordinatedElements::checkElements(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEViewObjectSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNEMatchAttribute::CurrentEditedProperties::CurrentEditedProperties(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEAttributesEditorRow::enableElements(), GNEAttributesEditorType::enableReparent(), GNEAttributesEditorRow::getAttributeValue(), GNEMatchAttribute::getMatches(), GNEInternalLane::getPopUpMenu(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEMatchAttribute::GNEMatchAttribute(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesEditorType::inspectParent(), GNEElementTree::isSupermodeValid(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributesEditorType::moveLaneDown(), GNEAttributesEditorType::moveLaneUp(), GNEAttributesEditorType::onCmdAttributesEditorReset(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEMatchAttribute::onCmdHelp(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorType::onCmdOpenEditParametersDialog(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEAttributesEditorRow::onCmdOpenVClassDialog(), GNEOverlappedInspection::onCmdOverlappingHelp(), MFXGroupBoxModule::onCmdResetButton(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNETagSelector::onCmdSelectTag(), GNEViewObjectSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNEAttributesEditorType::setAttribute(), GNETagSelector::setCurrentTag(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEAttributesEditorType::setNewParent(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEElementTree::showAttributeCarrierParents(), GNEAttributesEditorRow::showAttributeRow(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAttributesEditorRow::showMoveLaneButtons(), GNEAttributesEditorRow::showValueComboBox(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNEAttributesEditorType::toggleEnableAttribute(), GNEViewObjectSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNETagSelector::updateTagTypes().

◆ hide()

void GNECreateEdgeFrame::hide ( )
virtual

hide create edge frame

Reimplemented from GNEFrame.

Definition at line 845 of file GNECreateEdgeFrame.cpp.

References GNEFrame::hide().

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

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

void GNEFrame::openHelpAttributesDialog ( const GNEAttributeCarrier AC) const
inherited

Open help attributes dialog.

Definition at line 186 of file GNEFrame.cpp.

References GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), and GNEFrame::myViewNet.

Referenced by GNEAttributesEditorType::onCmdAttributesEditorHelp().

Here is the caller graph for this function:

◆ 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 684 of file GNECreateEdgeFrame.cpp.

References addBikelane(), addSidewalk(), GNEUndoList::begin(), GNEAttributesEditor::checkAttributes(), 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(), myEdgeTypeAttributesEditor, myEdgeTypeSelector, myJunctionSource, myLaneTypeAttributesEditor, 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 233 of file GNEFrame.cpp.

Referenced by GNEOverlappedInspection::refreshOverlappedInspection().

Here is the caller graph for this function:

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( const int  newWidth)
inherited

set width of GNEFrame

Definition at line 135 of file GNEFrame.cpp.

References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.

Referenced by GNEInspectorFrame::refreshInspection().

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 220 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 836 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 208 of file GNEFrame.cpp.

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

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 193 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 124 of file GNEFrame.h.

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

◆ myEdgeTypeAttributesEditor

GNEAttributesEditor* GNECreateEdgeFrame::myEdgeTypeAttributesEditor = nullptr
protected

internal edgeType attributes

Definition at line 293 of file GNECreateEdgeFrame.h.

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

◆ myEdgeTypeSelector

EdgeTypeSelector* GNECreateEdgeFrame::myEdgeTypeSelector = nullptr
protected

edge type selector

Definition at line 290 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 146 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 149 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 127 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

fame for left header elements

Definition at line 130 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), and GNEInspectorFrame::refreshInspection().

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 133 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myJunctionSource

GNEJunction* GNECreateEdgeFrame::myJunctionSource
private

source junction for new edge

Definition at line 315 of file GNECreateEdgeFrame.h.

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

◆ myLaneTypeAttributesEditor

GNEAttributesEditor* GNECreateEdgeFrame::myLaneTypeAttributesEditor = nullptr
protected

internal laneType attributes

Definition at line 299 of file GNECreateEdgeFrame.h.

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

◆ myLaneTypeSelector

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

lane type selector

Definition at line 296 of file GNECreateEdgeFrame.h.

Referenced by getLaneTypeSelector(), and GNECreateEdgeFrame().

◆ myLegend

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

Legend.

Definition at line 302 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 152 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 143 of file GNEFrame.h.

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

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 121 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(), addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), 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(), GNEStopFrame::getStopParameter(), 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(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectClickedElements(), GNEInspectorFrame::inspectElement(), GNEInspectorFrame::inspectElements(), GNETLSEditorFrame::isTLSSaved(), GNEProhibitionFrame::Legend::Legend(), GNEFrame::openHelpAttributesDialog(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), 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(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEWireFrame::show(), and GNEAdditionalFrame::tagSelected().


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