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

#include <GNEAdditionalFrame.h>

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

Data Structures

class  E2MultilaneLegendModule
 
class  HelpCreationModule
 

Public Member Functions

bool addAdditional (const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 add additional element
 
bool createPath (const bool useLastRoute)
 create path
 
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)
 
GNEConsecutiveSelectorgetConsecutiveLaneSelector () const
 get consecutive lane selector
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame
 
GNENetworkSelectorgetEdgesSelector () const
 get edges selector
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header
 
GNENetworkSelectorgetLanesSelector () const
 get edges selector
 
GNENeteditAttributesgetNeteditAttributes () const
 get Netedit parameter
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden)
 
GNEViewNetgetViewNet () const
 get view net
 
 GNEAdditionalFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor.
 
virtual 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)
 
 ~GNEAdditionalFrame ()
 Destructor.
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
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
 

Protected Member Functions

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

CommonXMLStructure::SumoBaseObjectmyBaseAdditional = nullptr
 SumoBaseObject used for create additional.
 
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
 
GNEViewNetmyViewNet = nullptr
 FOX need this.
 

Private Member Functions

bool buildAdditionalCommonAttributes (const GNETagProperties &tagValues)
 build common additional attributes
 
bool buildAdditionalOverEdge (GNELane *lane, const GNETagProperties &tagValues)
 build additional over an edge (parent of lane)
 
bool buildAdditionalOverLane (GNELane *lane, const GNETagProperties &tagValues)
 build additional over a single lane
 
bool buildAdditionalOverView (const GNETagProperties &tagValues)
 build additional over view
 
bool createBaseAdditionalObject (const GNETagProperties &tagProperty)
 

Private Attributes

GNEAttributesCreatormyAdditionalAttributes = nullptr
 internal additional attributes
 
GNETagSelectormyAdditionalTagSelector = nullptr
 item selector
 
GNEConsecutiveSelectormyConsecutiveLaneSelector = nullptr
 Module for select consecutive lanes.
 
E2MultilaneLegendModulemyE2MultilaneLegendModule = nullptr
 Module for show E2 Detector legend.
 
GNENetworkSelectormyEdgesSelector = nullptr
 Module for select edges.
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
HelpCreationModulemyHelpCreationModule = nullptr
 Module for show additional help legend.
 
GNENetworkSelectormyLanesSelector = nullptr
 Module for select lanes.
 
GNENeteditAttributesmyNeteditAttributes = nullptr
 Netedit parameter.
 
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
 
GNESelectorParentmySelectorAdditionalParent = nullptr
 Module for select a single parent additional.
 

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 setting internal attributes of additional elements

Definition at line 39 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

◆ GNEAdditionalFrame()

◆ ~GNEAdditionalFrame()

GNEAdditionalFrame::~GNEAdditionalFrame ( )

Destructor.

Definition at line 167 of file GNEAdditionalFrame.cpp.

References myBaseAdditional.

Member Function Documentation

◆ addAdditional()

◆ 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 286 of file GNEFrame.cpp.

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

Here is the caller graph for this function:

◆ buildAdditionalCommonAttributes()

◆ buildAdditionalOverEdge()

◆ buildAdditionalOverLane()

bool GNEAdditionalFrame::buildAdditionalOverLane ( GNELane lane,
const GNETagProperties tagValues 
)
private

build additional over a single lane

