Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalFrame.h>
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) | |
GNEConsecutiveSelector * | getConsecutiveLaneSelector () const |
get consecutive lane selector | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
GNENetworkSelector * | getEdgesSelector () const |
get edges selector | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
GNENetworkSelector * | getLanesSelector () const |
get edges selector | |
GNENeteditAttributes * | getNeteditAttributes () const |
get Netedit parameter | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEAdditionalFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor. | |
virtual void | hide () |
hide Frame | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show Frame | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) | |
~GNEAdditionalFrame () | |
Destructor. | |
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety) | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape | |
virtual void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... | |
virtual void | attributesEditorExtendedDialogOpened () |
open GNEAttributesCreator extended dialog | |
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::SumoBaseObject * | myBaseAdditional = 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 | |
GNEViewNet * | myViewNet = nullptr |
FOX need this. | |
Private Member Functions | |
bool | buildAdditionalCommonAttributes (const GNETagProperties &tagValues) |
build common additional attributes | |
bool | buildAdditionalOverEdge (GNELane *lane, const GNETagProperties &tagValues) |
build additional over an edge (parent of lane) | |
bool | buildAdditionalOverLane (GNELane *lane, const GNETagProperties &tagValues) |
build additional over a single lane | |
bool | buildAdditionalOverView (const GNETagProperties &tagValues) |
build additional over view | |
bool | createBaseAdditionalObject (const GNETagProperties &tagProperty) |
Private Attributes | |
GNEAttributesCreator * | myAdditionalAttributes = nullptr |
internal additional attributes | |
GNETagSelector * | myAdditionalTagSelector = nullptr |
item selector | |
GNEConsecutiveSelector * | myConsecutiveLaneSelector = nullptr |
Module for select consecutive lanes. | |
E2MultilaneLegendModule * | myE2MultilaneLegendModule = nullptr |
Module for show E2 Detector legend. | |
GNENetworkSelector * | myEdgesSelector = nullptr |
Module for select edges. | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
HelpCreationModule * | myHelpCreationModule = nullptr |
Module for show additional help legend. | |
GNENetworkSelector * | myLanesSelector = nullptr |
Module for select lanes. | |
GNENeteditAttributes * | myNeteditAttributes = nullptr |
Netedit parameter. | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
GNESelectorParent * | mySelectorAdditionalParent = nullptr |
Module for select a single parent additional. | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
The Widget for setting internal attributes of additional elements
Definition at line 39 of file GNEAdditionalFrame.h.
GNEAdditionalFrame::GNEAdditionalFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
viewNet viewNet that uses this GNEFrame
Definition at line 135 of file GNEAdditionalFrame.cpp.
References GNETagProperties::ADDITIONALELEMENT, GNENetworkSelector::EDGE, GNENetworkSelector::LANE, myAdditionalAttributes, myAdditionalTagSelector, myConsecutiveLaneSelector, myE2MultilaneLegendModule, myEdgesSelector, myHelpCreationModule, myLanesSelector, myNeteditAttributes, mySelectorAdditionalParent, and SUMO_TAG_BUS_STOP.
GNEAdditionalFrame::~GNEAdditionalFrame | ( | ) |
bool GNEAdditionalFrame::addAdditional | ( | const GNEViewNetHelper::ViewObjectsSelector & | viewObjects | ) |
add additional element
viewObjects | collection of objects under cursor after click over view |
Definition at line 187 of file GNEAdditionalFrame.cpp.
References GNEConsecutiveSelector::addLane(), GNEAttributesCreator::areValuesValid(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), createBaseAdditionalObject(), GNEAttributesCreator::getAttributesAndValues(), GNETagSelector::getCurrentTemplateAC(), GNEViewNetHelper::ViewObjectsSelector::getEdgeFront(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNENetworkSelector::isShown(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, myConsecutiveLaneSelector, myEdgesSelector, myLanesSelector, myNeteditAttributes, GNEFrame::myViewNet, GNEViewNet::setStatusBarText(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_EDGE, SUMO_ATTR_LANE, SUMO_TAG_VAPORIZER, TL, and GNENetworkSelector::toggleSelectedElement().
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNETypeFrame.
Definition at line 292 of file GNEFrame.cpp.
|
virtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented in GNEInspectorFrame, GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.
Definition at line 286 of file GNEFrame.cpp.
|
private |
build common additional attributes
Definition at line 418 of file GNEAdditionalFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), GNETagSelector::getCurrentTemplateAC(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), GNENetworkSelector::getSelectedIDs(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, myEdgesSelector, myLanesSelector, GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_EDGES, SUMO_ATTR_END, SUMO_ATTR_FILE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_STARTTIME, SUMO_TAG_CALIBRATOR, SUMO_TAG_REROUTER, TL, and toString().
Referenced by buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), and createPath().
|
private |
build additional over an edge (parent of lane)
Definition at line 461 of file GNEAdditionalFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNELane::getParentEdge(), GNETagProperties::getTag(), GNEViewNet::getViewParent(), GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_EDGE, SUMO_ATTR_ID, and SUMO_TAG_VAPORIZER.
Referenced by addAdditional().
|
private |
build additional over a single lane
Definition at line 501 of file GNEAdditionalFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEAttributeCarrier::getID(), GNELane::getLaneShape(), GNELane::getLengthGeometryFactor(), GNEViewNet::getNet(), GUISUMOAbstractView::getPositionInformation(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEViewNet::getViewParent(), GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_ACCESS, and toString().
Referenced by addAdditional().
|
private |
build additional over view
Definition at line 547 of file GNEAdditionalFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNEAdditional::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEViewNet::getViewParent(), GNE_TAG_CALIBRATOR_FLOW, GNETagProperties::hasAttribute(), GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myBaseAdditional, myEdgesSelector, myLanesSelector, mySelectorAdditionalParent, GNEFrame::myViewNet, GNENetworkSelector::onCmdClearSelection(), AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNENetHelper::AttributeCarriers::retrieveAdditional(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), string2time(), SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TIME, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_STEP, SUMO_TAG_VSS, TIME2STEPS, TL, WRITE_WARNING, Position::x(), Position::y(), and Position::z().
Referenced by addAdditional().
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 317 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
private |
Definition at line 362 of file GNEAdditionalFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEViewNetHelper::ViewObjectsSelector::getAdditionalFront(), GNETagSelector::getCurrentTemplateAC(), GNEAttributeCarrier::getID(), GNESelectorParent::getIdSelected(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GNETagProperties::getParentTags(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::getTagStr(), GNEViewNet::getViewObjectsSelector(), GNE_TAG_CALIBRATOR_FLOW, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNETagProperties::isChild(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, mySelectorAdditionalParent, GNEFrame::myViewNet, GNESelectorParent::setIDSelected(), CommonXMLStructure::SumoBaseObject::setTag(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ID, SUMO_TAG_FLOW, SUMO_TAG_LANE_AREA_DETECTOR, TL, and toString().
Referenced by addAdditional(), and createPath().
|
virtual |
create path
Reimplemented from GNEFrame.
Definition at line 258 of file GNEAdditionalFrame.cpp.
References GNEConsecutiveSelector::abortPathCreation(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), GNEAttributesCreator::areValuesValid(), buildAdditionalCommonAttributes(), createBaseAdditionalObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNETagSelector::getCurrentTemplateAC(), GNEViewParent::getGNEAppWindows(), GNEConsecutiveSelector::getLaneIDPath(), GNEConsecutiveSelector::getLanePath(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getViewParent(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNEApplicationWindow::isUndoRedoAllowed(), myAdditionalAttributes, myAdditionalTagSelector, myBaseAdditional, myConsecutiveLaneSelector, myNeteditAttributes, mySelectorAdditionalParent, GNEFrame::myViewNet, AdditionalHandler::parseSumoBaseObject(), GNEAttributesCreator::refreshAttributesCreator(), GNESelectorParent::refreshSelectorParentModule(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ENDPOS, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_POSITION, TL, and WRITE_WARNING.
Referenced by GNEViewNet::hotkeyEnter().
|
virtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.
Definition at line 273 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
inherited |
focus upper element of frame
Definition at line 109 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), 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 258 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
GNEConsecutiveSelector * GNEAdditionalFrame::getConsecutiveLaneSelector | ( | ) | const |
get consecutive lane selector
Definition at line 246 of file GNEAdditionalFrame.cpp.
References myConsecutiveLaneSelector.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), and GNEViewNet::hotkeyBackSpace().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 156 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
GNENetworkSelector * GNEAdditionalFrame::getEdgesSelector | ( | ) | const |
get edges selector
Definition at line 234 of file GNEAdditionalFrame.cpp.
References myEdgesSelector.
Referenced by GNEViewNet::abortOperation().
|
inherited |
get font of the header's frame
Definition at line 168 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 162 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
GNENetworkSelector * GNEAdditionalFrame::getLanesSelector | ( | ) | const |
get edges selector
Definition at line 240 of file GNEAdditionalFrame.cpp.
References myLanesSelector.
Referenced by GNEViewNet::abortOperation().
GNENeteditAttributes * GNEAdditionalFrame::getNeteditAttributes | ( | ) | const |
get Netedit parameter
Definition at line 252 of file GNEAdditionalFrame.cpp.
References myNeteditAttributes.
Referenced by GNEViewNet::drawNeteditAttributesReferences().
|
protectedinherited |
get predefinedTagsMML
Definition at line 311 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 174 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
|
inherited |
get view net
Definition at line 150 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().
|
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 124 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.
Referenced by GNEDeleteFrame::hide(), GNEInspectorFrame::hide(), GNEMoveFrame::hide(), GNESelectorFrame::hide(), GNEGenericDataFrame::hide(), GNEMeanDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNECreateEdgeFrame::hide(), GNECrossingFrame::hide(), GNEProhibitionFrame::hide(), GNETAZFrame::hide(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNETLSEditorFrame::TLSAttributes::hideTLSAttributes(), GNETLSEditorFrame::TLSDefinition::hideTLSDefinition(), GNETLSEditorFrame::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().
|
inherited |
Open help attributes dialog.
Definition at line 184 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, TL, TLF, toString(), and WRITE_DEBUG.
Referenced by GNEFrameAttributeModules::AttributesEditor::onCmdAttributesEditorHelp(), and GNEAttributesCreator::onCmdHelp().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 298 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().
|
inherited |
set width of GNEFrame
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
virtualinherited |
build a shaped element using the drawed shape
Reimplemented in GNEShapeFrame, and GNETAZFrame.
Definition at line 279 of file GNEFrame.cpp.
Referenced by GNEDrawingShape::stopDrawing().
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 176 of file GNEAdditionalFrame.cpp.
References myAdditionalTagSelector, GNEFrame::myViewNet, GNETagSelector::refreshTagSelector(), GNEViewNet::resetLastClickedPosition(), and GNEFrame::show().
Referenced by GNEAdditionalFrame::E2MultilaneLegendModule::showE2MultilaneLegend(), GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule(), and GNEViewNet::updateNetworkModeSpecificControls().
|
protectedvirtual |
Tag selected in GNETagSelector.
Reimplemented from GNEFrame.
Definition at line 307 of file GNEAdditionalFrame.cpp.
References GNENet::computeNetwork(), GNETagSelector::getCurrentTemplateAC(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), GNEViewNet::getViewParent(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNEAttributesCreator::hideAttributesCreatorModule(), GNEConsecutiveSelector::hideConsecutiveLaneSelectorModule(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNENeteditAttributes::hideNeteditAttributesModule(), GNENetworkSelector::hideNetworkElementsSelector(), GNESelectorParent::hideSelectorParentModule(), myAdditionalAttributes, myAdditionalTagSelector, myConsecutiveLaneSelector, myE2MultilaneLegendModule, myEdgesSelector, myHelpCreationModule, myLanesSelector, myNeteditAttributes, mySelectorAdditionalParent, GNEFrame::myViewNet, GNEViewNet::resetLastClickedPosition(), GNEAttributesCreator::showAttributesCreatorModule(), GNEConsecutiveSelector::showConsecutiveLaneSelectorModule(), GNEAdditionalFrame::E2MultilaneLegendModule::showE2MultilaneLegend(), GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule(), GNENeteditAttributes::showNeteditAttributesModule(), GNENetworkSelector::showNetworkElementsSelector(), GNESelectorParent::showSelectorParentModule(), SUMO_ATTR_EDGES, and SUMO_ATTR_LANES.
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNEGenericDataFrame, and GNEMeanDataFrame.
Definition at line 252 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
private |
internal additional attributes
Definition at line 152 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), createBaseAdditionalObject(), createPath(), GNEAdditionalFrame(), and tagSelected().
|
private |
item selector
Definition at line 149 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), createBaseAdditionalObject(), createPath(), GNEAdditionalFrame(), show(), and tagSelected().
|
protected |
SumoBaseObject used for create additional.
Definition at line 127 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), createBaseAdditionalObject(), createPath(), and ~GNEAdditionalFrame().
|
private |
Module for select consecutive lanes.
Definition at line 167 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), createPath(), getConsecutiveLaneSelector(), GNEAdditionalFrame(), and tagSelected().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 120 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
private |
Module for show E2 Detector legend.
Definition at line 173 of file GNEAdditionalFrame.h.
Referenced by GNEAdditionalFrame(), and tagSelected().
|
private |
Module for select edges.
Definition at line 161 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), getEdgesSelector(), GNEAdditionalFrame(), and tagSelected().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 142 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 145 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
protectedinherited |
fame for header elements
Definition at line 123 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Module for show additional help legend.
Definition at line 170 of file GNEAdditionalFrame.h.
Referenced by GNEAdditionalFrame(), and tagSelected().
|
private |
Module for select lanes.
Definition at line 164 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), buildAdditionalCommonAttributes(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), getLanesSelector(), GNEAdditionalFrame(), and tagSelected().
|
private |
Netedit parameter.
Definition at line 155 of file GNEAdditionalFrame.h.
Referenced by addAdditional(), createPath(), getNeteditAttributes(), GNEAdditionalFrame(), and tagSelected().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 148 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 139 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().
|
private |
Module for select a single parent additional.
Definition at line 158 of file GNEAdditionalFrame.h.
Referenced by buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), createBaseAdditionalObject(), createPath(), GNEAdditionalFrame(), and tagSelected().
|
protectedinherited |
FOX need this.
View Net
Definition at line 117 of file GNEFrame.h.
Referenced by addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), buildAdditionalOverEdge(), buildAdditionalOverLane(), buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), show(), GNEStopFrame::tagSelected(), and tagSelected().