Eclipse SUMO - Simulation of Urban MObility
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 More...
 
void hideNetworkViewOptionsMenuChecks ()
 hide all options menu checks More...
 
 NetworkViewOptions (GNEApplicationWindow *GNEApp)
 default constructor More...
 
void updateShortcuts ()
 update shortcuts (alt+X) More...
 

Data Fields

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

Private Member Functions

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

Private Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows More...
 

Detailed Description

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

Definition at line 435 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

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

default constructor

Definition at line 577 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 600 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, and NETWORKMODE_CHECKBOX_TWOWAY.

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 688 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::fillMenuBar(), GNEApplicationWindow::onCmdClose(), GNEApplicationWindow::onCmdReload(), 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 710 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 495 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 492 of file GNEApplicationWindowHelper.h.

◆ menuCheckChangeAllPhases

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

menu check to set change all phases

Definition at line 480 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 456 of file GNEApplicationWindowHelper.h.

◆ menuCheckExtendSelection

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

menu check to extend to edge nodes

Definition at line 477 of file GNEApplicationWindowHelper.h.

◆ menuCheckHideConnections

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

menu check to hide connections in connect mode

Definition at line 468 of file GNEApplicationWindowHelper.h.

◆ menuCheckMoveElevation

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

menu check to apply movement to elevation

Definition at line 489 of file GNEApplicationWindowHelper.h.

◆ menuCheckSelectEdges

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

menu check to select only edges

Definition at line 462 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowAdditionalSubElements

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

menu check to show additional sub-elements

Definition at line 471 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowConnections

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

menu check to show connections

Definition at line 465 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowDemandElements

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

menu check to show Demand Elements

Definition at line 459 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowJunctionBubble

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

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

Definition at line 486 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowTAZElements

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

menu check to show TAZ elements

Definition at line 474 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleDrawJunctionShape

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

menu check to toggle draw junction shape

Definition at line 453 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleGrid

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

menu check to show grid button

Definition at line 450 of file GNEApplicationWindowHelper.h.

◆ menuCheckWarnAboutMerge

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

menu check to we should warn about merging junctions

Definition at line 483 of file GNEApplicationWindowHelper.h.

◆ myGNEApp

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

pointer to current GNEApplicationWindows

Definition at line 502 of file GNEApplicationWindowHelper.h.

◆ separator

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

separator

Definition at line 498 of file GNEApplicationWindowHelper.h.


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