![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalFrame.h>
Data Structures | |
class | SelectorEdgeChildren |
class | SelectorLaneChildren |
class | SelectorLaneParents |
Public Member Functions | |
bool | addAdditional (const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor) |
add additional element More... | |
void | focusUpperElement () |
focus upper element of frame More... | |
GNEAdditionalFrame::SelectorLaneParents * | getConsecutiveLaneSelector () const |
getConsecutive Lane Selector More... | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame More... | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header More... | |
GNEViewNet * | getViewNet () const |
get view net More... | |
GNEAdditionalFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet) | |
Constructor. More... | |
virtual void | hide () |
hide Frame More... | |
void | setFrameWidth (int newWidth) |
set width of GNEFrame More... | |
void | show () |
show Frame More... | |
void | showSelectorLaneChildrenModul () |
show selector lane child and update use selected edges/lanes More... | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) More... | |
~GNEAdditionalFrame () | |
Destructor. More... | |
Protected Member Functions | |
const RGBColor & | getEdgeCandidateColor () const |
get edge candidate color More... | |
const RGBColor & | getEdgeCandidateSelectedColor () const |
get selected color More... | |
const std::map< int, std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML More... | |
void | openHelpAttributesDialog (const GNEAttributeCarrier::TagProperties &tagProperties) const |
Open help attributes dialog. More... | |
void | tagSelected () |
Tag selected in TagSelector. More... | |
functions called by moduls that can be reimplemented in frame children | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector More... | |
virtual void | edgePathCreated () |
finish edge path creation More... | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape (can be reimplemented in frame children) More... | |
virtual void | attributeUpdated () |
function called after set a valid attribute in AttributeCreator/AttributeEditor/GenericParametersEditor/... More... | |
virtual void | attributesEditorExtendedDialogOpened () |
open AttributesCreator extended dialog (can be reimplemented in frame children) More... | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame |
Vertical frame that holds all widgets of frame. More... | |
FXHorizontalFrame * | myHeaderFrame |
fame for header elements More... | |
FXHorizontalFrame * | myHeaderLeftFrame |
fame for left header elements More... | |
FXHorizontalFrame * | myHeaderRightFrame |
fame for right header elements More... | |
GNEViewNet * | myViewNet |
View Net. More... | |
Private Member Functions | |
bool | buildAdditionalCommonAttributes (std::map< SumoXMLAttr, std::string > &valuesMap, const GNEAttributeCarrier::TagProperties &tagValues) |
build common additional attributes More... | |
bool | buildAdditionalOverEdge (std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues) |
build additional over an edge (parent of lane) More... | |
bool | buildAdditionalOverLane (std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues) |
build additional over a single lane More... | |
bool | buildAdditionalOverLanes (std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues) |
build additional over lanes More... | |
bool | buildAdditionalOverView (std::map< SumoXMLAttr, std::string > &valuesMap, const GNEAttributeCarrier::TagProperties &tagValues) |
build additional over view More... | |
bool | buildAdditionalWithParent (std::map< SumoXMLAttr, std::string > &valuesMap, GNEAdditional *parent, const GNEAttributeCarrier::TagProperties &tagValues) |
build additional with Parent More... | |
std::string | generateID (GNENetElement *netElement) const |
generate a ID for an additiona element More... | |
Private Attributes | |
GNEFrameAttributesModuls::AttributesCreator * | myAdditionalAttributes |
internal additional attributes More... | |
GNEFrameModuls::SelectorParent * | myAdditionalParent |
Modul for select a single additional parent. More... | |
GNEFrameModuls::TagSelector * | myAdditionalTagSelector |
item selector More... | |
GNEFrameAttributesModuls::NeteditAttributes * | myNeteditAttributes |
Netedit parameter. More... | |
SelectorEdgeChildren * | mySelectorEdgeChildren |
Modul for select edge children. More... | |
SelectorLaneChildren * | mySelectorLaneChildren |
Modul for select lane children. More... | |
SelectorLaneParents * | mySelectorLaneParents |
Modul for select lane parents (currently only consecutives) More... | |
The Widget for setting internal attributes of additional elements
Definition at line 34 of file GNEAdditionalFrame.h.
GNEAdditionalFrame::GNEAdditionalFrame | ( | FXHorizontalFrame * | horizontalFrameParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame
Create list for SelectorEdgeChildren
Create list for SelectorLaneChildren
Definition at line 606 of file GNEAdditionalFrame.cpp.
References myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, myNeteditAttributes, mySelectorEdgeChildren, mySelectorLaneChildren, mySelectorLaneParents, GNEFrameModuls::TagSelector::setCurrentTag(), and SUMO_TAG_BUS_STOP.
GNEAdditionalFrame::~GNEAdditionalFrame | ( | ) |
Destructor.
Definition at line 635 of file GNEAdditionalFrame.cpp.
bool GNEAdditionalFrame::addAdditional | ( | const GNEViewNetHelper::ObjectsUnderCursor & | objectsUnderCursor | ) |
add additional element
objectsUnderCursor | collection of objects under cursor after click over view |
Definition at line 648 of file GNEAdditionalFrame.cpp.
References buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), buildAdditionalWithParent(), GNEViewNetHelper::ObjectsUnderCursor::getAdditionalFront(), GNEFrameAttributesModuls::AttributesCreator::getAttributesAndValues(), GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues(), GNEAttributeCarrier::TagProperties::getTag(), myAdditionalAttributes, myAdditionalTagSelector, myNeteditAttributes, GNEFrame::myViewNet, GNEViewNet::setStatusBarText(), SUMO_ATTR_EDGE, SUMO_ATTR_LANE, SUMO_TAG_E2DETECTOR_MULTILANE, SUMO_TAG_NOTHING, and SUMO_TAG_VAPORIZER.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
protectedvirtualinherited |
open AttributesCreator extended dialog (can be reimplemented in frame children)
Reimplemented in GNEVehicleTypeFrame.
Definition at line 191 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), and GNEFrameAttributesModuls::AttributesEditorExtended::onCmdOpenDialog().
|
protectedvirtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/GenericParametersEditor/...
Reimplemented in GNEInspectorFrame, GNEVehicleTypeFrame, and GNEPersonTypeFrame.
Definition at line 185 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSetAttribute(), and GNEFrameAttributesModuls::GenericParametersEditor::onCmdSetGenericParameter().
|
private |
build common additional attributes
Definition at line 794 of file GNEAdditionalFrame.cpp.
References GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEAdditionalFrame::SelectorEdgeChildren::getEdgeIdsSelected(), GNEAdditionalFrame::SelectorLaneChildren::getLaneIdsSelected(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::TagProperties::hasAttribute(), myAdditionalAttributes, myAdditionalTagSelector, mySelectorEdgeChildren, mySelectorLaneChildren, GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), SUMO_ATTR_EDGES, SUMO_ATTR_END, SUMO_ATTR_FILE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_STARTTIME, SUMO_TAG_CALIBRATOR, SUMO_TAG_EDGE, SUMO_TAG_LANE, SUMO_TAG_REROUTER, and toString().
Referenced by buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
|
private |
build additional over an edge (parent of lane)
Definition at line 837 of file GNEAdditionalFrame.cpp.
References GNEFrameAttributesModuls::AttributesCreator::areValuesValid(), GNEAdditionalHandler::buildAdditional(), buildAdditionalCommonAttributes(), generateID(), GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEAttributeCarrier::getID(), GNELane::getParentEdge(), GNEFrame::getPredefinedTagsMML(), GNEAttributeCarrier::TagProperties::getTag(), myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, mySelectorEdgeChildren, mySelectorLaneChildren, GNEFrame::myViewNet, GNEAdditionalFrame::SelectorEdgeChildren::onCmdClearSelection(), GNEAdditionalFrame::SelectorLaneChildren::onCmdClearSelection(), GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), SUMO_ATTR_EDGE, SUMO_ATTR_ID, and toString().
Referenced by addAdditional().
|
private |
build additional over a single lane
Definition at line 874 of file GNEAdditionalFrame.cpp.
References GNEFrameAttributesModuls::AttributesCreator::areValuesValid(), GNEAdditionalHandler::buildAdditional(), buildAdditionalCommonAttributes(), generateID(), GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNENetElement::getGeometry(), GNEAttributeCarrier::getID(), GNELane::getLengthGeometryFactor(), GUISUMOAbstractView::getPositionInformation(), GNEFrame::getPredefinedTagsMML(), GNEAttributeCarrier::TagProperties::getTag(), myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, mySelectorEdgeChildren, mySelectorLaneChildren, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), GNEAdditionalFrame::SelectorEdgeChildren::onCmdClearSelection(), GNEAdditionalFrame::SelectorLaneChildren::onCmdClearSelection(), GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNENetElement::NetElementGeometry::shape, GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, and toString().
Referenced by addAdditional().
|
private |
build additional over lanes
Definition at line 915 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::SelectorLaneParents::abortConsecutiveLaneSelector(), GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEFrameAttributesModuls::AttributesCreator::areValuesValid(), GNEAdditionalHandler::buildAdditional(), buildAdditionalCommonAttributes(), generateID(), GNEFrameModuls::TagSelector::getCurrentTagProperties(), GUISUMOAbstractView::getPositionInformation(), GNEFrame::getPredefinedTagsMML(), GNEAdditionalFrame::SelectorLaneParents::getSelectedLanes(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::TagProperties::hasAttribute(), GNEAdditionalFrame::SelectorLaneParents::isSelectingLanes(), joinToString(), myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, mySelectorLaneParents, GNEFrame::myViewNet, GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), GNEAdditionalFrame::SelectorLaneParents::startConsecutiveLaneSelector(), SUMO_ATTR_ENDPOS, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_POSITION, and toString().
Referenced by addAdditional().
|
private |
build additional over view
Definition at line 973 of file GNEAdditionalFrame.cpp.
References GNEFrameAttributesModuls::AttributesCreator::areValuesValid(), GNEAdditionalHandler::buildAdditional(), buildAdditionalCommonAttributes(), generateID(), GNEFrameModuls::TagSelector::getCurrentTagProperties(), GUISUMOAbstractView::getPositionInformation(), GNEFrame::getPredefinedTagsMML(), GNEAttributeCarrier::TagProperties::getTag(), myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, mySelectorEdgeChildren, mySelectorLaneChildren, GNEFrame::myViewNet, GNEAdditionalFrame::SelectorEdgeChildren::onCmdClearSelection(), GNEAdditionalFrame::SelectorLaneChildren::onCmdClearSelection(), GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_ID, SUMO_ATTR_POSITION, and toString().
Referenced by addAdditional().
|
private |
build additional with Parent
Definition at line 776 of file GNEAdditionalFrame.cpp.
References GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEAttributeCarrier::getID(), GNEFrameModuls::SelectorParent::getIdSelected(), GNEAttributeCarrier::TagProperties::getParentTag(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::TagProperties::getTagStr(), GNE_ATTR_PARENT, myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, GNEFrameModuls::SelectorParent::setIDSelected(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), and toString().
Referenced by addAdditional().
|
protectedvirtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, and GNEPersonFrame.
Definition at line 166 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameModuls::DemandElementSelector::onCmdSelectDemandElement(), and GNEFrameModuls::DemandElementSelector::setDemandElement().
|
protectedvirtualinherited |
finish edge path creation
Reimplemented in GNEVehicleFrame, and GNEPersonFrame.
Definition at line 172 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), and GNEFrameModuls::EdgePathCreator::onCmdFinishRouteCreation().
|
inherited |
focus upper element of frame
Definition at line 102 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNetHelper::EditModes::setDemandEditMode(), GNEViewNetHelper::EditModes::setNetworkEditMode(), GNEViewNetHelper::EditModes::setSupermode(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
private |
generate a ID for an additiona element
Definition at line 749 of file GNEAdditionalFrame.cpp.
References GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNENet::getNumberOfAdditionals(), GNEAttributeCarrier::TagProperties::getTag(), myAdditionalTagSelector, GNEFrame::myViewNet, GNENet::retrieveAdditional(), SUMO_TAG_VAPORIZER, and toString().
Referenced by buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
GNEAdditionalFrame::SelectorLaneParents * GNEAdditionalFrame::getConsecutiveLaneSelector | ( | ) | const |
getConsecutive Lane Selector
Definition at line 696 of file GNEAdditionalFrame.cpp.
References mySelectorLaneParents.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawLaneCandidates(), GNEViewNet::hotkeyEnter(), and GNEViewNet::processLeftButtonPressNetwork().
|
protectedinherited |
get edge candidate color
Definition at line 264 of file GNEFrame.cpp.
References GNEFrame::myEdgeCandidateColor.
Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), and GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates().
|
protectedinherited |
get selected color
Definition at line 270 of file GNEFrame.cpp.
References GNEFrame::myEdgeCandidateSelectedColor.
Referenced by GNEFrameModuls::EdgePathCreator::addBusStop(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEFrameModuls::EdgePathCreator::addEdge(), GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), and GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates().
|
inherited |
get font of the header's frame
Definition at line 145 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 139 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
|
protectedinherited |
get predefinedTagsMML
Definition at line 276 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEVehicleFrame::addVehicle(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::edgePathCreated(), GNEFrame::GNEFrame(), GNETAZFrame::shapeDrawed(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
|
inherited |
get view net
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEAdditionalFrame::SelectorLaneParents::abortConsecutiveLaneSelector(), GNEFrameModuls::EdgePathCreator::addEdge(), GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNECrossingFrame::EdgesSelector::enableEdgeSelector(), GNEAdditionalFrame::SelectorEdgeChildren::getEdgeIdsSelected(), GNEAdditionalFrame::SelectorLaneChildren::getLaneIdsSelected(), GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier(), GNERouteFrame::ConsecutiveEdges::onCmdAbortRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdAbortRoute(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType(), GNEConnectorFrame::ConnectionOperations::onCmdResetSelectedConnections(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadEnds(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEFrameModuls::DemandElementSelector::onCmdSelectDemandElement(), GNEPersonTypeFrame::PersonTypeSelector::onCmdSelectItem(), GNEVehicleTypeFrame::VehicleTypeSelector::onCmdSelectItem(), GNEConnectorFrame::ConnectionOperations::onCmdSelectPass(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEFrameModuls::DemandElementSelector::refreshDemandElementSelector(), GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates(), GNEPersonTypeFrame::PersonTypeSelector::refreshPersonTypeSelector(), GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelector(), GNEDeleteFrame::removeAttributeCarrier(), GNECrossingFrame::EdgesSelector::restoreEdgeColors(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::SelectorEdgeChildren::showSelectorEdgeChildrenModul(), GNEAdditionalFrame::SelectorLaneChildren::showSelectorLaneChildrenModul(), GNEInspectorFrame::TemplateEditor::showTemplateEditor(), GNEAdditionalFrame::SelectorEdgeChildren::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorLaneChildren::updateUseSelectedLanes().
|
virtualinherited |
hide Frame
Reimplemented in GNETAZFrame, GNESelectorFrame, GNEInspectorFrame, GNERouteFrame, GNECrossingFrame, GNEPersonPlanFrame, GNEProhibitionFrame, GNEDeleteFrame, and GNECreateEdgeFrame.
Definition at line 117 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.
Referenced by GNECreateEdgeFrame::hide(), GNEDeleteFrame::hide(), GNEProhibitionFrame::hide(), GNEPersonPlanFrame::hide(), GNECrossingFrame::hide(), GNERouteFrame::hide(), GNEInspectorFrame::hide(), GNESelectorFrame::hide(), GNETAZFrame::hide(), GNEViewParent::Frames::hideFrames(), GNEPolygonFrame::GEOPOICreator::hideGEOPOICreatorModul(), GNEPersonFrame::HelpCreation::hideHelpCreation(), GNEVehicleFrame::HelpCreation::hideHelpCreation(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEPersonTypeFrame::PersonTypeEditor::hidePersonTypeEditorModul(), and GNEVehicleTypeFrame::VehicleTypeEditor::hideVehicleTypeEditorModul().
|
protectedinherited |
Open help attributes dialog.
Definition at line 197 of file GNEFrame.cpp.
References GUIIconSubSys::getIcon(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GNEAttributeCarrier::TagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, ICON_ACCEPT, ICON_MODEINSPECT, MAX2(), MID_TABLE, GNEFrame::myScrollWindowsContents, toString(), and WRITE_DEBUG.
Referenced by GNEFrame::GNEFrame(), GNEFrameAttributesModuls::AttributesEditor::onCmdAttributesEditorHelp(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNEFrameAttributesModuls::AttributesCreator::onCmdHelp(), and GNETAZFrame::TAZParameters::onCmdHelp().
|
inherited |
set width of GNEFrame
Definition at line 126 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by GNEViewParent::Frames::setWidth().
|
protectedvirtualinherited |
build a shaped element using the drawed shape (can be reimplemented in frame children)
Reimplemented in GNETAZFrame, and GNEPolygonFrame.
Definition at line 178 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameModuls::DrawingShape::stopDrawing(), and GNEFrameAttributesModuls::DrawingShape::stopDrawing().
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 639 of file GNEAdditionalFrame.cpp.
References myAdditionalTagSelector, GNEFrameModuls::TagSelector::refreshTagProperties(), and GNEFrame::show().
Referenced by GNEAdditionalFrame::SelectorEdgeChildren::showSelectorEdgeChildrenModul(), GNEAdditionalFrame::SelectorLaneChildren::showSelectorLaneChildrenModul(), and GNEViewNet::updateNetworkModeSpecificControls().
void GNEAdditionalFrame::showSelectorLaneChildrenModul | ( | ) |
show selector lane child and update use selected edges/lanes
Definition at line 685 of file GNEAdditionalFrame.cpp.
References mySelectorEdgeChildren, mySelectorLaneChildren, GNEFrame::show(), GNEAdditionalFrame::SelectorEdgeChildren::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorLaneChildren::updateUseSelectedLanes().
|
protectedvirtual |
Tag selected in TagSelector.
Reimplemented from GNEFrame.
Definition at line 702 of file GNEAdditionalFrame.cpp.
References GNEFrameModuls::TagSelector::getCurrentTagProperties(), GNEAttributeCarrier::TagProperties::getParentTag(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::TagProperties::hasAttribute(), GNEAttributeCarrier::TagProperties::hasParent(), GNEFrameAttributesModuls::AttributesCreator::hideAttributesCreatorModul(), GNEFrameAttributesModuls::NeteditAttributes::hideNeteditAttributesModul(), GNEAdditionalFrame::SelectorEdgeChildren::hideSelectorEdgeChildrenModul(), GNEAdditionalFrame::SelectorLaneChildren::hideSelectorLaneChildrenModul(), GNEAdditionalFrame::SelectorLaneParents::hideSelectorLaneParentsModul(), GNEFrameModuls::SelectorParent::hideSelectorParentModul(), myAdditionalAttributes, myAdditionalParent, myAdditionalTagSelector, myNeteditAttributes, mySelectorEdgeChildren, mySelectorLaneChildren, mySelectorLaneParents, GNEFrameAttributesModuls::AttributesCreator::showAttributesCreatorModul(), GNEFrameAttributesModuls::NeteditAttributes::showNeteditAttributesModul(), GNEAdditionalFrame::SelectorEdgeChildren::showSelectorEdgeChildrenModul(), GNEAdditionalFrame::SelectorLaneChildren::showSelectorLaneChildrenModul(), GNEAdditionalFrame::SelectorLaneParents::showSelectorLaneParentsModul(), GNEFrameModuls::SelectorParent::showSelectorParentModul(), SUMO_ATTR_EDGES, SUMO_ATTR_LANES, SUMO_TAG_LANE, and SUMO_TAG_NOTHING.
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame.
Definition at line 151 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
private |
internal additional attributes
Definition at line 316 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), buildAdditionalWithParent(), GNEAdditionalFrame(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), and tagSelected().
|
private |
Modul for select a single additional parent.
Definition at line 325 of file GNEAdditionalFrame.h.
Referenced by buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), buildAdditionalWithParent(), GNEAdditionalFrame(), and tagSelected().
|
private |
item selector
Definition at line 313 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), buildAdditionalWithParent(), generateID(), GNEAdditionalFrame(), show(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), and tagSelected().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 123 of file GNEFrame.h.
Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), and GNEInspectorFrame::inspectMultisection().
|
protectedinherited |
fame for header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::inspectMultisection().
|
protectedinherited |
fame for right header elements
Definition at line 132 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Netedit parameter.
Definition at line 319 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), GNEAdditionalFrame(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), and tagSelected().
|
private |
Modul for select edge children.
Definition at line 328 of file GNEAdditionalFrame.h.
Referenced by buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), GNEAdditionalFrame(), showSelectorLaneChildrenModul(), and tagSelected().
|
private |
Modul for select lane children.
Definition at line 331 of file GNEAdditionalFrame.h.
Referenced by buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), GNEAdditionalFrame(), showSelectorLaneChildrenModul(), and tagSelected().
|
private |
Modul for select lane parents (currently only consecutives)
Definition at line 322 of file GNEAdditionalFrame.h.
Referenced by buildAdditionalOverLanes(), getConsecutiveLaneSelector(), GNEAdditionalFrame(), and tagSelected().
|
protectedinherited |
View Net.
Definition at line 120 of file GNEFrame.h.
Referenced by GNEFrameModuls::DrawingShape::abortDrawing(), GNEFrameAttributesModuls::DrawingShape::abortDrawing(), GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), addAdditional(), GNECrossingFrame::addCrossing(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::ConsecutiveEdges::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEFrameModuls::EdgePathCreator::addEdge(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverLanes(), buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNETLSEditorFrame::buildIinternalLanes(), GNEPersonFrame::buildPerson(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEProhibitionFrame::buildProhibition(), GNETLSEditorFrame::cleanup(), GNESelectorFrame::clearCurrentSelection(), GNEFrameModuls::EdgePathCreator::clearEdges(), GNEInspectorFrame::clearInspectedAC(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNETAZFrame::dropTAZMembers(), GNEPersonFrame::edgePathCreated(), GNEVehicleFrame::edgePathCreated(), GNETLSEditorFrame::editJunction(), GNETAZFrame::TAZSaveChanges::enableButtonsAndBeginUndoList(), generateID(), GNESelectorFrame::getMatches(), GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues(), GNEFrame::getViewNet(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), GNETLSEditorFrame::handleChange(), GNERouteFrame::handleEdgeClick(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEFrame::hide(), GNEInspectorFrame::hide(), GNERouteFrame::hotkeyBackSpace(), GNERouteFrame::hotkeyEnter(), GNERouteFrame::hotkeyEsc(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEPersonPlanFrame::PersonPlanCreator::onCmdAbortPersonPlanCreation(), GNERouteFrame::ConsecutiveEdges::onCmdAbortRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdAbortRoute(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNETAZFrame::TAZSaveChanges::onCmdCancelChanges(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdCenterItem(), GNEPersonTypeFrame::PersonTypeEditor::onCmdCopyPersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCopyVehicleType(), GNECrossingFrame::CreateCrossing::onCmdCreateCrossing(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEPersonTypeFrame::PersonTypeEditor::onCmdCreatePersonType(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCreateVehicleType(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdDeleteItem(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdEditGenericParameter(), GNEPersonPlanFrame::PersonPlanCreator::onCmdFinishPersonPlanCreation(), GNEFrameModuls::EdgePathCreator::onCmdFinishRouteCreation(), GNEInspectorFrame::onCmdGoBack(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), GNETLSEditorFrame::onCmdOK(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNEFrameModuls::EdgePathCreator::onCmdRemoveLastInsertedElement(), GNERouteFrame::NonConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNETAZFrame::TAZSelectionStatistics::onCmdSelectEdges(), GNESelectorFrame::ElementSet::onCmdSelectElementSet(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSelectRadioButton(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSetAttribute(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdSetGenericParameter(), GNETAZFrame::TAZSelectionStatistics::onCmdSetNewValues(), GNETAZFrame::TAZChildDefaultParameters::onCmdUseSelectedEdges(), GNETLSEditorFrame::parseTLSPrograms(), GNEPersonPlanFrame::personPlanCreated(), GNECreateEdgeFrame::processClick(), GNEPolygonFrame::processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEProhibitionFrame::ProhibitionLegend::ProhibitionLegend(), GNEFrameAttributesModuls::AttributesEditorRow::refreshAttributesEditorRow(), GNESelectorFrame::ElementSet::refreshElementSet(), GNEFrameAttributesModuls::GenericParametersEditor::refreshGenericParametersEditor(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNETAZFrame::TAZCurrent::setTAZ(), GNEPolygonFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEFrame::show(), GNEStopFrame::show(), GNEDeleteFrame::show(), GNEPersonPlanFrame::show(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNESelectorFrame::LockGLObjectTypes::showTypeEntries(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), GNEFrameModuls::DrawingShape::stopDrawing(), GNEFrameAttributesModuls::DrawingShape::stopDrawing(), and GNETAZFrame::TAZEdgesGraphic::updateEdgeColors().