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 *GNEApp)
 default constructor
 
void updateShortcuts ()
 update shortcuts (alt+X)
 

Data Fields

MFXMenuCheckIconmenuCheckAutoOppositeEdge
 check checkable to create auto create opposite edge
 
MFXMenuCheckIconmenuCheckChainEdges
 menu check to the endpoint for a created edge should be set as the new source
 
MFXMenuCheckIconmenuCheckChangeAllPhases
 menu check to set change all phases
 
MFXMenuCheckIconmenuCheckDrawSpreadVehicles
 menu check to draw vehicles in begin position or spread in lane
 
MFXMenuCheckIconmenuCheckExtendSelection
 menu check to extend to edge nodes
 
MFXMenuCheckIconmenuCheckHideConnections
 menu check to hide connections in connect mode
 
MFXMenuCheckIconmenuCheckMoveElevation
 menu check to apply movement to elevation
 
MFXMenuCheckIconmenuCheckSelectEdges
 menu check to select only edges
 
MFXMenuCheckIconmenuCheckShowAdditionalSubElements
 menu check to show additional sub-elements
 
MFXMenuCheckIconmenuCheckShowConnections
 menu check to show connections
 
MFXMenuCheckIconmenuCheckShowDemandElements
 menu check to show Demand Elements
 
MFXMenuCheckIconmenuCheckShowJunctionBubble
 menu check to show connection as bubble in "Move" mode.
 
MFXMenuCheckIconmenuCheckShowTAZElements
 menu check to show TAZ elements
 
MFXMenuCheckIconmenuCheckToggleDrawJunctionShape
 menu check to toggle draw junction shape
 
MFXMenuCheckIconmenuCheckToggleGrid
 menu check to show grid button
 
MFXMenuCheckIconmenuCheckWarnAboutMerge
 menu check to we should warn about merging junctions
 
FXMenuSeparator * separator
 separator
 

Private Member Functions

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

Private Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows
 

Detailed Description

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

Definition at line 473 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::NetworkViewOptions ( GNEApplicationWindow GNEApp)

default constructor

Definition at line 808 of file GNEApplicationWindowHelper.cpp.

◆ NetworkViewOptions() [2/2]

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

Invalidated copy constructor.

Member Function Documentation

◆ buildNetworkViewOptionsMenuChecks()

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

build menu checks

Definition at line 831 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCheckboxIcon(), COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, GUIIconSubSys::getIcon(), MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, 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_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, GNEApplicationWindowHelper::EditMenuCommands::myGNEApp, NETWORKMODE_CHECKBOX_APPLYTOALLPHASES, NETWORKMODE_CHECKBOX_ASKFORMERGE, NETWORKMODE_CHECKBOX_AUTOSELECTJUNCTIONS, NETWORKMODE_CHECKBOX_BUBBLES, NETWORKMODE_CHECKBOX_CHAIN, NETWORKMODE_CHECKBOX_ELEVATION, NETWORKMODE_CHECKBOX_HIDECONNECTIONS, NETWORKMODE_CHECKBOX_SELECTEDGES, NETWORKMODE_CHECKBOX_SHOWCONNECTIONS, NETWORKMODE_CHECKBOX_SHOWSUBADDITIONALS, NETWORKMODE_CHECKBOX_SHOWTAZELEMENTS, NETWORKMODE_CHECKBOX_TWOWAY, and TL.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ hideNetworkViewOptionsMenuChecks()

void GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 919 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::fillMenuBar(), GNEApplicationWindow::onCmdClose(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ updateShortcuts()

void GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::updateShortcuts ( )

update shortcuts (alt+X)

Definition at line 941 of file GNEApplicationWindowHelper.cpp.

References toString().

Field Documentation

◆ menuCheckAutoOppositeEdge

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckAutoOppositeEdge

check checkable to create auto create opposite edge

Definition at line 533 of file GNEApplicationWindowHelper.h.

◆ menuCheckChainEdges

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckChainEdges

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

Definition at line 530 of file GNEApplicationWindowHelper.h.

◆ menuCheckChangeAllPhases

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckChangeAllPhases

menu check to set change all phases

Definition at line 518 of file GNEApplicationWindowHelper.h.

◆ menuCheckDrawSpreadVehicles

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckDrawSpreadVehicles

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

Definition at line 494 of file GNEApplicationWindowHelper.h.

◆ menuCheckExtendSelection

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckExtendSelection

menu check to extend to edge nodes

Definition at line 515 of file GNEApplicationWindowHelper.h.

◆ menuCheckHideConnections

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckHideConnections

menu check to hide connections in connect mode

Definition at line 506 of file GNEApplicationWindowHelper.h.

◆ menuCheckMoveElevation

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckMoveElevation

menu check to apply movement to elevation

Definition at line 527 of file GNEApplicationWindowHelper.h.

◆ menuCheckSelectEdges

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckSelectEdges

menu check to select only edges

Definition at line 500 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowAdditionalSubElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowAdditionalSubElements

menu check to show additional sub-elements

Definition at line 509 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowConnections

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowConnections

menu check to show connections

Definition at line 503 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowDemandElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowDemandElements

menu check to show Demand Elements

Definition at line 497 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowJunctionBubble

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowJunctionBubble

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

Definition at line 524 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowTAZElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckShowTAZElements

menu check to show TAZ elements

Definition at line 512 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleDrawJunctionShape

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckToggleDrawJunctionShape

menu check to toggle draw junction shape

Definition at line 491 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleGrid

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckToggleGrid

menu check to show grid button

Definition at line 488 of file GNEApplicationWindowHelper.h.

◆ menuCheckWarnAboutMerge

MFXMenuCheckIcon* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::menuCheckWarnAboutMerge

menu check to we should warn about merging junctions

Definition at line 521 of file GNEApplicationWindowHelper.h.

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 540 of file GNEApplicationWindowHelper.h.

◆ separator

FXMenuSeparator* GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::separator

separator

Definition at line 536 of file GNEApplicationWindowHelper.h.


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