Definition at line 501 of file GNEAdditionalFrame.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEAttributeCarrier::getID(), GNELane::getLaneShape(), GNELane::getLengthGeometryFactor(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEViewNet::getViewParent(), GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_ACCESS, and toString().

Referenced by addAdditional().

Here is the caller graph for this function:

◆ buildAdditionalOverView()

bool GNEAdditionalFrame::buildAdditionalOverView ( const GNETagProperties tagValues)
private

build additional over view

Definition at line 547 of file GNEAdditionalFrame.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNEAdditional::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEViewNet::getViewParent(), GNE_TAG_CALIBRATOR_FLOW, GNETagProperties::hasAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNENetHelper::AttributeCarriers::retrieveAdditional(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), string2time(), SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TIME, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_STEP, SUMO_TAG_VSS, TIME2STEPS, TL, WRITE_WARNING, Position::x(), Position::y(), and Position::z().

Referenced by addAdditional().

Here is the caller graph for this function:

◆ buildRainbow()

FXLabel * GNEFrame::buildRainbow ( FXComposite *  parent)
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().

Here is the caller graph for this function:

◆ createBaseAdditionalObject()

◆ createPath()

bool GNEAdditionalFrame::createPath ( const bool  useLastRoute)
virtual

create path

Reimplemented from GNEFrame.

Definition at line 258 of file GNEAdditionalFrame.cpp.

References GNEConsecutiveSelector::abortPathCreation(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), createBaseAdditionalObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNETagSelector::getCurrentTemplateAC(), GNEViewParent::getGNEAppWindows(), GNEConsecutiveSelector::getLaneIDPath(), GNEConsecutiveSelector::getLanePath(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getViewParent(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, myConsecutiveLaneSelector, myNeteditAttributes, mySelectorAdditionalParent, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ENDPOS, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_POSITION, TL, and WRITE_WARNING.

Referenced by GNEViewNet::hotkeyEnter().

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:

◆ 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::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 258 of file GNEFrame.cpp.

Referenced by GNEFrame::setFrameWidth().

Here is the caller graph for this function:

◆ getConsecutiveLaneSelector()

GNEConsecutiveSelector * GNEAdditionalFrame::getConsecutiveLaneSelector ( ) const

get consecutive lane selector

Definition at line 246 of file GNEAdditionalFrame.cpp.

References myConsecutiveLaneSelector.

Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), and GNEViewNet::hotkeyBackSpace().

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.

◆ getEdgesSelector()

GNENetworkSelector * GNEAdditionalFrame::getEdgesSelector ( ) const

get edges selector

Definition at line 234 of file GNEAdditionalFrame.cpp.

References myEdgesSelector.

Referenced by GNEViewNet::abortOperation().

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::refreshInspection().

Here is the caller graph for this function:

◆ getLanesSelector()

GNENetworkSelector * GNEAdditionalFrame::getLanesSelector ( ) const

get edges selector

Definition at line 240 of file GNEAdditionalFrame.cpp.

References myLanesSelector.

Referenced by GNEViewNet::abortOperation().

Here is the caller graph for this function:

◆ getNeteditAttributes()

GNENeteditAttributes * GNEAdditionalFrame::getNeteditAttributes ( ) const

get Netedit parameter

Definition at line 252 of file GNEAdditionalFrame.cpp.

References myNeteditAttributes.

Referenced by GNEViewNet::drawNeteditAttributesReferences().

Here is the caller graph for this function:

◆ getPredefinedTagsMML()

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

get predefinedTagsMML

Definition at line 305 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(), 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().

◆ hide()

void GNEFrame::hide ( )
virtualinherited

hide Frame

Note
some GNEFrames needs a re-implementation

Reimplemented in GNEDeleteFrame, GNEInspectorFrame, GNEMoveFrame, GNESelectorFrame, GNEGenericDataFrame, GNEMeanDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNECreateEdgeFrame, GNECrossingFrame, GNEProhibitionFrame, and GNETAZFrame.

Definition at line 124 of file GNEFrame.cpp.

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

Referenced by GNEDeleteFrame::hide(), GNEInspectorFrame::hide(), GNEMoveFrame::hide(), GNESelectorFrame::hide(), GNEGenericDataFrame::hide(), GNEMeanDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNECreateEdgeFrame::hide(), GNECrossingFrame::hide(), GNEProhibitionFrame::hide(), GNETAZFrame::hide(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNETLSEditorFrame::TLSAttributes::hideTLSAttributes(), GNETLSEditorFrame::TLSDefinition::hideTLSDefinition(), GNETLSEditorFrame::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

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

◆ selectedOverlappedElement()

void GNEFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.

Definition at line 292 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 133 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:

◆ 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 GNEAdditionalFrame::show ( )
virtual

show Frame

Reimplemented from GNEFrame.

Definition at line 176 of file GNEAdditionalFrame.cpp.

References myAdditionalTagSelector, GNEFrame::myViewNet, GNETagSelector::refreshTagSelector(), GNEViewNet::resetLastClickedPosition(), and GNEFrame::show().

Referenced by GNEAdditionalFrame::E2MultilaneLegendModule::showE2MultilaneLegend(), GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ tagSelected()

◆ 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

◆ myAdditionalAttributes

GNEAttributesCreator* GNEAdditionalFrame::myAdditionalAttributes = nullptr
private

◆ myAdditionalTagSelector

GNETagSelector* GNEAdditionalFrame::myAdditionalTagSelector = nullptr
private

◆ myBaseAdditional

CommonXMLStructure::SumoBaseObject* GNEAdditionalFrame::myBaseAdditional = nullptr
protected

◆ myConsecutiveLaneSelector

GNEConsecutiveSelector* GNEAdditionalFrame::myConsecutiveLaneSelector = nullptr
private

Module for select consecutive lanes.

Definition at line 167 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), createPath(), getConsecutiveLaneSelector(), GNEAdditionalFrame(), and tagSelected().

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame = nullptr
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().

◆ myE2MultilaneLegendModule

E2MultilaneLegendModule* GNEAdditionalFrame::myE2MultilaneLegendModule = nullptr
private

Module for show E2 Detector legend.

Definition at line 173 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ myEdgesSelector

GNENetworkSelector* GNEAdditionalFrame::myEdgesSelector = nullptr
private

◆ 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 140 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 143 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 121 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

fame for left header elements

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

Referenced by GNEFrame::GNEFrame().

◆ myHelpCreationModule

HelpCreationModule* GNEAdditionalFrame::myHelpCreationModule = nullptr
private

Module for show additional help legend.

Definition at line 170 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ myLanesSelector

GNENetworkSelector* GNEAdditionalFrame::myLanesSelector = nullptr
private

◆ myNeteditAttributes

GNENeteditAttributes* GNEAdditionalFrame::myNeteditAttributes = nullptr
private

Netedit parameter.

Definition at line 155 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), createPath(), getNeteditAttributes(), GNEAdditionalFrame(), and tagSelected().

◆ myPredefinedTagsMML

std::vector<std::string> GNEFrame::myPredefinedTagsMML
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().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents = nullptr
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().

◆ mySelectorAdditionalParent

GNESelectorParent* GNEAdditionalFrame::mySelectorAdditionalParent = nullptr
private

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 115 of file GNEFrame.h.

Referenced by 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(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), 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(), GNEVehicleFrame::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(), show(), GNEStopFrame::tagSelected(), and tagSelected().


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