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)
 
GNETagSelectorgetAdditionalTagSelector () const
 get additional tag selector
 
GNEAttributesEditorgetAttributesEditor () const
 get attribtues editor
 
GNEConsecutiveSelectorgetConsecutiveLaneSelector () const
 get consecutive lane selector
 
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
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden)
 
GNEViewNetgetViewNet () const
 get view net
 
GNEViewObjectSelectorgetViewObjetsSelector () const
 get module for select view objects
 
 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
 
Position myLastClickedPosition
 last clicked position
 
GNEViewNetmyViewNet = nullptr
 FOX need this.
 

Private Member Functions

bool initBaseAdditionalObject (const GNETagProperties *tagProperty, const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 
void resetBaseAdditionalObject ()
 

Private Attributes

GNEAttributesEditormyAdditionalAttributesEditor = nullptr
 additional attributes editor
 
GNETagSelectormyAdditionalTagSelector = nullptr
 item selector
 
GNEConsecutiveSelectormyConsecutiveLaneSelector = nullptr
 Module for select consecutive lanes.
 
E2MultilaneLegendModulemyE2MultilaneLegendModule = nullptr
 Module for show E2 Detector legend.
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
HelpCreationModulemyHelpCreationModule = nullptr
 Module for show additional help legend.
 
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.
 
GNEViewObjectSelectormyViewObjetsSelector = nullptr
 Module for select view objects.
 

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 40 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

◆ GNEAdditionalFrame()

GNEAdditionalFrame::GNEAdditionalFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

◆ ~GNEAdditionalFrame()

GNEAdditionalFrame::~GNEAdditionalFrame ( )

Destructor.

Definition at line 163 of file GNEAdditionalFrame.cpp.

References myBaseAdditional.

Member Function Documentation

◆ addAdditional()

bool GNEAdditionalFrame::addAdditional ( const GNEViewNetHelper::ViewObjectsSelector viewObjects)

add additional element

Parameters
viewObjectscollection of objects under cursor after click over view
Returns
true if additional was successfully added

Definition at line 183 of file GNEAdditionalFrame.cpp.

References GNEConsecutiveSelector::addLane(), GNEAttributesEditor::checkAttributes(), GNEViewObjectSelector::clearSelection(), GNEAttributesEditor::fillSumoBaseObject(), GNEViewObjectSelector::fillSumoBaseObject(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNETagSelector::getCurrentTemplateAC(), GNEViewParent::getGNEAppWindows(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNEViewNet::getMouseButtonKeyPressed(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getViewParent(), GNE_ATTR_ADDITIONAL_FILE, GNE_TAG_CALIBRATOR_FLOW, GNE_TAG_MULTI_LANE_AREA_DETECTOR, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), initBaseAdditionalObject(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributesEditor, myAdditionalTagSelector, myBaseAdditional, myConsecutiveLaneSelector, myLastClickedPosition, mySelectorAdditionalParent, GNEFrame::myViewNet, myViewObjetsSelector, AdditionalHandler::parseSumoBaseObject(), GNEAttributesEditor::refreshAttributesEditor(), GNESelectorParent::refreshSelectorParentModule(), resetBaseAdditionalObject(), GNEViewNet::setStatusBarText(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), 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, TL, GNEViewObjectSelector::toggleSelectedElement(), GNEViewObjectSelector::toggleSelectedLane(), and WRITE_WARNING.

Referenced by GNEViewNet::processLeftButtonPressNetwork().

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 GNEAdditionalFrame::createPath ( const bool  useLastRoute)
virtual

◆ 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:

◆ 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:

◆ getAdditionalTagSelector()

GNETagSelector * GNEAdditionalFrame::getAdditionalTagSelector ( ) const

get additional tag selector

Definition at line 260 of file GNEAdditionalFrame.cpp.

References myAdditionalTagSelector.

◆ getAttributesEditor()

GNEAttributesEditor * GNEAdditionalFrame::getAttributesEditor ( ) const

get attribtues editor

Definition at line 272 of file GNEAdditionalFrame.cpp.

References myAdditionalAttributesEditor.

◆ getConsecutiveLaneSelector()

GNEConsecutiveSelector * GNEAdditionalFrame::getConsecutiveLaneSelector ( ) const

get consecutive lane selector

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

References GNEFrame::myContentFrame.

◆ 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:

◆ 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().

◆ getViewObjetsSelector()

GNEViewObjectSelector * GNEAdditionalFrame::getViewObjetsSelector ( ) const

get module for select view objects

Definition at line 278 of file GNEAdditionalFrame.cpp.

References myViewObjetsSelector.

Referenced by GNEViewNet::abortOperation().

Here is the caller graph for this function:

◆ 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 126 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::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETLSEditorFrame::TLSPrograms::hideTLSPrograms(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().

Here is the caller graph for this function:

◆ initBaseAdditionalObject()

bool GNEAdditionalFrame::initBaseAdditionalObject ( const GNETagProperties tagProperty,
const GNEViewNetHelper::ViewObjectsSelector viewObjects 
)
private

Definition at line 396 of file GNEAdditionalFrame.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEViewNetHelper::ViewObjectsSelector::fillSumoBaseObject(), GNEHierarchicalElement::getChildLanes(), GNEViewNetHelper::ViewObjectsSelector::getEdgeFront(), GNEAttributeCarrier::getID(), GNESelectorParent::getIdSelected(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNELane::getLaneShape(), GNELane::getLaneShapeLength(), GNELane::getLengthGeometryFactor(), CommonXMLStructure::SumoBaseObject::getParentID(), GUISUMOAbstractView::getPositionInformation(), GNETagProperties::getTag(), GNETagProperties::getTagStr(), GNETagProperties::getXMLParentTags(), GNE_ATTR_LANELENGTH, GNE_TAG_CALIBRATOR_FLOW, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasParentID(), GNETagProperties::isChild(), myBaseAdditional, mySelectorAdditionalParent, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), GNESelectorParent::setIDSelected(), CommonXMLStructure::SumoBaseObject::setTag(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_EDGE, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_FLOW, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_NOTHING, SUMO_TAG_VAPORIZER, TLF, toString(), WRITE_WARNING, Position::x(), Position::y(), and Position::z().

Referenced by addAdditional().

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:

◆ resetBaseAdditionalObject()

void GNEAdditionalFrame::resetBaseAdditionalObject ( )
private

Definition at line 378 of file GNEAdditionalFrame.cpp.

References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), and myBaseAdditional.

Referenced by addAdditional(), and createPath().

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:

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

show Frame

Reimplemented from GNEFrame.

Definition at line 172 of file GNEAdditionalFrame.cpp.

References Position::INVALID, myAdditionalTagSelector, myLastClickedPosition, GNETagSelector::refreshTagSelector(), 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 193 of file GNEFrame.cpp.

Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().

Here is the caller graph for this function:

Field Documentation

◆ myAdditionalAttributesEditor

GNEAttributesEditor* GNEAdditionalFrame::myAdditionalAttributesEditor = nullptr
private

additional attributes editor

Definition at line 147 of file GNEAdditionalFrame.h.

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

◆ myAdditionalTagSelector

GNETagSelector* GNEAdditionalFrame::myAdditionalTagSelector = nullptr
private

◆ myBaseAdditional

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

SumoBaseObject used for create additional.

Definition at line 128 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), createPath(), initBaseAdditionalObject(), resetBaseAdditionalObject(), and ~GNEAdditionalFrame().

◆ myConsecutiveLaneSelector

GNEConsecutiveSelector* GNEAdditionalFrame::myConsecutiveLaneSelector = nullptr
private

Module for select consecutive lanes.

Definition at line 156 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 124 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 162 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ 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().

◆ myHelpCreationModule

HelpCreationModule* GNEAdditionalFrame::myHelpCreationModule = nullptr
private

Module for show additional help legend.

Definition at line 159 of file GNEAdditionalFrame.h.

Referenced by GNEAdditionalFrame(), and tagSelected().

◆ myLastClickedPosition

Position GNEAdditionalFrame::myLastClickedPosition
protected

last clicked position

Definition at line 134 of file GNEAdditionalFrame.h.

Referenced by addAdditional(), show(), 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 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().

◆ mySelectorAdditionalParent

GNESelectorParent* GNEAdditionalFrame::mySelectorAdditionalParent = nullptr
private

Module for select a single parent additional.

Definition at line 150 of file GNEAdditionalFrame.h.

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

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 121 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(), GNECreateEdgeFrame::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(), createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::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(), initBaseAdditionalObject(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectClickedElements(), GNEInspectorFrame::inspectElement(), GNEInspectorFrame::inspectElements(), GNETLSEditorFrame::isTLSSaved(), GNEProhibitionFrame::Legend::Legend(), GNEFrame::openHelpAttributesDialog(), 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(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEWireFrame::show(), and tagSelected().

◆ myViewObjetsSelector

GNEViewObjectSelector* GNEAdditionalFrame::myViewObjetsSelector = nullptr
private

Module for select view objects.

Definition at line 153 of file GNEAdditionalFrame.h.

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


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