Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindow Class Reference

The main window of the Netedit. More...

#include <GNEApplicationWindow.h>

Inheritance diagram for GNEApplicationWindow:
Collaboration diagram for GNEApplicationWindow:

Data Structures

struct  EditMenuCommands
 struct for edit menu commands More...
 
struct  FileMenuCommands
 struct for File menu commands More...
 
struct  LocateMenuCommands
 struct for locate menu commands More...
 
struct  MenuBarFile
 struct for menu bar file More...
 
struct  ProcessingMenuCommands
 struct for processing menu commands More...
 
struct  SupermodeCommands
 struct for supermode commands More...
 
struct  ToolbarsGrip
 FOX-declaration. More...
 

Public Member Functions

void addChild (FXMainWindow *child)
 
void addGLChild (GUIGlChildWindow *child)
 Adds a further child window to the list. More...
 
long computeJunctionWithVolatileOptions ()
 called if the user selects Processing->compute junctions with volatile options More...
 
void create ()
 Creates the main window (required by FOX) More...
 
void dependentBuild ()
 build dependent More...
 
void disableSaveAdditionalsMenu ()
 disable save additionals More...
 
void disableSaveDemandElementsMenu ()
 disable save demand elements More...
 
void disableUndoRedo (const std::string &reason)
 disable undo-redo giving a string with the reason More...
 
void enableSaveAdditionalsMenu ()
 enable save additionals More...
 
void enableSaveDemandElementsMenu ()
 enable save demand elements More...
 
void enableSaveTLSProgramsMenu ()
 enable save TLS Programs More...
 
void enableUndoRedo ()
 disable undo-redo More...
 
GUISUMOAbstractViewgetActiveView () const
 get the active view or 0 More...
 
FXFont * getBoldFont ()
 
FXLabel & getCartesianLabel ()
 
FXCursor * getDefaultCursor ()
 get default cursor More...
 
virtual double getDelay () const
 Returns the delay (should be overwritten by subclasses if applicable) More...
 
FXLabel & getGeoLabel ()
 
FXGLVisual * getGLVisual () const
 
ToolbarsGripgetToolbarsGrip ()
 get ToolbarsGrip More...
 
GNEUndoListgetUndoList ()
 get pointer to undoList More...
 
GUIGlChildWindowgetViewByID (const std::string &id) const
 
std::vector< std::string > getViewIDs () const
 
const std::vector< GUIGlChildWindow * > & getViews () const
 
 GNEApplicationWindow (FXApp *a, const std::string &configPattern)
 Constructor. More...
 
bool isFullScreen ()
 
bool isGaming () const
 return whether the gui is in gaming mode More...
 
const std::string & isUndoRedoEnabled () const
 check if undo-redo is enabled More...
 
bool listInternal () const
 return whether to list internal structures More...
 
bool listParking () const
 return whether to list parking vehicles More...
 
bool listTeleporting () const
 return whether to list teleporting vehicles More...
 
void loadOptionOnStartup ()
 load net on startup More...
 
virtual long onCmdFullScreen (FXObject *, FXSelector, void *)
 Toggle full screen mode. More...
 
void removeChild (FXMainWindow *child)
 
void removeGLChild (GUIGlChildWindow *child)
 removes the given child window from the list More...
 
virtual const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve breakpoints if provided by the application More...
 
virtual void sendBlockingEvent (GUIEvent *event)
 Sends an event from the application thread to the GUI and waits until it is handled. More...
 
virtual void setBreakpoints (const std::vector< SUMOTime > &)
 Sets the breakpoints of the parent application. More...
 
virtual void setDelay (double)
 Sets the delay of the parent application. More...
 
void setStatusBarText (const std::string &statusBarText)
 set text of the statusBar More...
 
void updateChildren ()
 
void updateControls ()
 update control contents after undo/redo or recompute More...
 
void updateSuperModeMenuCommands (int supermode)
 update FXMenuCommands More...
 
 ~GNEApplicationWindow ()
 Destructor. More...
 
Inter-thread event handling

called when an event occurred

void eventOccurred ()
 
void handleEvent_NetworkLoaded (GUIEvent *e)
 handle event of type Network loaded More...
 
void handleEvent_Message (GUIEvent *e)
 hanlde event of type message More...
 
FOX-callbacks

called when the command/FXCall new network is executed

long onCmdNewNetwork (FXObject *, FXSelector, void *)
 
long onCmdOpenConfiguration (FXObject *, FXSelector, void *)
 called when the command/FXCall open configuration is executed More...
 
long onCmdOpenNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall open network is executed More...
 
long onCmdOpenForeign (FXObject *, FXSelector, void *)
 called when the command/FXCall open foreign is executed More...
 
long onCmdOpenAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall open additionals is executed More...
 
long onCmdOpenTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall open additionals is executed More...
 
long onCmdOpenDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall open demand is executed More...
 
long onCmdReload (FXObject *, FXSelector, void *)
 called when the command/FXCall reload is executed More...
 
long onCmdOpenRecent (FXObject *, FXSelector, void *)
 called when the command/FXCall open recent is executed More...
 
long onCmdClose (FXObject *, FXSelector, void *)
 called when the command/FXCall close is executed More...
 
long onCmdEditViewScheme (FXObject *, FXSelector, void *)
 Called on menu Edit->Visualization. More...
 
long onCmdEditViewport (FXObject *, FXSelector, void *)
 Called on menu Edit->Viewport. More...
 
long onCmdLocate (FXObject *, FXSelector, void *)
 called when the command/FXCall locate is executed More...
 
long onCmdSaveNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall save network is executed More...
 
long onCmdSaveAdditionals (FXObject *, FXSelector, void *)
 called when the command/FXCall save additionals is executed More...
 
long onCmdSaveAdditionalsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save additionals as is executed More...
 
long onCmdSaveTLSPrograms (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms is executed More...
 
long onCmdSaveTLSProgramsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save TLSPrograms as is executed More...
 
long onCmdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the command/FXCall save demand elements is executed More...
 
long onCmdSaveDemandElementsAs (FXObject *, FXSelector, void *)
 called when the command/FXCall save demand elements as is executed More...
 
long onUpdSaveNetwork (FXObject *, FXSelector, void *)
 called when the update/FXCall save network is executed More...
 
long onCmdSaveAsNetwork (FXObject *, FXSelector, void *)
 called when the command/FXCall save network as is executed More...
 
long onUpdNeedsNetwork (FXObject *, FXSelector, void *)
 called when the update/FXCall needs network is executed More...
 
long onUpdReload (FXObject *, FXSelector, void *)
 called when the update/FXCall reload is executed More...
 
long onUpdSaveAdditionals (FXObject *, FXSelector, void *)
 called when the update/FXCall save additionals is executed More...
 
long onUpdSaveDemandElements (FXObject *, FXSelector, void *)
 called when the update/FXCall save demand elements is executed More...
 
long onUpdUndo (FXObject *obj, FXSelector sel, void *ptr)
 called when the update/FXCall undo is executed More...
 
long onUpdRedo (FXObject *obj, FXSelector sel, void *ptr)
 called when the update/FXCall redo is executed More...
 
long onCmdSaveAsPlainXML (FXObject *, FXSelector, void *)
 called when the command/FXCall save as plain xml is executed More...
 
long onCmdSaveJoined (FXObject *, FXSelector, void *)
 called when the command/FXCall save joined is executed More...
 
long onKeyPress (FXObject *o, FXSelector sel, void *data)
 called when a key is pressed More...
 
long onKeyRelease (FXObject *o, FXSelector sel, void *data)
 called when a key is released More...
 
long onCmdQuit (FXObject *, FXSelector, void *)
 Called by FOX if the application shall be closed. More...
 
long onCmdEditChosen (FXObject *, FXSelector, void *)
 called when the command/FXCall edit chosen is executed More...
 
long onCmdAbout (FXObject *, FXSelector, void *)
 called when the command/FXCall show about dialog is executed More...
 
long onUpdOpen (FXObject *, FXSelector, void *)
 called when the command/FXCall on update open executed More...
 
long onCmdClearMsgWindow (FXObject *, FXSelector, void *)
 called when the command/FXCall clear message windows is executed More...
 
long onLoadThreadEvent (FXObject *, FXSelector, void *)
 called when the command/FXCall load thread is executed More...
 
long onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr)
 called when the command/FXCall clipboard request is executed More...
 
