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

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

Private Member Functions

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

Private Attributes

GNEApplicationWindowmyApplicationWindow
 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.

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

References GUIDesigns::buildFXMenuCheckboxIcon(), COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, GUIIconSubSys::getIcon(), 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, GNEApplicationWindowHelper::EditMenuCommands::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, 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 944 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 966 of file GNEApplicationWindowHelper.cpp.

References toString().

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.

◆ 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.

◆ menuCheckChangeAllPhases

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

menu check to set change all phases

Definition at line 514 of file GNEApplicationWindowHelper.h.

◆ 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.

◆ menuCheckExtendSelection

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

menu check to extend to edge nodes

Definition at line 511 of file GNEApplicationWindowHelper.h.

◆ menuCheckHideConnections

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

menu check to hide connections in connect mode

Definition at line 502 of file GNEApplicationWindowHelper.h.

◆ menuCheckMergeAutomatically

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

menu check to we should warn about merging junctions

Definition at line 517 of file GNEApplicationWindowHelper.h.

◆ menuCheckMoveElevation

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

menu check to apply movement to elevation

Definition at line 523 of file GNEApplicationWindowHelper.h.

◆ menuCheckSelectEdges

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

menu check to select only edges

Definition at line 496 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowAdditionalSubElements

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

menu check to show additional sub-elements

Definition at line 505 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowConnections

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

menu check to show connections

Definition at line 499 of file GNEApplicationWindowHelper.h.

◆ menuCheckShowDemandElements

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

menu check to show Demand Elements

Definition at line 493 of file GNEApplicationWindowHelper.h.

◆ 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.

◆ menuCheckShowTAZElements

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

menu check to show TAZ elements

Definition at line 508 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleDrawJunctionShape

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

menu check to toggle draw junction shape

Definition at line 487 of file GNEApplicationWindowHelper.h.

◆ menuCheckToggleGrid

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

menu check to show grid button

Definition at line 484 of file GNEApplicationWindowHelper.h.

◆ myApplicationWindow

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

pointer to current GNEApplicationWindow

Definition at line 536 of file GNEApplicationWindowHelper.h.

◆ separator

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

separator

Definition at line 532 of file GNEApplicationWindowHelper.h.


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