Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions Struct Reference

struct used to group all variables related to view options in supermode Network More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions:
[legend]

Public Member Functions

void buildNetworkViewOptionsMenuChecks (FXMenuPane *editMenu)
 build menu checks
void hideNetworkViewOptionsMenuChecks ()
 hide all options menu checks
 NetworkViewOptions (GNEApplicationWindow *applicationWindow)
 default constructor
void updateShortcuts ()
 update shortcuts (alt+X)

Data Fields

MFXMenuCheckIcon * menuCheckAutoOppositeEdge = nullptr
 check checkable to create auto create opposite edge
MFXMenuCheckIcon * menuCheckChainEdges = nullptr
 menu check to the endpoint for a created edge should be set as the new source
MFXMenuCheckIcon * menuCheckChangeAllPhases = nullptr
 menu check to set change all phases
MFXMenuCheckIcon * menuCheckDrawSpreadVehicles = nullptr
 menu check to draw vehicles in begin position or spread in lane
MFXMenuCheckIcon * menuCheckExtendSelection = nullptr
 menu check to extend to edge nodes
MFXMenuCheckIcon * menuCheckHideConnections = nullptr
 menu check to hide connections in connect mode
MFXMenuCheckIcon * menuCheckMergeAutomatically = nullptr
 menu check to we should warn about merging junctions
MFXMenuCheckIcon * menuCheckMoveElevation = nullptr
 menu check to apply movement to elevation
MFXMenuCheckIcon * menuCheckSelectEdges = nullptr
 menu check to select only edges
MFXMenuCheckIcon * menuCheckShowAdditionalSubElements = nullptr
 menu check to show additional sub-elements
MFXMenuCheckIcon * menuCheckShowConnections = nullptr
 menu check to show connections
MFXMenuCheckIcon * menuCheckShowDemandElements = nullptr
 menu check to show Demand Elements
MFXMenuCheckIcon * menuCheckShowJunctionBubble = nullptr
 menu check to show connection as bubble in "Move" mode.
MFXMenuCheckIcon * menuCheckShowTAZElements = nullptr
 menu check to show TAZ elements
MFXMenuCheckIcon * menuCheckToggleDrawJunctionShape = nullptr
 menu check to toggle draw junction shape
MFXMenuCheckIcon * menuCheckToggleGrid = nullptr
 menu check to show grid button
FXMenuSeparator * separator = nullptr
 separator

Private Member Functions

 NetworkViewOptions (const NetworkViewOptions &)=delete
 Invalidated copy constructor.
NetworkViewOptions & operator= (const NetworkViewOptions &)=delete
 Invalidated assignment operator.

Private Attributes

GNEApplicationWindow * myApplicationWindow
 pointer to current GNEApplicationWindow

Detailed Description

struct used to group all variables related to view options in supermode Network

Definition at line 469 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::NetworkViewOptions ( GNEApplicationWindow * applicationWindow)

default constructor

Definition at line 850 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow.

Referenced by NetworkViewOptions(), and operator=().

Here is the caller graph for this function:

◆ NetworkViewOptions() [2/2]

GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::NetworkViewOptions ( const NetworkViewOptions & )
privatedelete

Invalidated copy constructor.

References NetworkViewOptions().

Member Function Documentation

◆ buildNetworkViewOptionsMenuChecks()

void GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::buildNetworkViewOptionsMenuChecks ( FXMenuPane * editMenu)

build menu checks

Definition at line 856 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCheckboxIcon(), COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, GUIIconSubSys::getIcon(), menuCheckAutoOppositeEdge, menuCheckChainEdges, menuCheckChangeAllPhases, menuCheckDrawSpreadVehicles, menuCheckExtendSelection, menuCheckHideConnections, menuCheckMergeAutomatically, menuCheckMoveElevation, menuCheckSelectEdges, menuCheckShowAdditionalSubElements, menuCheckShowConnections, menuCheckShowDemandElements, menuCheckShowJunctionBubble, menuCheckShowTAZElements, menuCheckToggleDrawJunctionShape, menuCheckToggleGrid, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myApplicationWindow, NETWORKMODE_CHECKBOX_APPLYTOALLPHASES, NETWORKMODE_CHECKBOX_AUTOSELECTJUNCTIONS, NETWORKMODE_CHECKBOX_BUBBLES, NETWORKMODE_CHECKBOX_CHAIN, NETWORKMODE_CHECKBOX_ELEVATION, NETWORKMODE_CHECKBOX_HIDECONNECTIONS, NETWORKMODE_CHECKBOX_MERGEAUTOMATICALLY, NETWORKMODE_CHECKBOX_SELECTEDGES, NETWORKMODE_CHECKBOX_SHOWCONNECTIONS, NETWORKMODE_CHECKBOX_SHOWSUBADDITIONALS, NETWORKMODE_CHECKBOX_SHOWTAZELEMENTS, NETWORKMODE_CHECKBOX_TWOWAY, separator, and TL.

◆ hideNetworkViewOptionsMenuChecks()

◆ operator=()

NetworkViewOptions & GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::operator= ( const NetworkViewOptions & )
privatedelete

Invalidated assignment operator.

References NetworkViewOptions().

◆ updateShortcuts()

Field Documentation

◆ menuCheckAutoOppositeEdge

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckAutoOppositeEdge = nullptr

check checkable to create auto create opposite edge

Definition at line 529 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckChainEdges

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckChainEdges = nullptr

menu check to the endpoint for a created edge should be set as the new source

Definition at line 526 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckChangeAllPhases

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckChangeAllPhases = nullptr

menu check to set change all phases

Definition at line 514 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckDrawSpreadVehicles

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckDrawSpreadVehicles = nullptr

menu check to draw vehicles in begin position or spread in lane

Definition at line 490 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckExtendSelection

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckExtendSelection = nullptr

menu check to extend to edge nodes

Definition at line 511 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckHideConnections

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckHideConnections = nullptr

menu check to hide connections in connect mode

Definition at line 502 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckMergeAutomatically

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckMergeAutomatically = nullptr

menu check to we should warn about merging junctions

Definition at line 517 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckMoveElevation

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckMoveElevation = nullptr

menu check to apply movement to elevation

Definition at line 523 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckSelectEdges

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckSelectEdges = nullptr

menu check to select only edges

Definition at line 496 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckShowAdditionalSubElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowAdditionalSubElements = nullptr

menu check to show additional sub-elements

Definition at line 505 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckShowConnections

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowConnections = nullptr

menu check to show connections

Definition at line 499 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckShowDemandElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowDemandElements = nullptr

menu check to show Demand Elements

Definition at line 493 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckShowJunctionBubble

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowJunctionBubble = nullptr

menu check to show connection as bubble in "Move" mode.

Definition at line 520 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckShowTAZElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowTAZElements = nullptr

menu check to show TAZ elements

Definition at line 508 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and updateShortcuts().

◆ menuCheckToggleDrawJunctionShape

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckToggleDrawJunctionShape = nullptr

menu check to toggle draw junction shape

Definition at line 487 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), and hideNetworkViewOptionsMenuChecks().

◆ menuCheckToggleGrid

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckToggleGrid = nullptr

menu check to show grid button

Definition at line 484 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), and hideNetworkViewOptionsMenuChecks().

◆ myApplicationWindow

GNEApplicationWindow* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::myApplicationWindow
private

pointer to current GNEApplicationWindow

Definition at line 536 of file GNEApplicationWindowHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), and NetworkViewOptions().

◆ separator

FXMenuSeparator* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::separator = nullptr

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