long onCmdSetSuperMode (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits an edit-supermode hotkey More...
 
long onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits an edit-mode hotkey More...
 
long onCmdProcessButton (FXObject *, FXSelector sel, void *)
 called when user press a process button (or a shortcut) More...
 
long onCmdOpenSUMOGUI (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hints ctrl + T More...
 
long onCmdAbort (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits esc More...
 
long onCmdDel (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits del More...
 
long onCmdEnter (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits enter More...
 
long onCmdBackspace (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits backspace More...
 
long onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr)
 called if the user hits f More...
 
long onCmdToogleGrid (FXObject *, FXSelector, void *)
 called if the user press key combination Ctrl + G to toogle grid More...
 
long onCmdToogleEditOptions (FXObject *, FXSelector, void *)
 called if the user press key combination Alt + <0-9> More...
 
long onCmdHelp (FXObject *sender, FXSelector sel, void *ptr)
 called if the user selects help->Documentation More...
 
long onCmdOptions (FXObject *, FXSelector, void *)
 called if the user selects Processing->Configure Options More...
 
long onCmdUndo (FXObject *, FXSelector, void *)
 called when user press Ctrl+Z More...
 
long onCmdRedo (FXObject *, FXSelector, void *)
 
inherited from GUIMainWindow

get build OpenGL Canvas (due NETEDIT only uses a single View, it always return nullptr)

FXGLCanvas * getBuildGLCanvas () const
 
SUMOTime getCurrentSimTime () const
 get current simulation time (pure virtual but we don't need it) More...
 
double getTrackerInterval () const
 get current tracker interval (pure virtual but we don't need it) More...
 

Static Public Member Functions

static GUIMainWindowgetInstance ()
 

Protected Member Functions

 GNEApplicationWindow ()
 FOX needs this for static members. More...
 
void setWindowSizeAndPos ()
 perform initial window positioning and sizing according to user options / previous call More...
 
void storeWindowSizeAndPos ()
 record window position and size in registry More...
 

Protected Attributes

bool hadDependentBuild
 check if had dependent build More...
 
bool myAmFullScreen
 whether to show the window in full screen mode More...
 
bool myAmGaming
 information whether the gui is currently in gaming mode More...
 
bool myAmLoading
 information whether the gui is currently loading and the load-options shall be greyed out More...
 
FXFont * myBoldFont
 Font used for popup-menu titles. More...
 
FXDockSite * myBottomDock
 
FXLabel * myCartesianCoordinate
 Labels for the current cartesian and geo-coordinate. More...
 
FXHorizontalFrame * myCartesianFrame
 
std::string myConfigPattern
 Input file pattern. More...
 
FXMenuPane * myEditMenu
 
FXSynchQue< GUIEvent * > myEvents
 List of got requests. More...
 
FXMenuPane * myFileMenu
 the submenus More...
 
FXMenuPane * myFileMenuAdditionals
 
FXMenuPane * myFileMenuDemandElements
 
FXMenuPane * myFileMenuTLS
 
FXLabel * myGeoCoordinate
 
FXHorizontalFrame * myGeoFrame
 
FXGLVisual * myGLVisual
 The gl-visual used. More...
 
std::vector< GUIGlChildWindow * > myGLWindows
 
FXMenuPane * myHelpMenu
 
FXDockSite * myLeftDock
 
bool myListInternal
 information whether the locator should list internal structures More...
 
bool myListParking
 information whether the locator should list parking vehicles More...
 
bool myListTeleporting
 information whether the locator should list teleporting vehicles More...
 
GNELoadThreadmyLoadThread
 the thread that loads the network More...
 
FXEX::FXThreadEvent myLoadThreadEvent
 io-event with the load-thread More...
 
FXMenuPane * myLocatorMenu
 
FXSplitter * myMainSplitter
 The splitter that divides the main window into view and the log window. More...
 
FXMDIClient * myMDIClient
 The multi view panel. More...
 
GUIMessageWindowmyMessageWindow
 A window to display messages, warnings and error in. More...
 
GNENetmyNet
 we are responsible for the net More...
 
FXMenuPane * myProcessingMenu
 
FXDockSite * myRightDock
 
FXStatusBar * myStatusbar
 The status bar. More...
 
FXDockSite * myTopDock
 
FXMutex myTrackerLock
 A lock to make the removal and addition of trackers secure. More...
 
std::vector< FXMainWindow * > myTrackerWindows
 
GNEUndoListmyUndoList
 the one and only undo list More...
 
std::string myUndoRedoListEnabled
 string to check if undo/redo list is enabled (a String is used to keep the disabling reason) More...
 
FXMenuPane * myWindowsMenu
 

Static Protected Attributes

static GUIMainWindowmyInstance = nullptr
 the singleton window instance More...
 

Private Member Functions

void closeAllWindows ()
 this method closes all windows and deletes the current simulation */ More...
 
bool continueWithUnsavedAdditionalChanges ()
 warns about unsaved changes in additionals and gives the user the option to abort More...
 
bool continueWithUnsavedChanges ()
 warns about unsaved changes and gives the user the option to abort More...
 
bool continueWithUnsavedDemandElementChanges ()
 warns about unsaved changes in demand elements and gives the user the option to abort More...
 
void fillMenuBar ()
 Builds the menu bar. More...
 
void loadConfigOrNet (const std::string file, bool isNet, bool isReload=false, bool useStartupOptions=false, bool newNet=false)
 starts to load a netimport configuration or a network */ More...
 

Private Attributes

EditMenuCommands myEditMenuCommands
 Edit Menu Commands. More...
 
FileMenuCommands myFileMenuCommands
 File Menu Commands. More...
 
LocateMenuCommands myLocateMenuCommands
 Locate Menu Commands. More...
 
FXMDIMenu * myMDIMenu
 The menu used for the MDI-windows. More...
 
MenuBarFile myMenuBarFile
 MenuBarFile. More...
 
ProcessingMenuCommands myProcessingMenuCommands
 Edit Menu Commands. More...
 
SupermodeCommands mySupermodeCommands
 Supermode Commands. More...
 
const FXString myTitlePrefix
 the prefix for the window title More...
 
ToolbarsGrip myToolbarsGrip
 Toolbars Grip. More...
 
GNEViewNetmyViewNet
 pointer to current view net More...
 

Detailed Description

The main window of the Netedit.

Contains the file opening support and a canvas to display the network in.

Beside views on the simulation, shown within a MDI-window, the main window may also have some further views (children) assigned which are stored within a separate list.

Definition at line 59 of file GNEApplicationWindow.h.

Constructor & Destructor Documentation

◆ GNEApplicationWindow() [1/2]

GNEApplicationWindow::GNEApplicationWindow ( FXApp *  a,
const std::string &  configPattern 
)

Constructor.

Parameters
[in]aThe FOX application
[in]configPatternThe pattern used for loading configurations

Definition at line 310 of file GNEApplicationWindow.cpp.

References GUICursorSubSys::initCursors(), GUIIconSubSys::initIcons(), and GUITextureSubSys::initTextures().

◆ ~GNEApplicationWindow()

◆ GNEApplicationWindow() [2/2]

GNEApplicationWindow::GNEApplicationWindow ( )
protected

FOX needs this for static members.

Definition at line 2961 of file GNEApplicationWindow.cpp.

Member Function Documentation

◆ addChild()

void GUIMainWindow::addChild ( FXMainWindow *  child)
inherited

◆ addGLChild()

void GUIMainWindow::addGLChild ( GUIGlChildWindow child)
inherited

Adds a further child window to the list.

Definition at line 93 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

◆ closeAllWindows()

◆ computeJunctionWithVolatileOptions()

◆ continueWithUnsavedAdditionalChanges()

bool GNEApplicationWindow::continueWithUnsavedAdditionalChanges ( )
private

warns about unsaved changes in additionals and gives the user the option to abort

Definition at line 2823 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, myViewNet, onCmdSaveAdditionals(), GNEApplicationWindow::FileMenuCommands::saveAdditionals, and WRITE_DEBUG.

Referenced by continueWithUnsavedChanges().

◆ continueWithUnsavedChanges()

bool GNEApplicationWindow::continueWithUnsavedChanges ( )
private

warns about unsaved changes and gives the user the option to abort

Definition at line 2763 of file GNEApplicationWindow.cpp.

References continueWithUnsavedAdditionalChanges(), continueWithUnsavedDemandElementChanges(), GNENet::isNetSaved(), myNet, myUndoList, myViewNet, onCmdSaveNetwork(), GNEUndoList::p_clear(), and WRITE_DEBUG.

Referenced by onCmdClose(), and onCmdQuit().

◆ continueWithUnsavedDemandElementChanges()

bool GNEApplicationWindow::continueWithUnsavedDemandElementChanges ( )
private

warns about unsaved changes in demand elements and gives the user the option to abort

Definition at line 2866 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, myViewNet, onCmdSaveDemandElements(), GNEApplicationWindow::FileMenuCommands::saveDemandElements, and WRITE_DEBUG.

Referenced by continueWithUnsavedChanges().

◆ create()

◆ dependentBuild()

◆ disableSaveAdditionalsMenu()

void GNEApplicationWindow::disableSaveAdditionalsMenu ( )

◆ disableSaveDemandElementsMenu()

void GNEApplicationWindow::disableSaveDemandElementsMenu ( )

◆ disableUndoRedo()

void GNEApplicationWindow::disableUndoRedo ( const std::string &  reason)

◆ enableSaveAdditionalsMenu()

void GNEApplicationWindow::enableSaveAdditionalsMenu ( )

◆ enableSaveDemandElementsMenu()

void GNEApplicationWindow::enableSaveDemandElementsMenu ( )

◆ enableSaveTLSProgramsMenu()

void GNEApplicationWindow::enableSaveTLSProgramsMenu ( )

enable save TLS Programs

Definition at line 1833 of file GNEApplicationWindow.cpp.

References myFileMenuCommands, and GNEApplicationWindow::FileMenuCommands::saveTLSPrograms.

Referenced by GNENet::requiereSaveTLSPrograms().

◆ enableUndoRedo()

◆ eventOccurred()

◆ fillMenuBar()

◆ getActiveView()

GUISUMOAbstractView * GUIMainWindow::getActiveView ( ) const
inherited

get the active view or 0

Definition at line 192 of file GUIMainWindow.cpp.

References GUIGlChildWindow::getView(), and GUIMainWindow::myMDIClient.

Referenced by GUIVehicle::drawOutsideNetwork(), and GUIMainWindow::sendBlockingEvent().

◆ getBoldFont()

FXFont * GUIMainWindow::getBoldFont ( )
inherited

◆ getBuildGLCanvas()

FXGLCanvas * GNEApplicationWindow::getBuildGLCanvas ( ) const
virtual

Implements GUIMainWindow.

Definition at line 1575 of file GNEApplicationWindow.cpp.

◆ getCartesianLabel()

FXLabel & GUIMainWindow::getCartesianLabel ( )
inherited

◆ getCurrentSimTime()

SUMOTime GNEApplicationWindow::getCurrentSimTime ( ) const
virtual

get current simulation time (pure virtual but we don't need it)

Implements GUIMainWindow.

Definition at line 1582 of file GNEApplicationWindow.cpp.

◆ getDefaultCursor()

FXCursor * GNEApplicationWindow::getDefaultCursor ( )

get default cursor

Definition at line 1643 of file GNEApplicationWindow.cpp.

◆ getDelay()

virtual double GUIMainWindow::getDelay ( ) const
inlinevirtualinherited

Returns the delay (should be overwritten by subclasses if applicable)

Returns
parsed delay in milliseconds

Reimplemented in GUIApplicationWindow.

Definition at line 107 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::getDelay(), and GUIViewTraffic::saveFrame().

◆ getGeoLabel()

FXLabel & GUIMainWindow::getGeoLabel ( )
inherited

◆ getGLVisual()

FXGLVisual * GUIMainWindow::getGLVisual ( ) const
inherited

Definition at line 165 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLVisual.

Referenced by GUIMainWindow::getViews(), and GUISUMOViewParent::init().

◆ getInstance()

◆ getToolbarsGrip()

◆ getTrackerInterval()

double GNEApplicationWindow::getTrackerInterval ( ) const
virtual

get current tracker interval (pure virtual but we don't need it)

Implements GUIMainWindow.

Definition at line 1588 of file GNEApplicationWindow.cpp.

◆ getUndoList()

GNEUndoList * GNEApplicationWindow::getUndoList ( )

get pointer to undoList

Definition at line 1594 of file GNEApplicationWindow.cpp.

References myUndoList.

◆ getViewByID()

GUIGlChildWindow * GUIMainWindow::getViewByID ( const std::string &  id) const
inherited

◆ getViewIDs()

std::vector< std::string > GUIMainWindow::getViewIDs ( ) const
inherited

◆ getViews()

◆ handleEvent_Message()

void GNEApplicationWindow::handleEvent_Message ( GUIEvent e)

hanlde event of type message

Definition at line 942 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), and myMessageWindow.

Referenced by eventOccurred().

◆ handleEvent_NetworkLoaded()

◆ isFullScreen()

bool GUIMainWindow::isFullScreen ( )
inlineinherited

Definition at line 134 of file GUIMainWindow.h.

References GUIMainWindow::myAmFullScreen.

Referenced by GUIViewTraffic::onDoubleClicked().

◆ isGaming()

bool GUIMainWindow::isGaming ( ) const
inlineinherited

◆ isUndoRedoEnabled()

const std::string & GNEApplicationWindow::isUndoRedoEnabled ( ) const

check if undo-redo is enabled

Definition at line 2953 of file GNEApplicationWindow.cpp.

References myUndoRedoListEnabled.

Referenced by GNEUndoList::p_onUpdRedo(), and GNEUndoList::p_onUpdUndo().

◆ listInternal()

bool GUIMainWindow::listInternal ( ) const
inlineinherited

return whether to list internal structures

Definition at line 88 of file GUIMainWindow.h.

References GUIMainWindow::myListInternal.

Referenced by GUISUMOViewParent::onCmdLocate().

◆ listParking()

bool GUIMainWindow::listParking ( ) const
inlineinherited

return whether to list parking vehicles

Definition at line 93 of file GUIMainWindow.h.

References GUIMainWindow::myListParking.

Referenced by GUIApplicationWindow::fillMenuBar(), and GUISUMOViewParent::onCmdLocate().

◆ listTeleporting()

bool GUIMainWindow::listTeleporting ( ) const
inlineinherited

return whether to list teleporting vehicles

Definition at line 98 of file GUIMainWindow.h.

References GUIMainWindow::getInstance(), and GUIMainWindow::myListTeleporting.

Referenced by GUISUMOViewParent::onCmdLocate().

◆ loadConfigOrNet()

◆ loadOptionOnStartup()

void GNEApplicationWindow::loadOptionOnStartup ( )

load net on startup

Definition at line 1649 of file GNEApplicationWindow.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), loadConfigOrNet(), and OptionsCont::set().

Referenced by main().

◆ onClipboardRequest()

long GNEApplicationWindow::onClipboardRequest ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called when the command/FXCall clipboard request is executed

Definition at line 788 of file GNEApplicationWindow.cpp.

References GUIUserIO::clipped.

◆ onCmdAbort()

◆ onCmdAbout()

long GNEApplicationWindow::onCmdAbout ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall show about dialog is executed

Definition at line 775 of file GNEApplicationWindow.cpp.

References GNEDialog_About::create(), and WRITE_DEBUG.

◆ onCmdBackspace()

long GNEApplicationWindow::onCmdBackspace ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits backspace

Definition at line 2023 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyBackSpace(), myViewNet, and WRITE_DEBUG.

◆ onCmdClearMsgWindow()

long GNEApplicationWindow::onCmdClearMsgWindow ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall clear message windows is executed

Definition at line 768 of file GNEApplicationWindow.cpp.

References GUIMessageWindow::clear(), and myMessageWindow.

◆ onCmdClose()

◆ onCmdDel()

long GNEApplicationWindow::onCmdDel ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits del

Definition at line 1999 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyDel(), myViewNet, and WRITE_DEBUG.

◆ onCmdEditChosen()

long GNEApplicationWindow::onCmdEditChosen ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall edit chosen is executed

Definition at line 460 of file GNEApplicationWindow.cpp.

References gSelected.

◆ onCmdEditViewport()

long GNEApplicationWindow::onCmdEditViewport ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->Viewport.

Definition at line 2045 of file GNEApplicationWindow.cpp.

References myViewNet, and GUISUMOAbstractView::showViewportEditor().

◆ onCmdEditViewScheme()

long GNEApplicationWindow::onCmdEditViewScheme ( FXObject *  ,
FXSelector  ,
void *   
)

Called on menu Edit->Visualization.

Definition at line 2055 of file GNEApplicationWindow.cpp.

References myViewNet, and GUISUMOAbstractView::showViewschemeEditor().

◆ onCmdEnter()

long GNEApplicationWindow::onCmdEnter ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits enter

Definition at line 2011 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyEnter(), myViewNet, and WRITE_DEBUG.

◆ onCmdFocusFrame()

long GNEApplicationWindow::onCmdFocusFrame ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits f

Definition at line 2035 of file GNEApplicationWindow.cpp.

References GNEViewNet::hotkeyFocusFrame(), and myViewNet.

◆ onCmdFullScreen()

virtual long GUIMainWindow::onCmdFullScreen ( FXObject *  ,
FXSelector  ,
void *   
)
inlinevirtualinherited

Toggle full screen mode.

Reimplemented in GUIApplicationWindow.

Definition at line 130 of file GUIMainWindow.h.

Referenced by GUIViewTraffic::onDoubleClicked().

◆ onCmdHelp()

long GNEApplicationWindow::onCmdHelp ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user selects help->Documentation

Definition at line 2311 of file GNEApplicationWindow.cpp.

References FXLinkLabel::fxexecute().

◆ onCmdLocate()

long GNEApplicationWindow::onCmdLocate ( FXObject *  ,
FXSelector  sel,
void *   
)

called when the command/FXCall locate is executed

Definition at line 750 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GNEViewParent::onCmdLocate().

◆ onCmdNewNetwork()

long GNEApplicationWindow::onCmdNewNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenAdditionals()

long GNEApplicationWindow::onCmdOpenAdditionals ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenConfiguration()

long GNEApplicationWindow::onCmdOpenConfiguration ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenDemandElements()

long GNEApplicationWindow::onCmdOpenDemandElements ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenForeign()

long GNEApplicationWindow::onCmdOpenForeign ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenNetwork()

long GNEApplicationWindow::onCmdOpenNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOpenRecent()

long GNEApplicationWindow::onCmdOpenRecent ( FXObject *  sender,
FXSelector  ,
void *  fileData 
)

called when the command/FXCall open recent is executed

Definition at line 705 of file GNEApplicationWindow.cpp.

References loadConfigOrNet(), myAmLoading, myMenuBarFile, GNEApplicationWindow::MenuBarFile::myRecentNets, GUIMainWindow::myStatusbar, myViewNet, and onCmdClose().

◆ onCmdOpenSUMOGUI()

long GNEApplicationWindow::onCmdOpenSUMOGUI ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

◆ onCmdOpenTLSPrograms()

long GNEApplicationWindow::onCmdOpenTLSPrograms ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdOptions()

long GNEApplicationWindow::onCmdOptions ( FXObject *  ,
FXSelector  ,
void *   
)

called if the user selects Processing->Configure Options

Definition at line 2318 of file GNEApplicationWindow.cpp.

References NIFrame::checkOptions(), NWFrame::checkOptions(), NBFrame::checkOptions(), and SystemFrame::checkOptions().

◆ onCmdProcessButton()

◆ onCmdQuit()

long GNEApplicationWindow::onCmdQuit ( FXObject *  ,
FXSelector  ,
void *   
)

Called by FOX if the application shall be closed.

Note
Called either by FileMenu->Quit, the normal close-menu or SIGINT

Definition at line 444 of file GNEApplicationWindow.cpp.

References continueWithUnsavedChanges(), gCurrentFolder, and GUIMainWindow::storeWindowSizeAndPos().

◆ onCmdRedo()

◆ onCmdReload()

long GNEApplicationWindow::onCmdReload ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall reload is executed

Definition at line 721 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), loadConfigOrNet(), myViewNet, and onCmdClose().

◆ onCmdSaveAdditionals()

◆ onCmdSaveAdditionalsAs()

long GNEApplicationWindow::onCmdSaveAdditionalsAs ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveAsNetwork()

long GNEApplicationWindow::onCmdSaveAsNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveAsPlainXML()

◆ onCmdSaveDemandElements()

◆ onCmdSaveDemandElementsAs()

long GNEApplicationWindow::onCmdSaveDemandElementsAs ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveJoined()

◆ onCmdSaveNetwork()

long GNEApplicationWindow::onCmdSaveNetwork ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSaveTLSPrograms()

◆ onCmdSaveTLSProgramsAs()

long GNEApplicationWindow::onCmdSaveTLSProgramsAs ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSetMode()

long GNEApplicationWindow::onCmdSetMode ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits an edit-mode hotkey

Definition at line 1863 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::onCmdSetMode().

◆ onCmdSetSuperMode()

long GNEApplicationWindow::onCmdSetSuperMode ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)

called if the user hits an edit-supermode hotkey

Definition at line 1853 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::onCmdSetSupermode().

◆ onCmdToogleEditOptions()

long GNEApplicationWindow::onCmdToogleEditOptions ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called if the user press key combination Alt + <0-9>

Definition at line 2086 of file GNEApplicationWindow.cpp.

References GNEViewNet::getCommonViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::CommonViewOptions::getVisibleCommonMenuCommands(), GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands(), GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_HOTKEY_ALT_0_TOOGLEEDITOPTION, myViewNet, GNEViewNet::onCmdToogleAutoOppositeEdge(), GNEViewNet::onCmdToogleChainEdges(), GNEViewNet::onCmdToogleChangeAllPhases(), GNEViewNet::onCmdToogleExtendSelection(), GNEViewNet::onCmdToogleHideConnections(), GNEViewNet::onCmdToogleHideNonInspecteDemandElements(), GNEViewNet::onCmdToogleHideShapes(), GNEViewNet::onCmdToogleMoveElevation(), GNEViewNet::onCmdToogleSelectEdges(), GNEViewNet::onCmdToogleShowConnections(), GNEViewNet::onCmdToogleShowDemandElements(), GNEViewNet::onCmdToogleShowGrid(), GNEViewNet::onCmdToogleShowJunctionBubbles(), GNEViewNet::onCmdToogleWarnAboutMerge(), toString(), and WRITE_DEBUG.

◆ onCmdToogleGrid()

long GNEApplicationWindow::onCmdToogleGrid ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called if the user press key combination Ctrl + G to toogle grid

Definition at line 2065 of file GNEApplicationWindow.cpp.

References GNEViewNet::getCommonViewOptions(), GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, myViewNet, GNEViewNet::onCmdToogleShowGrid(), WRITE_DEBUG, and WRITE_WARNING.

◆ onCmdUndo()

long GNEApplicationWindow::onCmdUndo ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onKeyPress()

long GNEApplicationWindow::onKeyPress ( FXObject *  o,
FXSelector  sel,
void *  data 
)

called when a key is pressed

Definition at line 2973 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyPress().

◆ onKeyRelease()

long GNEApplicationWindow::onKeyRelease ( FXObject *  o,
FXSelector  sel,
void *  data 
)

called when a key is released

Definition at line 2986 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyRelease().

◆ onLoadThreadEvent()

long GNEApplicationWindow::onLoadThreadEvent ( FXObject *  ,
FXSelector  ,
void *   
)

called when the command/FXCall load thread is executed

Definition at line 797 of file GNEApplicationWindow.cpp.

References eventOccurred().

◆ onUpdNeedsNetwork()

long GNEApplicationWindow::onUpdNeedsNetwork ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall needs network is executed

Definition at line 2469 of file GNEApplicationWindow.cpp.

References myNet.

◆ onUpdOpen()

long GNEApplicationWindow::onUpdOpen ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the command/FXCall on update open executed

Definition at line 761 of file GNEApplicationWindow.cpp.

References myAmLoading.

◆ onUpdRedo()

long GNEApplicationWindow::onUpdRedo ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called when the update/FXCall redo is executed

Definition at line 2502 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::p_onUpdRedo().

◆ onUpdReload()

long GNEApplicationWindow::onUpdReload ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall reload is executed

Definition at line 2476 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), and myNet.

◆ onUpdSaveAdditionals()

long GNEApplicationWindow::onUpdSaveAdditionals ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save additionals is executed

Definition at line 2482 of file GNEApplicationWindow.cpp.

References GNENet::isAdditionalsSaved(), and myNet.

◆ onUpdSaveDemandElements()

long GNEApplicationWindow::onUpdSaveDemandElements ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save demand elements is executed

Definition at line 2489 of file GNEApplicationWindow.cpp.

References GNENet::isDemandElementsSaved(), and myNet.

◆ onUpdSaveNetwork()

long GNEApplicationWindow::onUpdSaveNetwork ( FXObject *  sender,
FXSelector  ,
void *   
)

called when the update/FXCall save network is executed

Definition at line 2750 of file GNEApplicationWindow.cpp.

References OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::isSet(), and myNet.

◆ onUpdUndo()

long GNEApplicationWindow::onUpdUndo ( FXObject *  obj,
FXSelector  sel,
void *  ptr 
)

called when the update/FXCall undo is executed

Definition at line 2496 of file GNEApplicationWindow.cpp.

References myUndoList, and GNEUndoList::p_onUpdUndo().

◆ removeChild()

◆ removeGLChild()

void GUIMainWindow::removeGLChild ( GUIGlChildWindow child)
inherited

removes the given child window from the list

Definition at line 99 of file GUIMainWindow.cpp.

References GUIMainWindow::myGLWindows.

Referenced by GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().

◆ retrieveBreakpoints()

virtual const std::vector<SUMOTime> GUIMainWindow::retrieveBreakpoints ( ) const
inlinevirtualinherited

retrieve breakpoints if provided by the application

Reimplemented in GUIApplicationWindow.

Definition at line 139 of file GUIMainWindow.h.

Referenced by GUIViewTraffic::retrieveBreakpoints().

◆ sendBlockingEvent()

virtual void GUIMainWindow::sendBlockingEvent ( GUIEvent event)
inlinevirtualinherited

Sends an event from the application thread to the GUI and waits until it is handled.

Parameters
eventthe event to send

Reimplemented in GUIApplicationWindow.

Definition at line 122 of file GUIMainWindow.h.

References GUIMainWindow::getActiveView(), and UNUSED_PARAMETER.

◆ setBreakpoints()

virtual void GUIMainWindow::setBreakpoints ( const std::vector< SUMOTime > &  )
inlinevirtualinherited

Sets the breakpoints of the parent application.

Reimplemented in GUIApplicationWindow.

Definition at line 117 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setBreakpoints().

◆ setDelay()

virtual void GUIMainWindow::setDelay ( double  )
inlinevirtualinherited

Sets the delay of the parent application.

Reimplemented in GUIApplicationWindow.

Definition at line 113 of file GUIMainWindow.h.

Referenced by GUISUMOAbstractView::setDelay().

◆ setStatusBarText()

void GNEApplicationWindow::setStatusBarText ( const std::string &  statusBarText)
virtual

set text of the statusBar

Reimplemented from GUIMainWindow.

Definition at line 1658 of file GNEApplicationWindow.cpp.

References GUIMainWindow::myStatusbar.

Referenced by GNENet::computeDemandElements(), GNENet::computeNetwork(), handleEvent_NetworkLoaded(), and loadConfigOrNet().

◆ setWindowSizeAndPos()

void GUIMainWindow::setWindowSizeAndPos ( )
protectedinherited

◆ storeWindowSizeAndPos()

void GUIMainWindow::storeWindowSizeAndPos ( )
protectedinherited

◆ updateChildren()

◆ updateControls()

void GNEApplicationWindow::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 2909 of file GNEApplicationWindow.cpp.

References myViewNet, and GNEViewNet::updateControls().

Referenced by computeJunctionWithVolatileOptions(), onCmdProcessButton(), GNEUndoList::redo(), and GNEUndoList::undo().

◆ updateSuperModeMenuCommands()

Field Documentation

◆ hadDependentBuild

bool GNEApplicationWindow::hadDependentBuild
protected

check if had dependent build

Definition at line 402 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myAmFullScreen

bool GUIMainWindow::myAmFullScreen
protectedinherited

◆ myAmGaming

bool GUIMainWindow::myAmGaming
protectedinherited

◆ myAmLoading

bool GNEApplicationWindow::myAmLoading
protected

information whether the gui is currently loading and the load-options shall be greyed out

Definition at line 376 of file GNEApplicationWindow.h.

Referenced by handleEvent_NetworkLoaded(), loadConfigOrNet(), onCmdOpenRecent(), and onUpdOpen().

◆ myBoldFont

FXFont* GUIMainWindow::myBoldFont
protectedinherited

Font used for popup-menu titles.

Definition at line 153 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myBottomDock

FXDockSite * GUIMainWindow::myBottomDock
protectedinherited

Definition at line 168 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myCartesianCoordinate

FXLabel* GUIMainWindow::myCartesianCoordinate
protectedinherited

Labels for the current cartesian and geo-coordinate.

Definition at line 162 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIApplicationWindow::dependentBuild(), dependentBuild(), and GUIMainWindow::getCartesianLabel().

◆ myCartesianFrame

FXHorizontalFrame* GUIMainWindow::myCartesianFrame
protectedinherited

◆ myConfigPattern

std::string GNEApplicationWindow::myConfigPattern
protected

Input file pattern.

Definition at line 411 of file GNEApplicationWindow.h.

Referenced by onCmdOpenConfiguration().

◆ myEditMenu

FXMenuPane * GNEApplicationWindow::myEditMenu
protected

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().

◆ myEditMenuCommands

EditMenuCommands GNEApplicationWindow::myEditMenuCommands
private

Edit Menu Commands.

Definition at line 722 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), loadConfigOrNet(), onCmdClose(), onCmdRedo(), onCmdUndo(), and updateSuperModeMenuCommands().

◆ myEvents

FXSynchQue<GUIEvent*> GNEApplicationWindow::myEvents
protected

List of got requests.

Definition at line 396 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), eventOccurred(), and ~GNEApplicationWindow().

◆ myFileMenu

FXMenuPane* GNEApplicationWindow::myFileMenu
protected

the submenus

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().

◆ myFileMenuAdditionals

FXMenuPane * GNEApplicationWindow::myFileMenuAdditionals
protected

◆ myFileMenuCommands

◆ myFileMenuDemandElements

FXMenuPane * GNEApplicationWindow::myFileMenuDemandElements
protected

◆ myFileMenuTLS

FXMenuPane * GNEApplicationWindow::myFileMenuTLS
protected

◆ myGeoCoordinate

FXLabel * GUIMainWindow::myGeoCoordinate
protectedinherited

◆ myGeoFrame

FXHorizontalFrame * GUIMainWindow::myGeoFrame
protectedinherited

◆ myGLVisual

FXGLVisual* GUIMainWindow::myGLVisual
protectedinherited

◆ myGLWindows

◆ myHelpMenu

FXMenuPane * GNEApplicationWindow::myHelpMenu
protected

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().

◆ myInstance

GUIMainWindow * GUIMainWindow::myInstance = nullptr
staticprotectedinherited

the singleton window instance

Definition at line 183 of file GUIMainWindow.h.

Referenced by GUIMainWindow::getInstance(), and GUIMainWindow::GUIMainWindow().

◆ myLeftDock

FXDockSite * GUIMainWindow::myLeftDock
protectedinherited

Definition at line 168 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myListInternal

bool GUIMainWindow::myListInternal
protectedinherited

information whether the locator should list internal structures

Definition at line 174 of file GUIMainWindow.h.

Referenced by GUIMainWindow::listInternal(), and GUIApplicationWindow::onCmdListInternal().

◆ myListParking

bool GUIMainWindow::myListParking
protectedinherited

information whether the locator should list parking vehicles

Definition at line 177 of file GUIMainWindow.h.

Referenced by GUIApplicationWindow::fillMenuBar(), GUIMainWindow::listParking(), and GUIApplicationWindow::onCmdListParking().

◆ myListTeleporting

bool GUIMainWindow::myListTeleporting
protectedinherited

information whether the locator should list teleporting vehicles

Definition at line 180 of file GUIMainWindow.h.

Referenced by GUIMainWindow::listTeleporting(), and GUIApplicationWindow::onCmdListTeleporting().

◆ myLoadThread

GNELoadThread* GNEApplicationWindow::myLoadThread
protected

the thread that loads the network

Definition at line 373 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), loadConfigOrNet(), and ~GNEApplicationWindow().

◆ myLoadThreadEvent

FXEX::FXThreadEvent GNEApplicationWindow::myLoadThreadEvent
protected

io-event with the load-thread

Definition at line 399 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myLocateMenuCommands

LocateMenuCommands GNEApplicationWindow::myLocateMenuCommands
private

Locate Menu Commands.

Definition at line 728 of file GNEApplicationWindow.h.

Referenced by fillMenuBar().

◆ myLocatorMenu

FXMenuPane * GNEApplicationWindow::myLocatorMenu
protected

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and ~GNEApplicationWindow().

◆ myMainSplitter

FXSplitter* GNEApplicationWindow::myMainSplitter
protected

The splitter that divides the main window into view and the log window.

Definition at line 393 of file GNEApplicationWindow.h.

Referenced by dependentBuild().

◆ myMDIClient

◆ myMDIMenu

FXMDIMenu* GNEApplicationWindow::myMDIMenu
private

The menu used for the MDI-windows.

Definition at line 740 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), and handleEvent_NetworkLoaded().

