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

#include <GNEInspectorFrame.h>

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

Data Structures

class  AdditionalDialog
 
class  GEOAttributesEditor
 
class  NeteditAttributesEditor
 
class  TemplateEditor
 

Public Member Functions

void clearInspectedAC ()
 Clear all current inspected ACs.
 
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)
 
GNEFrameAttributeModules::AttributesEditorgetAttributesEditor () const
 get AttributesEditor
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header
 
GNEElementTreegetHierarchicalElementTree () const
 get GNEElementTree modul
 
GNEInspectorFrame::NeteditAttributesEditorgetNeteditAttributesEditor () const
 get Netedit Attributes editor
 
GNEOverlappedInspectiongetOverlappedInspection () const
 get GNEOverlappedInspection modul
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden)
 
TemplateEditorgetTemplateEditor () const
 get template editor
 
GNEViewNetgetViewNet () const
 get view net
 
 GNEInspectorFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor.
 
void hide ()
 hide inspector frame
 
void inspectChild (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
 inspect child of already inspected element
 
void inspectFromDeleteFrame (GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
 inspect called from DeleteFrame
 
void inspectMultisection (const std::vector< GNEAttributeCarrier * > &ACs)
 Inspect the given multi-selection.
 
void inspectSingleElement (GNEAttributeCarrier *AC)
 Inspect a single element.
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog.
 
bool processDataSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Data
 
bool processDemandSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Demand
 
bool processNetworkSupermodeClick (const Position &clickedPosition, GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 process click over Viewnet in Supermode Network
 
void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog (can be reimplemented in frame children)
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame
 
void show ()
 show inspector frame
 
void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children)
 
 ~GNEInspectorFrame ()
 Destructor.
 
FOX-callbacks
long onCmdGoBack (FXObject *, FXSelector, void *)
 called when user toggle the go back button
 
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 attributesEditorExtendedDialogOpened ()
 open GNEAttributesCreator extended dialog
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements
 

Protected Member Functions

void attributeUpdated (SumoXMLAttr attribute)
 function called after set a valid attribute in AttributeEditor
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML
 
void inspectClickedElement (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const Position &clickedPosition)
 FOX need this.
 

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
 
GNEViewNetmyViewNet = nullptr
 FOX need this.
 

Private Attributes

AdditionalDialogmyAdditionalDialog
 Additional dialog.
 
GNEFrameAttributeModules::AttributesEditormyAttributesEditor
 Attribute editor.
 
FXButton * myBackButton
 Back Button.
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
GEOAttributesEditormyGEOAttributesEditor
 GEO Attributes editor.
 
GNEElementTreemyHierarchicalElementTree
 Attribute Carrier Hierarchy.
 
NeteditAttributesEditormyNeteditAttributesEditor
 Netedit Attributes editor.
 
GNEOverlappedInspectionmyOverlappedInspection
 Overlapped Inspection.
 
GNEFrameAttributeModules::ParametersEditormyParametersEditor
 Parameters editor inspector.
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
 
GNEAttributeCarriermyPreviousElementDelete
 pointer to previous element called by Delete Frame
 
bool myPreviousElementDeleteWasMarked
 flag to ckec if myPreviousElementDelete was marked in Delete Frame
 
GNEAttributeCarriermyPreviousElementInspect
 Pointer to previous element called by Inspector Frame.
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame
 
TemplateEditormyTemplateEditor
 Template editor.
 

Static Private Attributes

static FXFont * myFrameHeaderFont = nullptr
 static Font for the Header (it's common for all headers, then create only one time)
 

Friends

class GNEFrameAttributeModules::ParametersEditor
 FOX-declaration.
 

Detailed Description

The Widget for modifying network-element attributes (i.e. lane speed)

Definition at line 40 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

◆ GNEInspectorFrame()

◆ ~GNEInspectorFrame()

GNEInspectorFrame::~GNEInspectorFrame ( )

Destructor.

Definition at line 865 of file GNEInspectorFrame.cpp.

Member Function Documentation

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 292 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEInspectorFrame::attributeUpdated ( SumoXMLAttr  attribute)
protectedvirtual

◆ buildRainbow()

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

Here is the caller graph for this function:

◆ clearInspectedAC()

void GNEInspectorFrame::clearInspectedAC ( )

Clear all current inspected ACs.

Definition at line 1134 of file GNEInspectorFrame.cpp.

References GNEFrameAttributeModules::AttributesEditor::getFrameParent(), GNEViewNet::getInspectedAttributeCarriers(), GNEFrame::getViewNet(), inspectMultisection(), myAttributesEditor, GNEFrame::myViewNet, and GNEViewNet::setInspectedAttributeCarriers().

Referenced by GNENet::computeAndUpdate(), GNENet::deleteDemandElement(), GNEViewNet::onCmdClearConnections(), and GNEViewNet::onCmdResetConnections().

Here is the caller graph for this function:

◆ createPath()

bool GNEFrame::createPath ( const bool  useLastRoute)
virtualinherited

create path between two elements

Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.

Definition at line 304 of file GNEFrame.cpp.

Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().

Here is the caller graph for this function:

◆ demandElementSelected()

void GNEFrame::demandElementSelected ( )
virtualinherited

selected demand element in DemandElementSelector

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.

Definition at line 273 of file GNEFrame.cpp.

Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().

Here is the caller graph for this function:

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

focus upper element of frame

Definition at line 109 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEViewNet::hotkeyFocusFrame(), processDataSupermodeClick(), processDemandSupermodeClick(), processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ frameWidthUpdated()

void GNEFrame::frameWidthUpdated ( )
virtualinherited

function called after setting new width in current frame (can be reimplemented in frame children)

Reimplemented in GNETLSEditorFrame.

Definition at line 258 of file GNEFrame.cpp.

Referenced by GNEFrame::setFrameWidth().

Here is the caller graph for this function:

◆ getAttributesEditor()

GNEFrameAttributeModules::AttributesEditor * GNEInspectorFrame::getAttributesEditor ( ) const

get AttributesEditor

Definition at line 1145 of file GNEInspectorFrame.cpp.

References myAttributesEditor.

◆ getContentFrame()

FXVerticalFrame * GNEFrame::getContentFrame ( ) const
inherited

get vertical frame that holds all widgets of frame

Definition at line 156 of file GNEFrame.cpp.

References GNEFrame::myContentFrame.

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 168 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 162 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by inspectMultisection().

Here is the caller graph for this function:

◆ getHierarchicalElementTree()

GNEElementTree * GNEInspectorFrame::getHierarchicalElementTree ( ) const

get GNEElementTree modul

Definition at line 1169 of file GNEInspectorFrame.cpp.

References myHierarchicalElementTree.

Referenced by GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().

Here is the caller graph for this function:

◆ getNeteditAttributesEditor()

GNEInspectorFrame::NeteditAttributesEditor * GNEInspectorFrame::getNeteditAttributesEditor ( ) const

get Netedit Attributes editor

Definition at line 1151 of file GNEInspectorFrame.cpp.

References myNeteditAttributesEditor.

Referenced by GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdSetFrontElement(), and GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ getOverlappedInspection()

GNEOverlappedInspection * GNEInspectorFrame::getOverlappedInspection ( ) const

get GNEOverlappedInspection modul

Definition at line 1163 of file GNEInspectorFrame.cpp.

References myOverlappedInspection.

Referenced by GNEViewNet::openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ getPredefinedTagsMML()

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

Here is the caller graph for this function:

◆ getScrollBarWidth()

int GNEFrame::getScrollBarWidth ( ) const
inherited

get scrollBar width (zero if is hidden)

Definition at line 174 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().

Here is the caller graph for this function:

◆ getTemplateEditor()

GNEInspectorFrame::TemplateEditor * GNEInspectorFrame::getTemplateEditor ( ) const

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
inherited

get view net

Definition at line 150 of file GNEFrame.cpp.

References GNEFrame::myViewNet.

Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), clearInspectedAC(), 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().

◆ hide()

void GNEInspectorFrame::hide ( )
virtual

◆ inspectChild()

void GNEInspectorFrame::inspectChild ( GNEAttributeCarrier AC,
GNEAttributeCarrier previousElement 
)

inspect child of already inspected element

Definition at line 1105 of file GNEInspectorFrame.cpp.

References inspectSingleElement(), myBackButton, GNEFrame::myHeaderLeftFrame, myPreviousElementDelete, and myPreviousElementInspect.

Referenced by GNEElementTree::onCmdInspectItem().

Here is the caller graph for this function:

◆ inspectClickedElement()

void GNEInspectorFrame::inspectClickedElement ( const GNEViewNetHelper::ViewObjectsSelector viewObjects,
const Position clickedPosition 
)
protected

FOX need this.

Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor

Definition at line 1210 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), inspectSingleElement(), myOverlappedInspection, and GNEOverlappedInspection::showOverlappedInspection().

Referenced by processDataSupermodeClick(), processDemandSupermodeClick(), and processNetworkSupermodeClick().

Here is the caller graph for this function:

◆ inspectFromDeleteFrame()

void GNEInspectorFrame::inspectFromDeleteFrame ( GNEAttributeCarrier AC,
GNEAttributeCarrier previousElement,
bool  previousElementWasMarked 
)

◆ inspectMultisection()

void GNEInspectorFrame::inspectMultisection ( const std::vector< GNEAttributeCarrier * > &  ACs)

Inspect the given multi-selection.

Definition at line 1016 of file GNEInspectorFrame.cpp.

References GNEViewParent::getFrameAreaWidth(), GNEFrame::getFrameHeaderLabel(), GNEViewNet::getViewParent(), GNEInspectorFrame::AdditionalDialog::hideAdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::hideAttributesEditorModule(), GNEInspectorFrame::GEOAttributesEditor::hideGEOAttributesEditor(), GNEElementTree::hideHierarchicalElementTree(), GNEInspectorFrame::NeteditAttributesEditor::hideNeteditAttributesEditor(), GNEOverlappedInspection::hideOverlappedInspection(), GNEFrameAttributeModules::ParametersEditor::hideParametersEditor(), GNEInspectorFrame::TemplateEditor::hideTemplateEditor(), myAdditionalDialog, myAttributesEditor, myBackButton, myGEOAttributesEditor, GNEFrame::myHeaderLeftFrame, myHierarchicalElementTree, myNeteditAttributesEditor, myOverlappedInspection, myParametersEditor, myTemplateEditor, GNEFrame::myViewNet, GNEFrame::setFrameWidth(), GNEViewNet::setInspectedAttributeCarriers(), GNEInspectorFrame::AdditionalDialog::showAdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::showAttributeEditorModule(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEElementTree::showHierarchicalElementTree(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEFrameAttributeModules::ParametersEditor::showParametersEditor(), GNEInspectorFrame::TemplateEditor::showTemplateEditor(), TL, and toString().

Referenced by clearInspectedAC(), inspectSingleElement(), GNEApplicationWindow::onCmdToggleTimeFormat(), and GNEViewNet::removeFromAttributeCarrierInspected().

Here is the caller graph for this function:

◆ inspectSingleElement()

◆ onCmdGoBack()

long GNEInspectorFrame::onCmdGoBack ( FXObject *  ,
FXSelector  ,
void *   
)

called when user toggle the go back button

Definition at line 1175 of file GNEInspectorFrame.cpp.

References GNEViewParent::getDeleteFrame(), GNEViewNet::getViewParent(), hide(), inspectSingleElement(), myPreviousElementDelete, myPreviousElementInspect, GNEFrame::myViewNet, and GNEDeleteFrame::show().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openHelpAttributesDialog()

◆ processDataSupermodeClick()

bool GNEInspectorFrame::processDataSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Data

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 957 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressData().

Here is the caller graph for this function:

◆ processDemandSupermodeClick()

bool GNEInspectorFrame::processDemandSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Demand

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 922 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressDemand().

Here is the caller graph for this function:

◆ processNetworkSupermodeClick()

bool GNEInspectorFrame::processNetworkSupermodeClick ( const Position clickedPosition,
GNEViewNetHelper::ViewObjectsSelector viewObjects 
)

process click over Viewnet in Supermode Network

Parameters
[in]clickedPositionclicked position over ViewNet
[in]viewObjectsobjects under cursors
Returns
true if something was sucefully done

Definition at line 887 of file GNEInspectorFrame.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEFrame::focusUpperElement(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNet::getMouseButtonKeyPressed(), inspectClickedElement(), myOverlappedInspection, GNEFrame::myViewNet, GNEOverlappedInspection::nextElement(), GNEOverlappedInspection::previousElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ selectedOverlappedElement()

void GNEInspectorFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtual

open GNEAttributesCreator extended dialog (can be reimplemented in frame children)

Reimplemented from GNEFrame.

Definition at line 1202 of file GNEInspectorFrame.cpp.

References inspectSingleElement(), GNEFrame::myViewNet, and GNEViewNet::updateViewNet().

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( const int  newWidth)
inherited

set width of GNEFrame

Definition at line 133 of file GNEFrame.cpp.

References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.

Referenced by inspectMultisection().

Here is the caller graph for this function:

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
virtualinherited

build a shaped element using the drawed shape

Reimplemented in GNEShapeFrame, and GNETAZFrame.

Definition at line 279 of file GNEFrame.cpp.

Referenced by GNEDrawingShape::stopDrawing().

Here is the caller graph for this function:

◆ show()

◆ tagSelected()

void GNEFrame::tagSelected ( )
virtualinherited

Tag selected in GNETagSelector.

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.

Definition at line 267 of file GNEFrame.cpp.

Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().

Here is the caller graph for this function:

◆ updateFrameAfterUndoRedo()

void GNEInspectorFrame::updateFrameAfterUndoRedo ( )
virtual

Friends And Related Symbol Documentation

◆ GNEFrameAttributeModules::ParametersEditor

FOX-declaration.

declare friend class

Definition at line 45 of file GNEInspectorFrame.h.

Field Documentation

◆ myAdditionalDialog

AdditionalDialog* GNEInspectorFrame::myAdditionalDialog
private

Additional dialog.

Definition at line 410 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), and inspectMultisection().

◆ myAttributesEditor

GNEFrameAttributeModules::AttributesEditor* GNEInspectorFrame::myAttributesEditor
private

◆ myBackButton

FXButton* GNEInspectorFrame::myBackButton
private

Back Button.

Definition at line 419 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().

◆ myContentFrame

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

◆ myFrameHeaderFont

FXFont * GNEFrame::myFrameHeaderFont = nullptr
staticprivateinherited

static Font for the Header (it's common for all headers, then create only one time)

Definition at line 142 of file GNEFrame.h.

Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel = nullptr
privateinherited

the label for the frame's header

Definition at line 145 of file GNEFrame.h.

Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().

◆ myGEOAttributesEditor

GEOAttributesEditor* GNEInspectorFrame::myGEOAttributesEditor
private

GEO Attributes editor.

Definition at line 404 of file GNEInspectorFrame.h.

Referenced by attributeUpdated(), GNEInspectorFrame(), and inspectMultisection().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame = nullptr
protectedinherited

fame for header elements

Definition at line 123 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

fame for left header elements

Definition at line 126 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame(), inspectChild(), inspectFromDeleteFrame(), and inspectMultisection().

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 129 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHierarchicalElementTree

GNEElementTree* GNEInspectorFrame::myHierarchicalElementTree
private

Attribute Carrier Hierarchy.

Definition at line 416 of file GNEInspectorFrame.h.

Referenced by getHierarchicalElementTree(), GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().

◆ myNeteditAttributesEditor

NeteditAttributesEditor* GNEInspectorFrame::myNeteditAttributesEditor
private

Netedit Attributes editor.

Definition at line 401 of file GNEInspectorFrame.h.

Referenced by attributeUpdated(), getNeteditAttributesEditor(), GNEInspectorFrame(), inspectMultisection(), and show().

◆ myOverlappedInspection

◆ myParametersEditor

GNEFrameAttributeModules::ParametersEditor* GNEInspectorFrame::myParametersEditor
private

Parameters editor inspector.

Definition at line 407 of file GNEInspectorFrame.h.

Referenced by GNEInspectorFrame(), inspectMultisection(), and updateFrameAfterUndoRedo().

◆ myPredefinedTagsMML

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

◆ myPreviousElementDelete

GNEAttributeCarrier* GNEInspectorFrame::myPreviousElementDelete
private

pointer to previous element called by Delete Frame

Definition at line 425 of file GNEInspectorFrame.h.

Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().

◆ myPreviousElementDeleteWasMarked

bool GNEInspectorFrame::myPreviousElementDeleteWasMarked
private

flag to ckec if myPreviousElementDelete was marked in Delete Frame

Definition at line 428 of file GNEInspectorFrame.h.

Referenced by inspectFromDeleteFrame().

◆ myPreviousElementInspect

GNEAttributeCarrier* GNEInspectorFrame::myPreviousElementInspect
private

Pointer to previous element called by Inspector Frame.

Definition at line 422 of file GNEInspectorFrame.h.

Referenced by inspectChild(), inspectFromDeleteFrame(), and onCmdGoBack().

◆ myScrollWindowsContents

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

◆ myTemplateEditor

TemplateEditor* GNEInspectorFrame::myTemplateEditor
private

Template editor.

Definition at line 413 of file GNEInspectorFrame.h.

Referenced by getTemplateEditor(), GNEInspectorFrame(), and inspectMultisection().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 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(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), clearInspectedAC(), GNEAdditionalFrame::createBaseAdditionalObject(), 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(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), inspectMultisection(), inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), processDataSupermodeClick(), processDemandSupermodeClick(), processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().


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