![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEConnectorFrame.h>
Data Structures | |
| class | ConnectionModifications |
| class | ConnectionOperations |
| class | ConnectionSelection |
| class | ConnectionVisualization |
| class | CurrentLane |
| class | Legend |
Public Member Functions | |
| 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) | |
| ConnectionModifications * | getConnectionModifications () const |
| get pointer to ConnectionModifications module | |
| ConnectionVisualization * | getConnectionVisualization () |
| get pointer to ConnectionVisualization module | |
| FXVerticalFrame * | getContentFrame () const |
| get vertical frame that holds all widgets of frame | |
| GNELane * | getCurrentEditedLane () const |
| get the lane of which connections are to be modified | |
| 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) | |
| GNEViewNet * | getViewNet () const |
| get view net | |
| GNEConnectorFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
| Constructor. | |
| void | handleLaneClick (const GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
| either sets the current lane or toggles the connection of the | |
| 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) | |
| ~GNEConnectorFrame () | |
| 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 | |
| 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. | |
| FXHorizontalFrame * | myHeaderFrame = nullptr |
| fame for header elements | |
| FXHorizontalFrame * | myHeaderLeftFrame = nullptr |
| fame for left header elements | |
| FXHorizontalFrame * | myHeaderRightFrame = nullptr |
| fame for right header elements | |
| GNEViewNet * | myViewNet = nullptr |
| FOX need this. | |
Private Types | |
| enum class | LaneStatus { UNCONNECTED , CONNECTED , CONNECTED_PASS , CONFLICTED } |
| the status of a target lane More... | |
Private Member Functions | |
| void | buildConnection (GNELane *lane, const bool mayDefinitelyPass, const bool allowConflict, const bool toggle) |
| either sets the current lane or toggles the connection of the current lane to this lane (if they share a junction) | |
| void | cleanup () |
| clean up when deselecting current lane | |
| LaneStatus | getLaneStatus (const std::vector< NBEdge::Connection > &connections, const GNELane *targetLane) const |
| return the status of toLane | |
| void | initTargets () |
| init targets | |
| void | removeConnections (GNELane *lane) |
| remove connections | |
Private Attributes | |
| GNEConnectorFrame::ConnectionModifications * | myConnectionModifications = nullptr |
| ConnectionModifications module. | |
| GNEConnectorFrame::ConnectionOperations * | myConnectionOperations = nullptr |
| ConnectionOperations module. | |
| GNEConnectorFrame::ConnectionSelection * | myConnectionSelection = nullptr |
| ConnectionSelection module. | |
| GNEConnectorFrame::ConnectionVisualization * | myConnectionVisualization = nullptr |
| ConnectionVisualization module. | |
| GNELane * | myCurrentEditedLane |
| the lane of which connections are to be modified | |
| CurrentLane * | myCurrentLane |
| CurrentLane module. | |
| std::vector< NBEdge::Connection > | myDeletedConnections |
| vector of connections deleted in the current editing step | |
| FXLabel * | myFrameHeaderLabel = nullptr |
| the label for the frame's header | |
| std::map< int, GNEInternalLane * > | myInternalLanes |
| the internal lanes belonging the current junction indexed by their tl-index | |
| GNEConnectorFrame::Legend * | myLegend = nullptr |
| Legend module. | |
| int | myNumChanges |
| number of changes | |
| std::set< GNELane * > | myPotentialTargets |
| the set of lanes to which the current lane may be connected | |
| 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) | |
Definition at line 31 of file GNEConnectorFrame.h.
|
strongprivate |
the status of a target lane
| Enumerator | |
|---|---|
| UNCONNECTED | |
| CONNECTED | |
| CONNECTED_PASS | |
| CONFLICTED | |
Definition at line 278 of file GNEConnectorFrame.h.
| GNEConnectorFrame::GNEConnectorFrame | ( | GNEViewParent * | viewParent, |
| GNEViewNet * | viewNet | ||
| ) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
viewNet viewNet that uses this GNEFrame
Definition at line 439 of file GNEConnectorFrame.cpp.
References myConnectionModifications, myConnectionSelection, myConnectionVisualization, myCurrentLane, and myLegend.
| GNEConnectorFrame::~GNEConnectorFrame | ( | ) |
Destructor.
Definition at line 460 of file GNEConnectorFrame.cpp.
|
virtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented in GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.
Definition at line 221 of file GNEFrame.cpp.
Referenced by GNEAttributesEditorType::setAttribute(), and GNEAttributesEditorType::toggleEnableAttribute().
|
private |
either sets the current lane or toggles the connection of the current lane to this lane (if they share a junction)
| [in] | lane | Either the lane to set as current lane, or the destination from current lane |
| [in] | mayDefinitelyPass | Whether new connections shall have the pass attribute set |
| [in] | toggle | Whether non-existing connections shall be created |
Definition at line 519 of file GNEConnectorFrame.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GUIVisualizationSettings::candidateColorSettings, CONFLICTED, CONNECTED, CONNECTED_PASS, CONNECTION, GNENet::deleteConnection(), NBEdge::getConnectionsFromLane(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), GNELane::getIndex(), getLaneStatus(), GNEEdge::getNBEdge(), GNEConnection::getNBEdgeConnection(), GNEViewNet::getNet(), GNELane::getParentEdge(), NBEdge::getPermissions(), GNEEdge::getToJunction(), GNEViewNet::getUndoList(), GUISUMOAbstractView::getVisualisationSettings(), initTargets(), GNEJunction::invalidateTLS(), NBConnection::InvalidConnection, NBEdge::Connection::mayDefinitelyPass, myCurrentEditedLane, myCurrentLane, myDeletedConnections, myNumChanges, myPotentialTargets, GNEFrame::myViewNet, GUIVisualizationCandidateColorSettings::possible, GNEEdge::retrieveGNEConnection(), GNELane::setSpecialColor(), GNEViewNet::setStatusBarText(), GUIVisualizationCandidateColorSettings::source, GUIVisualizationCandidateColorSettings::special, SVC_PEDESTRIAN, GUIVisualizationCandidateColorSettings::target, TL, NBEdge::Connection::tlLinkIndex, UNCONNECTED, and GNEConnectorFrame::CurrentLane::updateCurrentLaneLabel().
Referenced by handleLaneClick(), and removeConnections().
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 246 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
private |
clean up when deselecting current lane
Definition at line 630 of file GNEConnectorFrame.cpp.
References myCurrentEditedLane, myCurrentLane, myDeletedConnections, myNumChanges, myPotentialTargets, GNELane::setSpecialColor(), and GNEConnectorFrame::CurrentLane::updateCurrentLaneLabel().
|
virtualinherited |
create path between two elements
Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.
Definition at line 233 of file GNEFrame.cpp.
Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().
|
virtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.
Definition at line 208 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
inherited |
focus upper element of frame
Definition at line 104 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::inspectClickedElements(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
function called after setting new width in current frame (can be reimplemented in frame children)
Reimplemented in GNETLSEditorFrame.
Definition at line 193 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
| GNEConnectorFrame::ConnectionModifications * GNEConnectorFrame::getConnectionModifications | ( | ) | const |
get pointer to ConnectionModifications module
Definition at line 493 of file GNEConnectorFrame.cpp.
References myConnectionModifications.
Referenced by GNEViewNet::abortOperation(), and GNEViewNet::hotkeyEnter().
| GNEConnectorFrame::ConnectionVisualization * GNEConnectorFrame::getConnectionVisualization | ( | ) |
get pointer to ConnectionVisualization module
Definition at line 499 of file GNEConnectorFrame.cpp.
References myConnectionVisualization.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 151 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
| GNELane * GNEConnectorFrame::getCurrentEditedLane | ( | ) | const |
get the lane of which connections are to be modified
Definition at line 487 of file GNEConnectorFrame.cpp.
References myCurrentEditedLane.
|
inherited |
get font of the header's frame
Definition at line 163 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 157 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
|
private |
return the status of toLane
Definition at line 646 of file GNEConnectorFrame.cpp.
References CONFLICTED, CONNECTED, CONNECTED_PASS, GNELane::getIndex(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), NBEdge::getPermissions(), NBEdge::hasConnectionTo(), myCurrentEditedLane, SVC_PEDESTRIAN, and UNCONNECTED.
Referenced by buildConnection(), and initTargets().
|
protectedinherited |
get predefinedTagsMML
Definition at line 240 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().
|
inherited |
get scrollBar width (zero if is hidden)
Definition at line 169 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by GNEGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
|
inherited |
get view net
Definition at line 145 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(), 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(), GNEGroupBoxModule::onCmdExtendButton(), GNEMatchAttribute::onCmdHelp(), GNEElementTree::onCmdInspectItem(), GNEAttributesEditorType::onCmdMarkAsFront(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorType::onCmdOpenEditParametersDialog(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEAttributesEditorRow::onCmdOpenVClassDialog(), GNEOverlappedInspection::onCmdOverlappingHelp(), GNEGroupBoxModule::onCmdResetButton(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEViewObjectSelector::onCmdUseSelectedElements(), GNEGroupBoxModule::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().
| void GNEConnectorFrame::handleLaneClick | ( | const GNEViewNetHelper::ViewObjectsSelector & | viewObjects | ) |
either sets the current lane or toggles the connection of the
| viewObjects | collection of objects under cursor after click over view |
Definition at line 471 of file GNEConnectorFrame.cpp.
References buildConnection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEViewNetHelper::ViewObjectsSelector::getLaneFrontNonLocked(), GNEViewNetHelper::ViewObjectsSelector::getLanes(), GNEViewNet::getMouseButtonKeyPressed(), GNEFrame::myViewNet, and GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed().
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
virtualinherited |
hide Frame
Reimplemented in GNEDeleteFrame, GNEInspectorFrame, GNEMoveFrame, GNESelectorFrame, GNEGenericDataFrame, GNEMeanDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNECreateEdgeFrame, GNECrossingFrame, GNEProhibitionFrame, and GNETAZFrame.
Definition at line 119 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().
|
private |
init targets
Definition at line 598 of file GNEConnectorFrame.cpp.
References GUIVisualizationSettings::candidateColorSettings, GUIVisualizationCandidateColorSettings::conflict, CONFLICTED, CONNECTED, CONNECTED_PASS, GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildLanes(), NBEdge::getConnectionsFromLane(), GNELane::getIndex(), getLaneStatus(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), GNEViewNet::getNet(), NBNode::getOutgoingEdges(), GNELane::getParentEdge(), GNEEdge::getToJunction(), GUISUMOAbstractView::getVisualisationSettings(), myCurrentEditedLane, myPotentialTargets, GNEFrame::myViewNet, GUIVisualizationCandidateColorSettings::possible, GNENetHelper::AttributeCarriers::retrieveEdge(), GUIVisualizationCandidateColorSettings::special, GUIVisualizationCandidateColorSettings::target, and UNCONNECTED.
Referenced by buildConnection().
|
inherited |
Open help attributes dialog.
Definition at line 179 of file GNEFrame.cpp.
References GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), and GNEFrame::myViewNet.
Referenced by GNEAttributesEditorType::onCmdAttributesEditorHelp().
|
private |
remove connections
Definition at line 505 of file GNEConnectorFrame.cpp.
References buildConnection(), myConnectionModifications, myPotentialTargets, and GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 227 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::refreshOverlappedInspection().
|
inherited |
set width of GNEFrame
Definition at line 128 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
virtualinherited |
build a shaped element using the drawed shape
Reimplemented in GNEShapeFrame, and GNETAZFrame.
Definition at line 214 of file GNEFrame.cpp.
Referenced by GNEDrawingShape::stopDrawing().
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 464 of file GNEConnectorFrame.cpp.
References myConnectionVisualization, GNEFrame::show(), and GNEConnectorFrame::ConnectionVisualization::updateShowConnections().
Referenced by GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
Tag selected in GNETagSelector.
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.
Definition at line 202 of file GNEFrame.cpp.
Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), and GNETagSelector::setCurrentTag().
|
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 187 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
private |
ConnectionModifications module.
Definition at line 309 of file GNEConnectorFrame.h.
Referenced by getConnectionModifications(), GNEConnectorFrame(), and removeConnections().
|
private |
ConnectionOperations module.
Definition at line 312 of file GNEConnectorFrame.h.
|
private |
ConnectionSelection module.
Definition at line 318 of file GNEConnectorFrame.h.
Referenced by GNEConnectorFrame().
|
private |
ConnectionVisualization module.
Definition at line 315 of file GNEConnectorFrame.h.
Referenced by getConnectionVisualization(), GNEConnectorFrame(), and show().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 125 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
private |
the lane of which connections are to be modified
Definition at line 324 of file GNEConnectorFrame.h.
Referenced by buildConnection(), cleanup(), getCurrentEditedLane(), getLaneStatus(), and initTargets().
|
private |
CurrentLane module.
Definition at line 306 of file GNEConnectorFrame.h.
Referenced by buildConnection(), cleanup(), and GNEConnectorFrame().
|
private |
vector of connections deleted in the current editing step
Definition at line 336 of file GNEConnectorFrame.h.
Referenced by buildConnection(), and cleanup().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 147 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 150 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
protectedinherited |
fame for header elements
Definition at line 128 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 131 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 134 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
the internal lanes belonging the current junction indexed by their tl-index
Definition at line 333 of file GNEConnectorFrame.h.
|
private |
Legend module.
Definition at line 321 of file GNEConnectorFrame.h.
Referenced by GNEConnectorFrame().
|
private |
number of changes
Definition at line 330 of file GNEConnectorFrame.h.
Referenced by buildConnection(), and cleanup().
|
private |
the set of lanes to which the current lane may be connected
Definition at line 327 of file GNEConnectorFrame.h.
Referenced by buildConnection(), cleanup(), initTargets(), and removeConnections().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 153 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 144 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
protectedinherited |
FOX need this.
View Net
Definition at line 122 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), 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(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNEStopFrame::getStopParameter(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), 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(), 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(), GNEGenericDataFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEWireFrame::show(), GNEAdditionalFrame::tagSelected(), and GNEGenericDataFrame::updateFrameAfterUndoRedo().