◆ myMenuBarFile

◆ myMessageWindow

◆ myNet

◆ myProcessingMenu

FXMenuPane * GNEApplicationWindow::myProcessingMenu
protected

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and ~GNEApplicationWindow().

◆ myProcessingMenuCommands

ProcessingMenuCommands GNEApplicationWindow::myProcessingMenuCommands
private

Edit Menu Commands.

Definition at line 725 of file GNEApplicationWindow.h.

Referenced by fillMenuBar(), and updateSuperModeMenuCommands().

◆ myRightDock

FXDockSite * GUIMainWindow::myRightDock
protectedinherited

Definition at line 168 of file GUIMainWindow.h.

Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().

◆ myStatusbar

◆ mySupermodeCommands

SupermodeCommands GNEApplicationWindow::mySupermodeCommands
private

◆ myTitlePrefix

const FXString GNEApplicationWindow::myTitlePrefix
private

the prefix for the window title

Definition at line 737 of file GNEApplicationWindow.h.

Referenced by closeAllWindows(), dependentBuild(), handleEvent_NetworkLoaded(), and onCmdSaveAsNetwork().

◆ myToolbarsGrip

ToolbarsGrip GNEApplicationWindow::myToolbarsGrip
private

Toolbars Grip.

Definition at line 713 of file GNEApplicationWindow.h.

Referenced by dependentBuild(), fillMenuBar(), getToolbarsGrip(), and handleEvent_NetworkLoaded().

◆ myTopDock

◆ myTrackerLock

FXMutex GUIMainWindow::myTrackerLock
protectedinherited

A lock to make the removal and addition of trackers secure.

Definition at line 150 of file GUIMainWindow.h.

Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().

◆ myTrackerWindows

std::vector<FXMainWindow*> GUIMainWindow::myTrackerWindows
protectedinherited

◆ myUndoList

◆ myUndoRedoListEnabled

std::string GNEApplicationWindow::myUndoRedoListEnabled
protected

string to check if undo/redo list is enabled (a String is used to keep the disabling reason)

Definition at line 414 of file GNEApplicationWindow.h.

Referenced by disableUndoRedo(), enableUndoRedo(), and isUndoRedoEnabled().

◆ myViewNet

◆ myWindowsMenu

FXMenuPane * GNEApplicationWindow::myWindowsMenu
protected

Definition at line 379 of file GNEApplicationWindow.h.

Referenced by create(), fillMenuBar(), and ~GNEApplicationWindow().


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