![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEApplicationWindow.h>
Public Member Functions | |
| virtual void | addBreakpoint (SUMOTime) |
| add breakpoint to the application | |
| void | addChild (FXMainWindow *child) |
| Adds a further child window to the list (FXMainWindow) | |
| void | addGLChild (GUIGlChildWindow *child) |
| Adds a further child window to the list (GUIGlChildWindow) | |
| void | addOnlineMap (const std::string &name, const std::string &url) |
| long | computeJunctionWithVolatileOptions (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects Processing->compute junctions with volatile options | |
| bool | consoleOptionsLoaded () |
| check if console options was already loaded | |
| void | create () |
| Creates the main window (required by FOX) | |
| void | createNewNetwork () |
| create new network | |
| void | dependentBuild () |
| build dependent | |
| GUISUMOAbstractView * | getActiveView () const |
| get the active view or 0 | |
| FXFont * | getBoldFont () |
| get bold front | |
| FXTextField * | getCartesianLabel () |
| get cartesian coordinate field | |
| FXCursor * | getDefaultCursor () |
| get default cursor | |
| virtual double | getDelay () const |
| Returns the delay (should be overwritten by subclasses if applicable) | |
| GNEApplicationWindowHelper::EditMenuCommands & | getEditMenuCommands () |
| get Edit Menu Commands (needed for show/hide menu commands) | |
| FXFont * | getFallbackFont () |
| get fallback front | |
| GNEApplicationWindowHelper::FileBucketHandler * | getFileBucketHandler () const |
| get file bucket handler | |
| GNEApplicationWindowHelper::FileMenuCommands & | getFileMenuCommands () |
| get file Menu Commands (needed for show/hide menu commands) | |
| FXTextField * | getGeoLabel () |
| get geo coordinate field | |
| FXGLVisual * | getGLVisual () const |
| get GL Visual | |
| GNEApplicationWindowHelper::LockMenuCommands & | getLockMenuCommands () |
| get lock Menu Commands | |
| GNEApplicationWindowHelper::ModesMenuCommands & | getModesMenuCommands () |
| get modes Menu Commands (needed for show/hide menu commands) | |
| OptionsCont & | getNetgenerateOptions () |
| get netgenerate options container | |
| const std::map< std::string, std::string > & | getOnlineMaps () const |
| const GNEApplicationWindowHelper::ProcessingMenuCommands & | getProcessingMenuCommands () const |
| get processing Menu Commands | |
| MFXCheckableButton * | getShowToolTipsMenu () const |
| get checkable button for menu tooltips | |
| MFXCheckableButton * | getShowToolTipsView () const |
| get checkable button for view tooltips | |
| MFXStaticToolTip * | getStaticTooltipMenu () const |
| get static toolTip for menus | |
| MFXStaticToolTip * | getStaticTooltipView () const |
| get static toolTip for view | |
| OptionsCont & | getSumoOptions () |
| get SUMO options container | |
| const GNETagPropertiesDatabase * | getTagPropertiesDatabase () const |
| get tag properties database | |
| FXHorizontalFrame * | getTestFrame () |
| get test frame | |
| FXLabel * | getTestLabel () |
| get test label | |
| GNEApplicationWindowHelper::ToolbarsGrip & | getToolbarsGrip () |
| get ToolbarsGrip | |
| FXDockSite * | getTopDock () |
| get top dock | |
| GNEUndoList * | getUndoList () |
| get pointer to undoList | |
| GUIGlChildWindow * | getViewByID (const std::string &id) const |
| get specific view by ID | |
| std::vector< std::string > | getViewIDs () const |
| get view IDs | |
| GNEViewNet * | getViewNet () |
| get pointer to viewNet | |
| std::vector< GUIGlChildWindow * > | getViews () const |
| get (a copy of the list of) views | |
| GNEApplicationWindow (FXApp *app, const GNETagPropertiesDatabase *tagPropertiesDatabase, const std::string &configPattern) | |
| FOX-declaration. | |
| bool | isFullScreen () |
| bool | isGaming () const |
| return whether the gui is in gaming mode | |
| bool | listInternal () const |
| return whether to list internal structures | |
| bool | listParking () const |
| return whether to list parking vehicles | |
| bool | listTeleporting () const |
| return whether to list teleporting vehicles | |
| void | loadAdditionalElements (const std::string operation) |
| load additional elements from netedit options | |
| void | loadConfiguration (const std::string &configurationFile) |
| starts to load a configuration | |
| void | loadDataElements (const std::string operation) |
| load data elements from netedit options | |
| void | loadDemandElements (const std::string operation) |
| load demand elements from netedit options | |
| void | loadEdgeTypes (const std::string operation) |
| load meanData elements | |
| void | loadMeanDataElements (const std::string operation) |
| load meanData elements from netedit options | |
| void | loadNetwork (const std::string &networkFile) |
| load network | |
| void | loadOptionOnStartup () |
| load net on startup | |
| void | loadOSM (const std::string &OSMFile) |
| starts to load a OSM File | |
| void | loadTrafficLights (const std::string operation) |
| load traffic lights | |
| long | onCmdChangeLanguage (FXObject *, FXSelector, void *) |
| long | onCmdFocusCoordinate (FXObject *, FXSelector, void *) |
| called when user focuses a coordinate field in the status bar | |
| virtual long | onCmdFullScreen (FXObject *, FXSelector, void *) |
| Toggle full screen mode. | |
| long | onCmdSetCartesianCoordinate (FXObject *, FXSelector, void *) |
| called when user enters a cartesian coordinate in the status bar | |
| long | onCmdSetGeoCoordinate (FXObject *, FXSelector, void *) |
| called when user enters a geo coordinate in the status bar | |
| long | onCmdUnfocusCoordinate (FXObject *, FXSelector, void *) |
| called when a coordinate field in the status bar loses focus | |
| long | onUpdChangeLanguage (FXObject *, FXSelector, void *) |
| void | removeChild (FXMainWindow *child) |
| removes the given child window from the list (FXMainWindow) | |
| void | removeGLChild (GUIGlChildWindow *child) |
| removes the given child window from the list (GUIGlChildWindow) | |
| void | removeViewByID (const std::string &id) |
| virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
| retrieve breakpoints if provided by the application | |
| virtual void | sendBlockingEvent (GUIEvent *event) |
| Sends an event from the application thread to the GUI and waits until it is handled. | |
| virtual void | setBreakpoints (const std::vector< SUMOTime > &) |
| Sets the breakpoints of the parent application. | |
| virtual void | setDelay (double) |
| Sets the delay of the parent application. | |
| void | setStatusBarText (const std::string &statusBarText) |
| set text of the statusBar | |
| void | updateChildren (int msg=MID_SIMSTEP) |
| update childrens | |
| void | updateControls () |
| update control contents after undo/redo or recompute | |
| void | updateRecomputingLabel () |
| update recomputing label | |
| void | updateSuperModeMenuCommands (const Supermode supermode) |
| update FXMenuCommands depending of supermode | |
| ~GNEApplicationWindow () | |
| Destructor. | |
functions related with external runner | |
| GNEExternalRunner * | getExternalRunner () const |
| get external runner | |
| void | setExternalRunner (GNEExternalRunner *externalRunner) |
| set external runner | |
Inter-thread event handling | |
called when an event occurred | |
| void | eventOccurred () |
| void | handleEvent_FileLoaded (GUIEvent *e) |
| handle event of type Network loaded | |
| void | handleEvent_Message (GUIEvent *e) |
| handle event of type message | |
FOX-callbacks | |
called when the command/FXCall new window is executed | |
| long | onCmdNewWindow (FXObject *, FXSelector, void *) |
| long | onCmdNewNetwork (FXObject *, FXSelector, void *) |
| called when the command/FXCall new network is executed | |
| long | onCmdOpenNetconvertConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall open netconvertconfiguration is executed | |
| long | onCmdOpenNetwork (FXObject *, FXSelector, void *) |
| called when the command/FXCall open network is executed | |
| long | onCmdOpenForeign (FXObject *, FXSelector, void *) |
| called when the command/FXCall open foreign is executed | |
| long | onCmdOpenNeteditConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall open netedit config is executed | |
| long | onCmdOpenSumoConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall open SumoConfig is executed | |
| long | onCmdReloadNeteditConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload netedit config is executed | |
| long | onCmdReloadSumoConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload SumoConfig is executed | |
| long | onUpdReloadNeteditConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload netedit config is updated | |
| long | onUpdReloadSumoConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload SumoConfig is updated | |
| long | onCmdOpenTLSPrograms (FXObject *, FXSelector, void *) |
| called when the command/FXCall open TLS programs is executed | |
| long | onCmdReloadTLSPrograms (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload TLS programs is executed | |
| long | onUpdReloadTLSPrograms (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload TLS programs is updated | |
| long | onCmdOpenEdgeTypes (FXObject *, FXSelector, void *) |
| called when the command/FXCall open edgeType is executed | |
| long | onCmdReloadEdgeTypes (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload edge types is executed | |
| long | onUpdReloadEdgeTypes (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload edge types is updated | |
| long | onCmdSmartReload (FXObject *, FXSelector, void *) |
| called when the command/FXCall smart reload is executed | |
| long | onUpdSmartReload (FXObject *, FXSelector, void *) |
| called when the update/FXCall smart reload is executed | |
| long | onCmdReloadNetwork (FXObject *, FXSelector, void *) |
| called when the command/FXCall network reload is executed | |
| long | onUpdReloadNetwork (FXObject *, FXSelector, void *) |
| called when the update/FXCall network reload is executed | |
| long | onCmdOpenRecent (FXObject *, FXSelector, void *) |
| called when the command/FXCall open recent is executed | |
| long | onCmdClose (FXObject *, FXSelector, void *) |
| called when the command/FXCall close is executed | |
| long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
| Called on menu Edit->Visualization. | |
| long | onCmdEditViewport (FXObject *, FXSelector, void *) |
| Called on menu Edit->Viewport. | |
| long | onCmdLocate (FXObject *, FXSelector, void *) |
| called when the command/FXCall locate is executed | |
| long | onCmdOpenPythonToolDialog (FXObject *obj, FXSelector, void *) |
| called when user press over a tool dialog button | |
| long | onCmdRunPythonTool (FXObject *obj, FXSelector, void *) |
| called when user run a tool | |
| long | onCmdPostProcessingPythonTool (FXObject *obj, FXSelector, void *) |
| post processing after run tool | |
| long | onUpdPythonTool (FXObject *, FXSelector, void *) |
| called when the command/FXCall python tool is updated | |
| long | onCmdSaveNetwork (FXObject *, FXSelector, void *) |
| called when the command/FXCall save network is executed | |
| long | onCmdSaveNetworkAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save network as is executed | |
| long | onCmdSavePlainXML (FXObject *, FXSelector, void *) |
| called when the command/FXCall save plain xml is executed | |
| long | onCmdSavePlainXMLAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save as plain xml is executed | |
| long | onCmdSaveJoinedJunctionsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save joined is executed | |
| long | onCmdSaveNeteditConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall save netedit config is executed | |
| long | onCmdSaveNeteditConfigAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save netedit config as is executed | |
| long | onUpdSaveNeteditConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall save netedit config is updated | |
| long | onUpdSaveNeteditConfigAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save netedit config as is updated | |
| long | onCmdSaveSumoConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall save SumoConfig is executed | |
| long | onCmdSaveSumoConfigAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save SumoConfig as is executed | |
| long | onUpdSaveSumoConfig (FXObject *, FXSelector, void *) |
| called when the command/FXCall save SumoConfig is updated | |
| long | onUpdSaveSumoConfigAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save SumoConfig as is updated | |
| long | onCmdSaveTLSPrograms (FXObject *, FXSelector, void *) |
| called when the command/FXCall save TLSPrograms is executed | |
| long | onUpdSaveTLSPrograms (FXObject *, FXSelector, void *) |
| called when the command/FXCall save TLSPrograms is updated | |
| long | onCmdSaveEdgeTypes (FXObject *, FXSelector, void *) |
| called when the command/FXCall save edge types is executed | |
| long | onUpdSaveEdgeTypes (FXObject *, FXSelector, void *) |
| called when the command/FXCall save edge types is updated | |
| long | onCmdSaveTLSProgramsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save TLSPrograms as is executed | |
| long | onCmdSaveEdgeTypesAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save edgeTypes as is executed | |
| long | onCmdOpenAdditionalElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall open additionals is executed | |
| long | onCmdReloadAdditionalElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload additionals is executed | |
| long | onUpdReloadAdditionalElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload additionals is updated | |
| long | onCmdSaveAdditionalElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall save additionals is executed | |
| long | onCmdSaveAdditionalElementsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save additionals as | |
| long | onCmdSaveAdditionalElementsUnified (FXObject *, FXSelector, void *) |
| called when the command/FXCall save additionals unified is executed | |
| long | onCmdSaveJuPedSimElementsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save JuPedSim elements as is executed | |
| long | onCmdOpenDemandElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall open demand is executed | |
| long | onCmdReloadDemandElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload demand elements is executed | |
| long | onUpdReloadDemandElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload demand elements is updated | |
| long | onCmdSaveDemandElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall save demand elements is executed | |
| long | onCmdOpenDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall open data is executed | |
| long | onCmdReloadDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload data elements is executed | |
| long | onUpdReloadDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload data elements is updated | |
| long | onCmdSaveDemandElementsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save demand elements as is executed | |
| long | onCmdSaveDemandElementsUnified (FXObject *, FXSelector, void *) |
| called when the command/FXCall save demand elements unified is executed | |
| long | onCmdSaveDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall save data elements is executed | |
| long | onCmdSaveDataElementsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save data elements as is executed | |
| long | onCmdSaveDataElementsUnified (FXObject *, FXSelector, void *) |
| called when the command/FXCall save data elements unified is executed | |
| long | onCmdOpenMeanDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall open meanDatas is executed | |
| long | onCmdReloadMeanDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload meanDatas is executed | |
| long | onUpdReloadMeanDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall reload meanDatas is updated | |
| long | onCmdSaveMeanDataElements (FXObject *, FXSelector, void *) |
| called when the command/FXCall save meanDatas is executed | |
| long | onCmdSaveMeanDataElementsAs (FXObject *, FXSelector, void *) |
| called when the command/FXCall save meanDatas as is executed | |
| long | onCmdSaveMeanDataElementsUnified (FXObject *, FXSelector, void *) |
| called when the command/FXCall save meanDatas unified is executed | |
| long | onUpdNeedsNetwork (FXObject *, FXSelector, void *) |
| called when the update/FXCall needs network is executed | |
| long | onUpdNeedsNetworkElement (FXObject *, FXSelector, void *) |
| called when the update/FXCall needs at least one network element is executed | |
| long | onUpdNeedsFrontElement (FXObject *, FXSelector, void *) |
| called when the update/FXCall needs front element is executed | |
| long | onUpdSaveNetwork (FXObject *, FXSelector, void *) |
| called when the update/FXCall save network is executed | |
| long | onUpdSaveAdditionalElements (FXObject *, FXSelector, void *) |
| called when the update/FXCall save additionals is executed | |
| long | onUpdSaveAdditionalElementsUnified (FXObject *, FXSelector, void *) |
| called when the update/FXCall save additionals unified is executed | |
| long | onUpdSaveJuPedSimElementsAs (FXObject *, FXSelector, void *) |
| called when the update/FXCall save juPedSim as is executed | |
| long | onUpdSaveDemandElements (FXObject *, FXSelector, void *) |
| called when the update/FXCall save demand elements is executed | |
| long | onUpdSaveDemandElementsUnified (FXObject *, FXSelector, void *) |
| called when the update/FXCall save demand elements unified is executed | |
| long | onUpdSaveDataElements (FXObject *, FXSelector, void *) |
| called when the update/FXCall save data elements is executed | |
| long | onUpdSaveDataElementsUnified (FXObject *, FXSelector, void *) |
| called when the update/FXCall save data elements unified is executed | |
| long | onUpdSaveMeanDataElements (FXObject *, FXSelector, void *) |
| called when the update/FXCall save meanDatas is executed | |
| long | onUpdSaveMeanDataElementsUnified (FXObject *, FXSelector, void *) |
| called when the update/FXCall save meanDatas unified is executed | |
| long | onUpdUndo (FXObject *obj, FXSelector sel, void *ptr) |
| called when the update/FXCall undo is executed | |
| long | onUpdRedo (FXObject *obj, FXSelector sel, void *ptr) |
| called when the update/FXCall redo is executed | |
| long | onUpdComputePathManager (FXObject *obj, FXSelector sel, void *ptr) |
| called when the update/FXCall compute path manager is executed | |
| long | onCmdToggleViewOption (FXObject *, FXSelector, void *) |
| toggle viewOption | |
| long | onUpdToggleViewOption (FXObject *, FXSelector, void *) |
| update viewOption | |
| long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
| called when a key is pressed | |
| long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
| called when a key is released | |
| long | onCmdQuit (FXObject *, FXSelector, void *) |
| Called by FOX if the application shall be closed. | |
| long | onCmdEditChosen (FXObject *, FXSelector, void *) |
| called when the command/FXCall edit chosen is executed | |
| long | onCmdAbout (FXObject *, FXSelector, void *) |
| called when the command/FXCall show about dialog is executed | |
| long | onUpdOpen (FXObject *, FXSelector, void *) |
| called when the command/FXCall on update open executed | |
| long | onCmdClearMsgWindow (FXObject *, FXSelector, void *) |
| called when the command/FXCall clear message windows is executed | |
| long | onCmdLoadAdditionalsInSUMOGUI (FXObject *, FXSelector, void *) |
| called when user toggle windows checkbox "load additionals" | |
| long | onCmdLoadDemandInSUMOGUI (FXObject *, FXSelector, void *) |
| called when user toggle windows checkbox "load demand" | |
| long | onLoadThreadEvent (FXObject *, FXSelector, void *) |
| called when the command/FXCall load thread is executed | |
| long | onClipboardRequest (FXObject *sender, FXSelector sel, void *ptr) |
| called when the command/FXCall clipboard request is executed | |
| long | onCmdSetSuperMode (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits an edit-supermode hotkey | |
| long | onCmdSetMode (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits an edit-mode hotkey | |
| long | onCmdLockElements (FXObject *, FXSelector sel, void *) |
| called when user press a lock menu check | |
| long | onCmdLockAllElements (FXObject *, FXSelector sel, void *) |
| called when user press lock all elements button | |
| long | onCmdUnlockAllElements (FXObject *, FXSelector sel, void *) |
| called when user press unlock all elements button | |
| long | onCmdLockSelectElements (FXObject *, FXSelector sel, void *) |
| called when user press lock select elements button | |
| long | onUpdLockMenuTitle (FXObject *, FXSelector sel, void *) |
| enable or disable lock menu title | |
| long | onCmdProcessButton (FXObject *sender, FXSelector sel, void *) |
| called when user press a process button (or a shortcut) | |
| long | onCmdOpenSUMOGUI (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hints ctrl + T | |
| long | onCmdAbort (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits esc | |
| long | onCmdDel (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits del | |
| long | onCmdEnter (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits enter | |
| long | onCmdBackspace (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits backspace | |
| long | onCmdClearSelectionShortcut (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits key combination for clear selection | |
| long | onCmdFocusFrame (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user hits key combination for focus on frame | |
| long | onCmdToggleTimeFormat (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user press the toggle time format button | |
| long | onUpdToggleTimeFormat (FXObject *sender, FXSelector sel, void *ptr) |
| update toggle time format button | |
| long | onCmdRunTests (FXObject *, FXSelector, void *) |
| run tests | |
| long | onUpdRequireViewNet (FXObject *sender, FXSelector sel, void *ptr) |
| enable or disable sender object depending if viewNet exist | |
| long | onUpdRequireRecomputing (FXObject *sender, FXSelector sel, void *ptr) |
| update label for require recomputing | |
| long | onCmdRunNetgenerate (FXObject *sender, FXSelector sel, void *ptr) |
| called when run netgenerate is called | |
| long | onCmdPostprocessingNetgenerate (FXObject *sender, FXSelector sel, void *ptr) |
| postprocessing netgenerate | |
| long | onCmdToggleGrid (FXObject *, FXSelector, void *) |
| called if the user press key combination Ctrl + G to toggle grid | |
| long | onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *) |
| called if the user press key combination Ctrl + J to toggle draw junction shape | |
| long | onCmdToggleFrontElement (FXObject *, FXSelector, void *) |
| called if the user call toggle front element | |
| long | onCmdToggleEditOptions (FXObject *, FXSelector, void *) |
| called if the user press key combination Alt + <0-9> | |
| long | onCmdHelp (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects help->Documentation | |
| long | onCmdChangelog (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects help->Changelog | |
| long | onCmdHotkeys (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects help->Hotkeys | |
| long | onCmdTutorial (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects help->Tutorial | |
| long | onCmdFeedback (FXObject *sender, FXSelector sel, void *ptr) |
| called if the user selects help->feedback | |
| long | onCmdToggleComputeNetworkData (FXObject *, FXSelector, void *) |
| called when toggle checkbox compute network when switching between supermodes | |
| long | onCmdToggleUndoRedo (FXObject *, FXSelector, void *) |
| called when toggle checkbox disable undo redo (processing) | |
| long | onCmdToggleUndoRedoLoading (FXObject *, FXSelector, void *) |
| called when toggle checkbox disable undo redo during loading (file) | |
| long | onCmdOpenOptionsDialog (FXObject *, FXSelector, void *) |
| called when user press "options" button | |
| long | onCmdOpenSumoOptionsDialog (FXObject *, FXSelector, void *) |
| called when user press "sumo options" button | |
| long | onCmdOpenNetgenerateDialog (FXObject *, FXSelector, void *) |
| called when user press "netgenerate" button | |
| long | onCmdOpenNetgenerateOptionsDialog (FXObject *, FXSelector, void *) |
| called when user press "netgenerate options" button | |
| long | onCmdUndo (FXObject *sender, FXSelector, void *) |
| called when user press Ctrl+Z | |
| long | onCmdRedo (FXObject *sender, FXSelector, void *) |
| long | onCmdOpenUndoListDialog (FXObject *, FXSelector, void *) |
| long | onUpdOpenUndoListDialog (FXObject *, FXSelector, void *) |
| long | onCmdComputePathManager (FXObject *, FXSelector, void *) |
| long | onCmdCut (FXObject *, FXSelector, void *) |
| called when user press Ctrl+Z | |
| long | onCmdCopy (FXObject *, FXSelector, void *) |
| long | onCmdPaste (FXObject *, FXSelector, void *) |
| long | onCmdSetTemplate (FXObject *, FXSelector, void *) |
| long | onCmdCopyTemplate (FXObject *, FXSelector, void *) |
| long | onCmdClearTemplate (FXObject *, FXSelector, void *) |
inherited from GUIMainWindow | |
get build OpenGL Canvas (due netedit only uses a single View, it always return nullptr) | |
| FXGLCanvas * | getBuildGLCanvas () const |
| get build GL Canvas (must be implemented in all children) | |
| SUMOTime | getCurrentSimTime () const |
| get current simulation time (pure virtual but we don't need it) | |
| double | getTrackerInterval () const |
| get current tracker interval (pure virtual but we don't need it) | |
functions related with undo-redo | |
check if undo-redo is allow (processing/checkbox) | |
| bool | isUndoRedoAllowed () const |
| void | enableUndoRedoTemporally () |
| enable undo-redo temporally (for example, after creating an edge) | |
| void | disableUndoRedoTemporally (const std::string &reason) |
| disable undo-redo temporally giving a string with the reason (for example, if we're creating an edge) | |
| const std::string & | isUndoRedoEnabledTemporally () const |
| check if undo-redo is enabled temporally | |
| void | clearUndoList () |
| clear undo list | |
functions related with test system | |
| GNEInternalTest * | getInternalTest () const |
| get netedit test system | |
| bool | allowInputSignals (FXObject *obj) const |
| check if ignore input signal (using during netedit tests) | |
Static Public Member Functions | |
| static GUIMainWindow * | getInstance () |
| get instance | |
| static bool | parseCartesianCoordinate (const std::string &text, double &x, double &y) |
| parse cartesian coordinate string ("x, y" or "x:... y:...") | |
| static bool | parseGeoCoordinate (const std::string &text, double &lat, double &lon) |
| parse geo coordinate string ("lat, lon" or "lat:... lon:...") | |
Data Fields | |
| GNEInternalTest * | myInternalTest = nullptr |
| internal test system | |
Protected Member Functions | |
| void | buildLanguageMenu (FXMenuBar *menuBar) |
| GNEApplicationWindow () | |
| FOX needs this for static members. | |
| void | setWindowSizeAndPos () |
| perform initial window positioning and sizing according to user options / previous call | |
| void | storeWindowSizeAndPos () |
| record window position and size in registry | |
Protected Attributes | |
| bool | myAmFullScreen |
| FOX need this. | |
| bool | myAmGaming |
| information whether the gui is currently in gaming mode | |
| FXFont * | myBoldFont = nullptr |
| Font used for popup-menu titles. | |
| FXDockSite * | myBottomDock = nullptr |
| FXTextField * | myCartesianCoordinate = nullptr |
| Coordinate fields for the current cartesian, geo-coordinate and test coordinates. | |
| FXHorizontalFrame * | myCartesianFrame = nullptr |
| GNEExternalRunner * | myExternalRunner = nullptr |
| external runner for running external tools | |
| FXFont * | myFallbackFont = nullptr |
| Fallback font for extended characters support. | |
| FXTextField * | myGeoCoordinate = nullptr |
| FXHorizontalFrame * | myGeoFrame = nullptr |
| FXGLVisual * | myGLVisual = nullptr |
| The gl-visual used. | |
| std::vector< GUIGlChildWindow * > | myGLWindows |
| list of GLWindows | |
| FXMutex | myGLWindowsLock |
| A lock to make the access to the GLWindows thread safe (they are also accessed by the simulation thread) | |
| FXMenuPane * | myLanguageMenu = nullptr |
| Language menu common to all applications. | |
| FXDockSite * | myLeftDock = nullptr |
| bool | myListInternal |
| information whether the locator should list internal structures | |
| bool | myListParking |
| information whether the locator should list parking vehicles | |
| bool | myListTeleporting |
| information whether the locator should list teleporting vehicles | |
| GNELoadThread * | myLoadThread = nullptr |
| the thread that loads the network | |
| FXMDIClient * | myMDIClient = nullptr |
| The multi view panel. | |
| FXFont * | myNormalFont = nullptr |
| default Font (after scaling) | |
| std::map< std::string, std::string > | myOnlineMaps |
| online mapping services for the context menu | |
| FXDockSite * | myRightDock = nullptr |
| MFXStaticToolTip * | myStaticTooltipMenu = nullptr |
| static toolTip used in menus | |
| MFXStaticToolTip * | myStaticTooltipView = nullptr |
| static toolTip used in view | |
| FXStatusBar * | myStatusbar = nullptr |
| The status bar. | |
| FXLabel * | myTestCoordinate = nullptr |
| FXHorizontalFrame * | myTestFrame = nullptr |
| FXDockSite * | myTopDock = nullptr |
| dock sites | |
| FXHorizontalFrame * | myTraCiFrame = nullptr |
| frames for coordinates | |
| FXMutex | myTrackerLock |
| A lock to make the removal and addition of trackers secure. | |
| std::vector< FXMainWindow * > | myTrackerWindows |
| list of tracker windows | |
Static Protected Attributes | |
| static GUIMainWindow * | myInstance = nullptr |
| the singleton window instance | |
Private Member Functions | |
| bool | askSaveElements (FXObject *sender, FXSelector sel, void *ptr) |
| warns about unsaved changes and gives the user the option to abort | |
| bool | checkMeanDataFileBucket (const std::string &file, FileBucket *bucket, const GNEGeneralHandler &generalHandler) |
| check if loaded additional file is a meanData file and update buckets accordingly | |
| void | closeAllWindows (const bool resetFilenames) |
| this method closes all windows and deletes the current simulation | |
| void | fillMenuBar () |
| Builds the menu bar. | |
| GNEApplicationWindow (const GNEApplicationWindow &)=delete | |
| Invalidated copy constructor. | |
| GNEApplicationWindow & | operator= (const GNEApplicationWindow &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| bool | myAllowUndoRedo = true |
| allow undo-redo (read from registry) | |
| bool | myAllowUndoRedoLoading = true |
| allow undo-redo loading (read from registry) | |
| bool | myAmLoading = false |
| information whether the gui is currently loading and the load-options shall be greyed out | |
| std::string | myConfigPattern |
| Input file pattern. | |
| bool | myConsoleOptionsLoaded = true |
| flag for check if console options was already loaded | |
| FXMenuPane * | myEditMenu = nullptr |
| GNEApplicationWindowHelper::EditMenuCommands | myEditMenuCommands |
| Edit Menu Commands. | |
| GNEApplicationWindowHelper::FileBucketHandler * | myFileBucketHandler = nullptr |
| saving files handler | |
| FXMenuPane * | myFileMenu = nullptr |
| the submenus | |
| FXMenuPane * | myFileMenuAdditionals = nullptr |
| GNEApplicationWindowHelper::FileMenuCommands | myFileMenuCommands |
| File Menu Commands. | |
| FXMenuPane * | myFileMenuDataElements = nullptr |
| FXMenuPane * | myFileMenuDemandElements = nullptr |
| FXMenuPane * | myFileMenuEdgeTypes = nullptr |
| FXMenuPane * | myFileMenuMeanDataElements = nullptr |
| FXMenuPane * | myFileMenuNeteditConfig = nullptr |
| FXMenuPane * | myFileMenuRecentConfigs = nullptr |
| FXMenuPane * | myFileMenuRecentNetworks = nullptr |
| FXMenuPane * | myFileMenuSumoConfig = nullptr |
| FXMenuPane * | myFileMenuTLS = nullptr |
| bool | myHadDependentBuild = false |
| check if had dependent build | |
| FXMenuPane * | myHelpMenu = nullptr |
| GNEApplicationWindowHelper::HelpMenuCommands | myHelpMenuCommands |
| Help Menu Commands. | |
| FXEX::MFXThreadEvent | myLoadThreadEvent |
| io-event with the load-thread | |
| GNEApplicationWindowHelper::LocateMenuCommands | myLocateMenuCommands |
| Locate Menu Commands. | |
| FXMenuPane * | myLocatorMenu = nullptr |
| FXMenuPane * | myLockMenu = nullptr |
| GNEApplicationWindowHelper::LockMenuCommands | myLockMenuCommands |
| Lock Menu Commands. | |
| FXMenuTitle * | myLockMenuTitle = nullptr |
| menu title for lock | |
| FXSplitter * | myMainSplitter = nullptr |
| The splitter that divides the main window into view and the log window. | |
| FXMDIMenu * | myMDIMenu = nullptr |
| The menu used for the MDI-windows. | |
| GNEApplicationWindowHelper::MenuBarFile | myMenuBarFile |
| MenuBarFile. | |
| std::map< std::string, FXMenuPane * > | myMenuPaneToolMaps |
| map with menu pane tools and strings | |
| GUIMessageWindow * | myMessageWindow = nullptr |
| A window to display messages, warnings and error in. | |
| FXMenuPane * | myModesMenu = nullptr |
| GNEApplicationWindowHelper::ModesMenuCommands | myModesMenuCommands |
| Modes Menu Commands. | |
| FXMenuTitle * | myModesMenuTitle = nullptr |
| menu title for modes | |
| GNENet * | myNet = nullptr |
| we are responsible for the net | |
| OptionsCont | myNetgenerateOptions |
| netgenerate options container | |
| OptionsCont | myOriginalNeteditOptions |
| original netedit options container | |
| OptionsCont | myOriginalNetgenerateOptions |
| original netgenerate options container | |
| OptionsCont | myOriginalSumoOptions |
| original sumo options container | |
| FXMenuPane * | myProcessingMenu = nullptr |
| GNEApplicationWindowHelper::ProcessingMenuCommands | myProcessingMenuCommands |
| Processing Menu Commands. | |
| MFXButtonTooltip * | myRequireRecomputingButton = nullptr |
| Button used for show if recomputing is needed. | |
| bool | myStartedWithNewNet = false |
| flag for checking if netedit was started with a new network | |
| OptionsCont | mySumoOptions |
| sumo options container | |
| GNEApplicationWindowHelper::SupermodeCommands | mySupermodeCommands |
| Supermode Commands. | |
| const GNETagPropertiesDatabase * | myTagPropertiesDatabase = nullptr |
| tagProperties database | |
| MFXSynchQue< GUIEvent * > | myThreadEvents |
| List of load requests. | |
| const FXString | myTitlePrefix |
| the prefix for the window title | |
| GNEApplicationWindowHelper::ToolbarsGrip | myToolbarsGrip |
| Toolbars Grip. | |
| FXMenuPane * | myToolsAssignMenu = nullptr |
| FXMenuPane * | myToolsDetectorMenu = nullptr |
| FXMenuPane * | myToolsDistrictMenu = nullptr |
| FXMenuPane * | myToolsDRTMenu = nullptr |
| FXMenuPane * | myToolsEmissionsMenu = nullptr |
| FXMenuPane * | myToolsImportCityBrainMenu = nullptr |
| FXMenuPane * | myToolsImportGTFSMenu = nullptr |
| FXMenuPane * | myToolsImportMenu = nullptr |
| FXMenuPane * | myToolsImportVissim = nullptr |
| FXMenuPane * | myToolsImportVisum = nullptr |
| FXMenuPane * | myToolsMenu = nullptr |
| GNEApplicationWindowHelper::ToolsMenuCommands | myToolsMenuCommands |
| Tools Menu Commands. | |
| FXMenuPane * | myToolsNetMenu = nullptr |
| FXMenuPane * | myToolsOutputMenu = nullptr |
| FXMenuPane * | myToolsRouteMenu = nullptr |
| FXMenuPane * | myToolsShapes = nullptr |
| FXMenuPane * | myToolsTLS = nullptr |
| FXMenuPane * | myToolsTriggerMenu = nullptr |
| FXMenuPane * | myToolsTurnDefs = nullptr |
| FXMenuPane * | myToolsVisualizationMenu = nullptr |
| FXMenuPane * | myToolsXML = nullptr |
| GNEUndoList * | myUndoList = nullptr |
| the one and only undo list | |
| std::string | myUndoRedoListEnabled |
| string to check if undo/redo list is enabled (a String is used to keep the disabling reason) | |
| GNEViewNet * | myViewNet = nullptr |
| pointer to current view net | |
| FXMenuPane * | myWindowMenu = nullptr |
| GNEApplicationWindowHelper::WindowsMenuCommands | myWindowsMenuCommands |
| Windows Menu Commands. | |
Definition at line 43 of file GNEApplicationWindow.h.
| GNEApplicationWindow::GNEApplicationWindow | ( | FXApp * | app, |
| const GNETagPropertiesDatabase * | tagPropertiesDatabase, | ||
| const std::string & | configPattern | ||
| ) |
FOX-declaration.
Constructor
| [in] | app | The FOX application |
| [in] | tagPropertiesDatabase | pointer to tag properties database |
| [in] | configPattern | The pattern used for loading configurations |
Definition at line 514 of file GNEApplicationWindow.cpp.
References OptionsCont::addDescription(), OptionsCont::doRegister(), GNELoadThread::fillOptions(), GUICursorSubSys::initCursors(), GUIIconSubSys::initIcons(), GUITextureSubSys::initTextures(), myNetgenerateOptions, myOriginalNeteditOptions, myOriginalNetgenerateOptions, myOriginalSumoOptions, mySumoOptions, TemplateHandler::parseTemplate(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), GNELoadThread::setDefaultOptions(), OptionsCont::setOptionEditable(), and TL.
| GNEApplicationWindow::~GNEApplicationWindow | ( | ) |
Destructor.
Definition at line 673 of file GNEApplicationWindow.cpp.
References GUICursorSubSys::close(), GUIIconSubSys::close(), GUITextureSubSys::close(), closeAllWindows(), MFXSynchQue< T, Container >::empty(), myEditMenu, myFileMenu, myFileMenuAdditionals, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuMeanDataElements, myFileMenuNeteditConfig, myFileMenuRecentConfigs, myFileMenuRecentNetworks, myFileMenuSumoConfig, myFileMenuTLS, GUIMainWindow::myGLVisual, myHelpMenu, myInternalTest, GUIMainWindow::myLanguageMenu, myLoadThread, myLocatorMenu, myLockMenu, myModesMenu, myProcessingMenu, myThreadEvents, myToolsDetectorMenu, myToolsDistrictMenu, myToolsDRTMenu, myToolsEmissionsMenu, myToolsImportCityBrainMenu, myToolsImportGTFSMenu, myToolsImportMenu, myToolsImportVissim, myToolsImportVisum, myToolsMenu, myToolsNetMenu, myToolsOutputMenu, myToolsRouteMenu, myToolsShapes, myToolsTLS, myToolsTurnDefs, myToolsVisualizationMenu, myToolsXML, myUndoList, myWindowMenu, MFXSynchQue< T, Container >::pop(), and MFXSynchQue< T, Container >::top().
|
protected |
FOX needs this for static members.
Definition at line 5408 of file GNEApplicationWindow.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inlinevirtualinherited |
add breakpoint to the application
Reimplemented in GUIApplicationWindow.
Definition at line 208 of file GUIMainWindow.h.
Referenced by GUIMessageWindow::setCursorPos().
|
inherited |
Adds a further child window to the list (FXMainWindow)
Definition at line 123 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIParameterTableWindow::closeBuilding(), GUIDialog_ChooserAbstract::GUIDialog_ChooserAbstract(), GUIDialog_GLChosenEditor::GUIDialog_GLChosenEditor(), GUIParameterTracker::GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow().
|
inherited |
Adds a further child window to the list (GUIGlChildWindow)
Definition at line 106 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::myGLWindowsLock.
Referenced by GUISUMOViewParent::init().
|
inlineinherited |
Definition at line 203 of file GUIMainWindow.h.
References GUIMainWindow::myOnlineMaps.
Referenced by GUIDialog_AppSettings::onCmdOk().
| bool GNEApplicationWindow::allowInputSignals | ( | FXObject * | obj | ) | const |
check if ignore input signal (using during netedit tests)
Definition at line 5391 of file GNEApplicationWindow.cpp.
References myInternalTest.
Referenced by GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::onMiddleBtnPress(), GNEViewNet::onMiddleBtnRelease(), GNEViewNet::onMouseMove(), GNEViewNet::onRightBtnPress(), and GNEViewNet::onRightBtnRelease().
|
private |
warns about unsaved changes and gives the user the option to abort
Definition at line 4857 of file GNEApplicationWindow.cpp.
References GNEDialog::ABORT, GNEDialog::ACCEPT, GNENetHelper::SavingStatus::askSaveAdditionalElements(), GNENetHelper::SavingStatus::askSaveDataElements(), GNENetHelper::SavingStatus::askSaveDemandElements(), GNENetHelper::SavingStatus::askSaveMeanDataElements(), GNENetHelper::SavingStatus::askSaveNetwork(), clearUndoList(), GNENet::getSavingStatus(), myNet, myViewNet, onCmdSaveAdditionalElements(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveMeanDataElements(), and onCmdSaveNetwork().
Referenced by onCmdClose(), and onCmdQuit().
|
protectedinherited |
Definition at line 529 of file GUIMainWindow.cpp.
References GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GUIIconSubSys::getIcon(), LANGUAGE_DE, LANGUAGE_EN, LANGUAGE_ES, LANGUAGE_FR, LANGUAGE_IT, LANGUAGE_JA, LANGUAGE_KO, LANGUAGE_PT, LANGUAGE_TR, LANGUAGE_ZH, LANGUAGE_ZHT, MID_LANGUAGE_DE, MID_LANGUAGE_EN, MID_LANGUAGE_ES, MID_LANGUAGE_FR, MID_LANGUAGE_IT, MID_LANGUAGE_JA, MID_LANGUAGE_KO, MID_LANGUAGE_PT, MID_LANGUAGE_TR, MID_LANGUAGE_ZH, MID_LANGUAGE_ZHT, GUIMainWindow::myLanguageMenu, and TL.
Referenced by GUIApplicationWindow::fillMenuBar(), and fillMenuBar().
|
private |
check if loaded additional file is a meanData file and update buckets accordingly
Definition at line 5067 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNENetHelper::AttributeCarriers::getMeanDatas(), GNEGeneralHandler::isAdditionalFile(), FileBucket::isDefaultBucket(), GNEGeneralHandler::isMeanDataFile(), FileBucket::MEANDATA, myFileBucketHandler, myNet, FileBucket::removeElement(), GNEApplicationWindowHelper::FileBucketHandler::removeEmptyBuckets(), FileBucket::setFilename(), and GNEApplicationWindowHelper::FileBucketHandler::updateOptions().
Referenced by loadAdditionalElements(), and onCmdOpenAdditionalElements().
| void GNEApplicationWindow::clearUndoList | ( | ) |
clear undo list
Definition at line 5014 of file GNEApplicationWindow.cpp.
References GNEUndoList::clear(), GUISUMOAbstractView::destroyPopup(), myUndoList, and myViewNet.
Referenced by askSaveElements().
|
private |
this method closes all windows and deletes the current simulation
Definition at line 1797 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::clearDecals(), GUISUMOAbstractView::getChanger(), GUISUMOAbstractView::getDecals(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), gSchemeStorage, GUISUMOAbstractView::makeCurrent(), GUIMainWindow::myCartesianCoordinate, myFileBucketHandler, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGLWindows, myMessageWindow, myNet, GUIMainWindow::myTestCoordinate, GUIMainWindow::myTestFrame, myTitlePrefix, GUIMainWindow::myTrackerLock, GUIMainWindow::myTrackerWindows, myViewNet, GUISUMOAbstractView::processPendingTextureDeletes(), GNEApplicationWindowHelper::FileBucketHandler::resetDefaultFilenames(), GLHelper::resetFont(), GeoConvHelper::resetLoaded(), GUITextureSubSys::resetTextures(), GUICompleteSchemeStorage::saveDecals(), GUICompleteSchemeStorage::saveViewport(), GNEViewNet::saveVisualizationSettings(), TL, and GUIMessageWindow::unregisterMsgHandlers().
Referenced by handleEvent_FileLoaded(), onCmdClose(), and ~GNEApplicationWindow().
| long GNEApplicationWindow::computeJunctionWithVolatileOptions | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects Processing->compute junctions with volatile options
Definition at line 2016 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNENet::computeNetwork(), GNEDialog::getResult(), myNet, onCmdSaveAdditionalElements(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveMeanDataElements(), TL, updateControls(), and GNEDialog::YES_NO.
Referenced by onCmdProcessButton().
| bool GNEApplicationWindow::consoleOptionsLoaded | ( | ) |
check if console options was already loaded
Definition at line 2038 of file GNEApplicationWindow.cpp.
References myConsoleOptionsLoaded.
Referenced by GNELoadThread::loadConsoleOptions().
| void GNEApplicationWindow::create | ( | ) |
Creates the main window (required by FOX)
Definition at line 644 of file GNEApplicationWindow.cpp.
References gCurrentFolder, OptionsCont::getOptions(), GUIMainWindow::myCartesianFrame, GUIMainWindow::myGeoFrame, GUIMainWindow::myOnlineMaps, and GUIMainWindow::setWindowSizeAndPos().
| void GNEApplicationWindow::createNewNetwork | ( | ) |
create new network
Definition at line 1892 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), OptionsCont::getOptions(), gSchemeStorage, myAmLoading, myLoadThread, GNELoadThread::newNetwork(), GUICompleteSchemeStorage::saveViewport(), GNELoadThread::setDefaultOptions(), setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), and TL.
Referenced by loadOptionOnStartup(), onCmdNewNetwork(), and onCmdSmartReload().
| void GNEApplicationWindow::dependentBuild | ( | ) |
build dependent
Definition at line 570 of file GNEApplicationWindow.cpp.
References GUIShortcutsSubSys::buildAccelerators(), GNEApplicationWindowHelper::ToolbarsGrip::buildMenuToolbarsGrip(), fillMenuBar(), GUIIconSubSys::getIcon(), OptionsCont::getOptions(), getToolbarsGrip(), GUIDesignButtonStatusBarFixed, GUIDesignHeight, GUIDesignHorizontalFrameStatusBar, GUIDesignLabelStatusBar, GUIDesignSplitter, GUIDesignSplitterMDI, GUIDesignStatusBar, GUIDesignTextColorRed, ID_LOADTHREAD_EVENT, MID_CARTESIAN_COORDINATE, MID_GEO_COORDINATE, MID_GNE_RECOMPUTINGNEEDED, MID_WINDOW, GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myCartesianFrame, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myGeoFrame, myHadDependentBuild, myInternalTest, myLoadThread, myLoadThreadEvent, myMainSplitter, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, myRequireRecomputingButton, GUIMainWindow::myStaticTooltipMenu, GUIMainWindow::myStatusbar, GUIMainWindow::myTestCoordinate, GUIMainWindow::myTestFrame, myThreadEvents, myTitlePrefix, NETEDIT, NETEDIT_MINI, FXEX::MFXBaseObject::setSelector(), setStatusBarText(), FXEX::MFXBaseObject::setTarget(), TL, and WRITE_ERROR.
Referenced by main().
| void GNEApplicationWindow::disableUndoRedoTemporally | ( | const std::string & | reason | ) |
disable undo-redo temporally giving a string with the reason (for example, if we're creating an edge)
Definition at line 5002 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
Referenced by GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), and GNEPathCreator::addTAZ().
| void GNEApplicationWindow::enableUndoRedoTemporally | ( | ) |
enable undo-redo temporally (for example, after creating an edge)
Definition at line 4996 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEContainerPlanFrame::hide(), and GNEPersonPlanFrame::hide().
|
virtual |
Implements MFXInterThreadEventClient.
Definition at line 1377 of file GNEApplicationWindow.cpp.
References DEBUG_OCCURRED, MFXSynchQue< T, Container >::empty(), ERROR_OCCURRED, GUIEvent::getOwnType(), GLDEBUG_OCCURRED, handleEvent_FileLoaded(), handleEvent_Message(), MESSAGE_OCCURRED, myThreadEvents, MFXSynchQue< T, Container >::pop(), SIMULATION_LOADED, MFXSynchQue< T, Container >::top(), and WARNING_OCCURRED.
Referenced by onLoadThreadEvent().
|
private |
Builds the menu bar.
Definition at line 1555 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::buildDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::buildDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildFrontElementMenuCommand(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GNEApplicationWindowHelper::HelpMenuCommands::buildHelpMenuCommands(), GUIMainWindow::buildLanguageMenu(), GNEApplicationWindowHelper::LocateMenuCommands::buildLocateMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::buildModesMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::buildNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::buildProcessingMenuCommands(), GNEApplicationWindowHelper::MenuBarFile::buildRecentConfigFiles(), GNEApplicationWindowHelper::MenuBarFile::buildRecentNetworkFiles(), GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands(), GNEApplicationWindowHelper::ToolsMenuCommands::buildTools(), GNEApplicationWindowHelper::EditMenuCommands::buildUndoRedoMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildViewMenuCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), COLORWHEEL, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, E1, GUIIconSubSys::getIcon(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEApplicationWindowHelper::ToolbarsGrip::menu, MID_GNE_LOCK_MENUTITLE, MID_GNE_MODESMENUTITLE, MID_HOTKEY_CTRL_Q_CLOSE, MODEADDITIONAL, MODECREATEEDGE, MODETLS, myEditMenu, myEditMenuCommands, myFileMenu, myFileMenuAdditionals, myFileMenuCommands, myFileMenuDataElements, myFileMenuDemandElements, myFileMenuEdgeTypes, myFileMenuMeanDataElements, myFileMenuNeteditConfig, myFileMenuRecentConfigs, myFileMenuRecentNetworks, myFileMenuSumoConfig, myFileMenuTLS, myHelpMenu, myHelpMenuCommands, myLocateMenuCommands, myLocatorMenu, myLockMenu, myLockMenuCommands, myLockMenuTitle, myMenuBarFile, myMenuPaneToolMaps, myMessageWindow, myModesMenu, myModesMenuCommands, myModesMenuTitle, myProcessingMenu, myProcessingMenuCommands, GUIMainWindow::myStatusbar, mySupermodeCommands, myToolbarsGrip, myToolsAssignMenu, myToolsDetectorMenu, myToolsDistrictMenu, myToolsDRTMenu, myToolsEmissionsMenu, myToolsImportCityBrainMenu, myToolsImportGTFSMenu, myToolsImportMenu, myToolsImportVissim, myToolsImportVisum, myToolsMenu, myToolsMenuCommands, myToolsNetMenu, myToolsOutputMenu, myToolsRouteMenu, myToolsShapes, myToolsTLS, myToolsTriggerMenu, myToolsTurnDefs, myToolsVisualizationMenu, myToolsXML, myWindowMenu, myWindowsMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, TAZ, TL, TOOL_CITYBRAIN, TOOL_GTFS, TOOL_IMPORT, TOOL_OUTPUT, TOOL_TURNDEFS, TOOL_VISSIM, TOOL_VISUM, TOOL_XML, and VCLASS_SMALL_TAXI.
Referenced by dependentBuild().
|
inherited |
get the active view or 0
Definition at line 465 of file GUIMainWindow.cpp.
References GUIGlChildWindow::getView(), GUIMainWindow::myGLWindows, and GUIMainWindow::myMDIClient.
Referenced by GUIVehicle::drawOutsideNetwork(), GUIMainWindow::onCmdSetCartesianCoordinate(), GUIMainWindow::onCmdSetGeoCoordinate(), GUIApplicationWindow::onKeyPress(), and onKeyPress().
|
inherited |
get bold front
Definition at line 179 of file GUIMainWindow.cpp.
References GUIMainWindow::myBoldFont.
Referenced by GUICursorDialog::buildDialogElements(), GUIGlObject::buildPopupHeader(), GNEElementTree::createPopUpMenu(), and GNENetworkElement::getShapeEditedPopUpMenu().
|
virtual |
get build GL Canvas (must be implemented in all children)
Implements GUIMainWindow.
Definition at line 1712 of file GNEApplicationWindow.cpp.
|
inherited |
get cartesian coordinate field
Definition at line 227 of file GUIMainWindow.cpp.
References GUIMainWindow::myCartesianCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
virtual |
get current simulation time (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1719 of file GNEApplicationWindow.cpp.
| FXCursor * GNEApplicationWindow::getDefaultCursor | ( | ) |
get default cursor
Definition at line 1854 of file GNEApplicationWindow.cpp.
|
inlinevirtualinherited |
Returns the delay (should be overwritten by subclasses if applicable)
Reimplemented in GUIApplicationWindow.
Definition at line 160 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::getDelay(), and GUIViewTraffic::saveFrame().
| GNEApplicationWindowHelper::EditMenuCommands & GNEApplicationWindow::getEditMenuCommands | ( | ) |
get Edit Menu Commands (needed for show/hide menu commands)
Definition at line 5037 of file GNEApplicationWindow.cpp.
References myEditMenuCommands.
Referenced by GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNEExternalRunner * GNEApplicationWindow::getExternalRunner | ( | ) | const |
get external runner
Definition at line 2055 of file GNEApplicationWindow.cpp.
References myExternalRunner.
Referenced by GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNERunDialog::onCmdAbort(), GNERunNetgenerateDialog::onCmdAccept(), GNERunDialog::onCmdRun(), and GNERunDialog::updateDialogButtons().
|
inherited |
get fallback front
Definition at line 184 of file GUIMainWindow.cpp.
References GUIMainWindow::myFallbackFont.
Referenced by GUIParameterTableWindow::checkFont().
| GNEApplicationWindowHelper::FileBucketHandler * GNEApplicationWindow::getFileBucketHandler | ( | ) | const |
get file bucket handler
Definition at line 2049 of file GNEApplicationWindow.cpp.
References myFileBucketHandler.
Referenced by GNEDemandElement::changeFileBucket(), GNENet::computeNetwork(), GNEAttributeCarrier::GNEAttributeCarrier(), GNEAttributeCarrier::isCommonAttributeValid(), GNENetDiffTool::loadShapes(), GNELoadThread::run(), GNENet::saveAdditionals(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNENet::saveMeanDatas(), GNENet::saveNetwork(), GNEAttributeCarrier::setCommonAttribute(), GNEAdditionalHandler::~GNEAdditionalHandler(), GNEDataHandler::~GNEDataHandler(), GNEMeanDataHandler::~GNEMeanDataHandler(), and GNERouteHandler::~GNERouteHandler().
| GNEApplicationWindowHelper::FileMenuCommands & GNEApplicationWindow::getFileMenuCommands | ( | ) |
get file Menu Commands (needed for show/hide menu commands)
Definition at line 5025 of file GNEApplicationWindow.cpp.
References myFileMenuCommands.
|
inherited |
get geo coordinate field
Definition at line 233 of file GUIMainWindow.cpp.
References GUIMainWindow::myGeoCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
inherited |
get GL Visual
Definition at line 209 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLVisual.
Referenced by GUISUMOViewParent::init().
|
staticinherited |
get instance
Definition at line 456 of file GUIMainWindow.cpp.
References GUIMainWindow::myInstance.
Referenced by GUINet::addHotkey(), GUIVehicle::drawOutsideNetwork(), GUITexturesHelper::getTextureID(), GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), GUINet::updateGUI(), and GUIRunThread::waitForSnapshots().
| GNEInternalTest * GNEApplicationWindow::getInternalTest | ( | ) | const |
get netedit test system
Definition at line 5385 of file GNEApplicationWindow.cpp.
References myInternalTest.
Referenced by GNEDeleteFrame::SubordinatedElements::checkElements(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), and GNEDialog::openDialog().
| GNEApplicationWindowHelper::LockMenuCommands & GNEApplicationWindow::getLockMenuCommands | ( | ) |
get lock Menu Commands
Definition at line 5043 of file GNEApplicationWindow.cpp.
References myLockMenuCommands.
| GNEApplicationWindowHelper::ModesMenuCommands & GNEApplicationWindow::getModesMenuCommands | ( | ) |
get modes Menu Commands (needed for show/hide menu commands)
Definition at line 5031 of file GNEApplicationWindow.cpp.
References myModesMenuCommands.
| OptionsCont & GNEApplicationWindow::getNetgenerateOptions | ( | ) |
get netgenerate options container
Definition at line 5061 of file GNEApplicationWindow.cpp.
References myNetgenerateOptions.
Referenced by GNENetgenerateDialog::onCmdSetGridNetwork(), GNENetgenerateDialog::onCmdSetOutput(), GNENetgenerateDialog::onCmdSetRandomNetwork(), GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork(), and GNENetgenerateDialog::onCmdSetSpiderNetwork().
|
inlineinherited |
Definition at line 199 of file GUIMainWindow.h.
References GUIMainWindow::myOnlineMaps.
Referenced by GUIGlObject::buildPositionCopyEntry(), and GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline().
| const GNEApplicationWindowHelper::ProcessingMenuCommands & GNEApplicationWindow::getProcessingMenuCommands | ( | ) | const |
get processing Menu Commands
Definition at line 5049 of file GNEApplicationWindow.cpp.
References myProcessingMenuCommands.
|
virtual |
get checkable button for menu tooltips
Reimplemented from GUIMainWindow.
Definition at line 1749 of file GNEApplicationWindow.cpp.
References GUIGlChildWindow::getShowToolTipsMenu(), GNEViewNet::getViewParent(), and myViewNet.
|
virtual |
get checkable button for view tooltips
Reimplemented from GUIMainWindow.
Definition at line 1758 of file GNEApplicationWindow.cpp.
References GUIGlChildWindow::getShowToolTipsView(), GNEViewNet::getViewParent(), and myViewNet.
|
inherited |
get static toolTip for menus
Definition at line 215 of file GUIMainWindow.cpp.
References GUIMainWindow::myStaticTooltipMenu.
Referenced by GNEPythonToolDialogElements::Argument::Argument(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters(), GNETLSTable::Cell::Cell(), GNETLSTable::Column::Column(), MFXDecalsTable::Column::Column(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEFilePathDialog::GNEFilePathDialog(), GNEMatchAttribute::GNEMatchAttribute(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEOptionsEditor::onCmdShowToolTipsMenu(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GUIGlChildWindow::onCmdShowToolTipsMenu(), GNEElementTable::Row::Row(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().
|
inherited |
get static toolTip for view
Definition at line 221 of file GUIMainWindow.cpp.
References GUIMainWindow::myStaticTooltipView.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::onCmdShowToolTipsView(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updateToolTip().
| OptionsCont & GNEApplicationWindow::getSumoOptions | ( | ) |
get SUMO options container
Definition at line 5055 of file GNEApplicationWindow.cpp.
References mySumoOptions.
Referenced by GNENet::saveNetwork().
| const GNETagPropertiesDatabase * GNEApplicationWindow::getTagPropertiesDatabase | ( | ) | const |
get tag properties database
Definition at line 1731 of file GNEApplicationWindow.cpp.
References myTagPropertiesDatabase.
Referenced by GNENet::getTagPropertiesDatabase().
|
inherited |
get test frame
Definition at line 426 of file GUIMainWindow.cpp.
References GUIMainWindow::myTestFrame.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
|
inherited |
get test label
Definition at line 420 of file GUIMainWindow.cpp.
References GUIMainWindow::myTestCoordinate.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
| GNEApplicationWindowHelper::ToolbarsGrip & GNEApplicationWindow::getToolbarsGrip | ( | ) |
get ToolbarsGrip
Definition at line 1767 of file GNEApplicationWindow.cpp.
References myToolbarsGrip.
Referenced by GNEViewNet::buildEditModeControls(), dependentBuild(), handleEvent_FileLoaded(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), GNEViewNet::updateNetworkModeSpecificControls(), and GNEViewParent::~GNEViewParent().
|
inherited |
|
virtual |
get current tracker interval (pure virtual but we don't need it)
Implements GUIMainWindow.
Definition at line 1725 of file GNEApplicationWindow.cpp.
| GNEUndoList * GNEApplicationWindow::getUndoList | ( | ) |
get pointer to undoList
Definition at line 1737 of file GNEApplicationWindow.cpp.
References myUndoList.
Referenced by GNENet::getUndoList(), GNENetDiffTool::loadShapes(), GNEUndoListDialog::onCmdSelectRow(), GNEUndoListDialog::updateList(), and GNEViewParent::updateUndoRedoButtons().
|
inherited |
get specific view by ID
Definition at line 157 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::myGLWindowsLock.
Referenced by GUIMainWindow::removeViewByID(), and GUIMessageWindow::setCursorPos().
|
inherited |
get view IDs
Definition at line 146 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::myGLWindowsLock.
Referenced by GUIMessageWindow::setCursorPos().
| GNEViewNet * GNEApplicationWindow::getViewNet | ( | ) |
get pointer to viewNet
Definition at line 1743 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by GNEUndoList::begin(), GNENet::computeAndUpdate(), GNENet::computeDemandElements(), GNEUndoList::end(), GNENet::getViewNet(), GNENet::getViewParent(), GNENetDiffTool::loadShapes(), GNEOptionsEditor::onCmdShowToolTipsMenu(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GNENetDiffTool::postProcessing(), GNEUndoList::redo(), GNEInternalTest::runNeteditInternalTests(), GNENet::saveJuPedSimElements(), and GNEUndoList::undo().
|
inherited |
get (a copy of the list of) views
Definition at line 189 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::myGLWindowsLock.
Referenced by GUIRunThread::waitForSnapshots().
| void GNEApplicationWindow::handleEvent_FileLoaded | ( | GUIEvent * | e | ) |
handle event of type Network loaded
Definition at line 1404 of file GNEApplicationWindow.cpp.
References GUISUMOAbstractView::addDecals(), GUISettingsHandler::addSettings(), GUISettingsHandler::applyViewport(), GNEApplicationWindowHelper::ToolbarsGrip::buildViewParentToolbarsGrips(), closeAllWindows(), GNEEvent_FileLoaded::CONSOLE, GNEViewNet::forceSupemodeNetwork(), OptionsCont::getBool(), GUISettingsHandler::getDecals(), GNEEvent_FileLoaded::getFile(), GNEEvent_FileLoaded::getNet(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNESelectorFrame::getSelectionOperationModul(), GNEViewParent::getSelectorFrame(), GNEEvent_FileLoaded::getSettingsFile(), OptionsCont::getString(), MFXUtils::getTitleText(), getToolbarsGrip(), GNEEvent_FileLoaded::getType(), GUIGlChildWindow::getView(), GNEViewNet::getViewParent(), GNEEvent_FileLoaded::getViewportFromRegistry(), GNEEvent_FileLoaded::INVALID_CONFIG, GNEEvent_FileLoaded::INVALID_OPTIONS, GNEEvent_FileLoaded::INVALID_PROJECTION, OptionsCont::isDefault(), loadAdditionalElements(), GNEApplicationWindowHelper::EditMenuCommands::loadAdditionalsInSUMOGUI, loadDataElements(), loadDemandElements(), GNEApplicationWindowHelper::EditMenuCommands::loadDemandInSUMOGUI, GNESelectorFrame::SelectionOperation::loadFromFile(), loadMeanDataElements(), myAmLoading, myEditMenuCommands, GUIMainWindow::myMDIClient, myMDIMenu, myMessageWindow, myNet, myStartedWithNewNet, myTitlePrefix, myUndoList, myViewNet, GNEEvent_FileLoaded::NETCCFG, GNEEvent_FileLoaded::NETECFG, GNEEvent_FileLoaded::NETWORK, GNENetHelper::SavingStatus::networkSaved(), GNEEvent_FileLoaded::NEW, GNEEvent_FileLoaded::OSM, GUIMessageWindow::registerMsgHandlers(), Position::set(), GUISettingsHandler::setSnapshots(), setStatusBarText(), GUISUMOAbstractView::setViewportFromToRot(), GUIMainWindow::setWindowSizeAndPos(), GNEEvent_FileLoaded::SUMOCFG, TL, TLF, GUIMessageWindow::unregisterMsgHandlers(), WRITE_ERROR, WRITE_MESSAGE, Position::x(), and Position::y().
Referenced by eventOccurred().
| void GNEApplicationWindow::handleEvent_Message | ( | GUIEvent * | e | ) |
handle event of type message
Definition at line 1545 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::appendMsg(), GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), and myMessageWindow.
Referenced by eventOccurred().
|
inlineinherited |
Definition at line 195 of file GUIMainWindow.h.
References GUIMainWindow::myAmFullScreen.
Referenced by GUIViewTraffic::onDoubleClicked(), and GUISUMOAbstractView::paintGL().
|
inherited |
return whether the gui is in gaming mode
Definition at line 432 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmGaming.
Referenced by GUISUMOViewParent::init(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), GUIDanielPerspectiveChanger::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), and GUIViewTraffic::setColorScheme().
| bool GNEApplicationWindow::isUndoRedoAllowed | ( | ) | const |
Definition at line 4990 of file GNEApplicationWindow.cpp.
References myAllowUndoRedo.
Referenced by GNEAdditionalFrame::addAdditional(), GNEEdgeDataFrame::addEdgeData(), GNEStopFrame::addStop(), GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNEChange_Attribute::changeAttribute(), GNENet::computeNetwork(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNENetDiffTool::loadShapes(), GNEDistributionRefDialog::onCmdAccept(), GNEViewNet::onCmdAttachPOI(), GNEViewNet::onCmdReleasePOI(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onCmdTransformPOIGEO(), GNEViewNet::onCmdTriangulatePolygon(), GNEUndoList::onUpdRedo(), GNEUndoList::onUpdUndo(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_MeanData::~GNEChange_MeanData(), GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink(), GNEChange_TLS::~GNEChange_TLS(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().
| const std::string & GNEApplicationWindow::isUndoRedoEnabledTemporally | ( | ) | const |
check if undo-redo is enabled temporally
Definition at line 5008 of file GNEApplicationWindow.cpp.
References myUndoRedoListEnabled.
Referenced by GNEUndoList::onUpdRedo(), and GNEUndoList::onUpdUndo().
|
inherited |
return whether to list internal structures
Definition at line 438 of file GUIMainWindow.cpp.
References GUIMainWindow::myListInternal.
Referenced by GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list parking vehicles
Definition at line 444 of file GUIMainWindow.cpp.
References GUIMainWindow::myListParking.
Referenced by GUIApplicationWindow::fillMenuBar(), and GUISUMOViewParent::getObjectIDs().
|
inherited |
return whether to list teleporting vehicles
Definition at line 450 of file GUIMainWindow.cpp.
References GUIMainWindow::myListTeleporting.
Referenced by GUISUMOViewParent::getObjectIDs().
| void GNEApplicationWindow::loadAdditionalElements | ( | const std::string | operation | ) |
load additional elements from netedit options
Definition at line 5091 of file GNEApplicationWindow.cpp.
References FileBucket::ADDITIONAL, GNENetHelper::SavingStatus::additionalsSaved(), GNEUndoList::begin(), checkMeanDataFileBucket(), GNEUndoList::clear(), GNEUndoList::end(), GNEGeneralHandler::forceOverwriteElements(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNENetHelper::AttributeCarriers::getNumberOfMeanDatas(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEGeneralHandler::isAdditionalFile(), GNEGeneralHandler::isErrorCreatingAdditional(), GNEGeneralHandler::isErrorCreatingElement(), GNEGeneralHandler::isErrorCreatingMeanData(), GNEGeneralHandler::isMeanDataFile(), FileHelpers::isReadable(), GNENetHelper::SavingStatus::meanDatasSaved(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, NETWORK, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODENETWORK, TLF, toString(), WRITE_ERROR, and WRITE_MESSAGE.
Referenced by handleEvent_FileLoaded(), and onCmdReloadAdditionalElements().
| void GNEApplicationWindow::loadConfiguration | ( | const std::string & | configurationFile | ) |
starts to load a configuration
Definition at line 1945 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), OptionsCont::getOptions(), gSchemeStorage, GNELoadThread::loadNetworkOrConfig(), myAmLoading, myLoadThread, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentConfigs, GUICompleteSchemeStorage::saveViewport(), GNELoadThread::setDefaultOptions(), setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), TL, TLF, and WRITE_ERROR.
Referenced by onCmdOpenRecent().
| void GNEApplicationWindow::loadDataElements | ( | const std::string | operation | ) |
load data elements from netedit options
Definition at line 5217 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), FileBucket::DATA, GNENetHelper::SavingStatus::dataElementsSaved(), DEMAND, GNEUndoList::end(), CommonHandler::forceOverwriteElements(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), OptionsCont::getOptions(), GNENet::getSavingStatus(), CommonHandler::isErrorCreatingElement(), FileHelpers::isReadable(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, DataHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, TLF, toString(), WRITE_ERROR, and WRITE_MESSAGE.
Referenced by handleEvent_FileLoaded(), and onCmdReloadDataElements().
| void GNEApplicationWindow::loadDemandElements | ( | const std::string | operation | ) |
load demand elements from netedit options
Definition at line 5164 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), DEMAND, FileBucket::DEMAND, GNENetHelper::SavingStatus::demandElementsSaved(), GNEUndoList::end(), GNEGeneralHandler::forceOverwriteElements(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEGeneralHandler::isErrorCreatingElement(), FileHelpers::isReadable(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, TLF, toString(), WRITE_ERROR, and WRITE_MESSAGE.
Referenced by handleEvent_FileLoaded(), and onCmdReloadDemandElements().
| void GNEApplicationWindow::loadEdgeTypes | ( | const std::string | operation | ) |
load meanData elements
Definition at line 5345 of file GNEApplicationWindow.cpp.
References GNEUndoList::add(), GNEEdgeType::addLaneType(), GNEUndoList::begin(), FileBucket::EDGETYPE, GNEUndoList::end(), GNEViewParent::getCreateEdgeFrame(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNECreateEdgeFrame::getEdgeTypeSelector(), GNENet::getSavingStatus(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), NITypeLoader::load(), MODETLS, myFileBucketHandler, myNet, myUndoList, myViewNet, FileBucket::NETEDIT_CONFIG, NETWORK, GNECreateEdgeFrame::EdgeTypeSelector::refreshEdgeTypeSelector(), GNENet::requireRecompute(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), SUMO_TAG_TYPES, TLF, toString(), and WRITE_MESSAGE.
Referenced by onCmdOpenEdgeTypes(), and onCmdReloadEdgeTypes().
| void GNEApplicationWindow::loadMeanDataElements | ( | const std::string | operation | ) |
load meanData elements from netedit options
Definition at line 5265 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), DEMAND, GNEUndoList::end(), GNEGeneralHandler::forceOverwriteElements(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEGeneralHandler::isErrorCreatingElement(), FileHelpers::isReadable(), FileBucket::MEANDATA, GNENetHelper::SavingStatus::meanDatasSaved(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDEMAND, TLF, toString(), WRITE_ERROR, and WRITE_MESSAGE.
Referenced by handleEvent_FileLoaded(), and onCmdReloadMeanDataElements().
| void GNEApplicationWindow::loadNetwork | ( | const std::string & | networkFile | ) |
load network
Definition at line 1914 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), OptionsCont::getOptions(), gSchemeStorage, GNELoadThread::loadNetworkOrConfig(), myAmLoading, myFileBucketHandler, myInternalTest, myLoadThread, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentNetworks, FileBucket::NETWORK, GUICompleteSchemeStorage::saveViewport(), GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), GNELoadThread::setDefaultOptions(), setStatusBarText(), InternalTest::stopTests(), GUIMainWindow::storeWindowSizeAndPos(), TL, TLF, and WRITE_ERROR.
Referenced by onCmdOpenNetwork(), and onCmdOpenRecent().
| void GNEApplicationWindow::loadOptionOnStartup | ( | ) |
load net on startup
Definition at line 1860 of file GNEApplicationWindow.cpp.
References createNewNetwork(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNELoadThread::loadNetworkOrConfig(), myAmLoading, myFileBucketHandler, myLoadThread, myMenuBarFile, GNEApplicationWindowHelper::MenuBarFile::myRecentConfigs, GNEApplicationWindowHelper::MenuBarFile::myRecentNetworks, myStartedWithNewNet, FileBucket::NETWORK, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), setStatusBarText(), FileBucket::SUMO_CONFIG, and TL.
Referenced by main().
| void GNEApplicationWindow::loadOSM | ( | const std::string & | OSMFile | ) |
starts to load a OSM File
Definition at line 1973 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, NIFrame::checkOptions(), GNELoadThread::fillOptions(), OptionsCont::getOptions(), GNEDialog::getResult(), gSchemeStorage, GNELoadThread::loadNetworkOrConfig(), myAmLoading, myLoadThread, myOriginalNeteditOptions, GUICompleteSchemeStorage::saveViewport(), GNELoadThread::setDefaultOptions(), setStatusBarText(), GUIMainWindow::storeWindowSizeAndPos(), and TLF.
Referenced by onCmdOpenForeign().
| void GNEApplicationWindow::loadTrafficLights | ( | const std::string | operation | ) |
load traffic lights
Definition at line 5317 of file GNEApplicationWindow.cpp.
References GNEUndoList::abortAllChangeGroups(), GNEUndoList::begin(), GNENet::computeNetwork(), GNEUndoList::end(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNENet::getSavingStatus(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewParent(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), MODETLS, myFileBucketHandler, myNet, myUndoList, FileBucket::NETEDIT_CONFIG, NETWORK, GNETLSEditorFrame::parseTLSPrograms(), GNENet::requireRecompute(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), TLF, FileBucket::TLS, and WRITE_MESSAGE.
Referenced by onCmdOpenTLSPrograms(), and onCmdReloadTLSPrograms().
| long GNEApplicationWindow::onClipboardRequest | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall clipboard request is executed
Definition at line 1361 of file GNEApplicationWindow.cpp.
References GUIUserIO::clipped.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdAbort | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits esc
Definition at line 2407 of file GNEApplicationWindow.cpp.
References GNEViewNet::abortOperation(), GNEAttributesEditor::abortReparenting(), GNEInspectorFrame::clearInspection(), GNETAZFrame::TAZSelectionStatistics::clearSelectedEdges(), GNEInspectorFrame::getAttributesEditor(), GNETAZFrame::TAZSelectionStatistics::getEdgeAndTAZChildrenSelected(), GNEViewParent::getInspectorFrame(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSelectionStatisticsModule(), GNEViewNet::getViewParent(), GNEAttributesEditor::isReparenting(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdAbout | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall show about dialog is executed
Definition at line 1354 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdBackspace | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits backspace
Definition at line 2453 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyBackSpace(), and myViewNet.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 559 of file GUIMainWindow.cpp.
References gLanguage, MID_LANGUAGE_DE, MID_LANGUAGE_ES, MID_LANGUAGE_FR, MID_LANGUAGE_IT, MID_LANGUAGE_JA, MID_LANGUAGE_KO, MID_LANGUAGE_PT, MID_LANGUAGE_TR, MID_LANGUAGE_ZH, MID_LANGUAGE_ZHT, TL, and WRITE_MESSAGE.
Referenced by FXDEFMAP(), and FXDEFMAP().
| long GNEApplicationWindow::onCmdChangelog | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects help->Changelog
Definition at line 2664 of file GNEApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdClearMsgWindow | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall clear message windows is executed
Definition at line 1335 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::clear(), and myMessageWindow.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdClearSelectionShortcut | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits key combination for clear selection
Definition at line 2473 of file GNEApplicationWindow.cpp.
References GNESelectorFrame::clearCurrentSelection(), GNEViewParent::getSelectorFrame(), GNEViewNet::getViewParent(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdClearTemplate | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2924 of file GNEApplicationWindow.cpp.
References GNEInspectorFrame::TemplateEditor::clearTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdClose | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall close is executed
Definition at line 1262 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), askSaveElements(), closeAllWindows(), GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), MID_GNE_TOOLBARFILE_RELOAD_NETEDITCONFIG, MID_GNE_TOOLBARFILE_RELOAD_SUMOCONFIG, MID_GNE_TOOLBARFILE_RELOADNETWORK, MID_HOTKEY_CTRL_R_RELOAD, myEditMenuCommands, myMessageWindow, myModesMenuCommands, myViewNet, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, and GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions.
Referenced by FXDEFMAP(), onCmdNewNetwork(), onCmdOpenForeign(), onCmdOpenNetconvertConfig(), onCmdOpenNeteditConfig(), onCmdOpenNetwork(), onCmdOpenRecent(), onCmdOpenSumoConfig(), onCmdReloadNeteditConfig(), onCmdReloadNetwork(), onCmdReloadSumoConfig(), and onCmdSmartReload().
| long GNEApplicationWindow::onCmdComputePathManager | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2870 of file GNEApplicationWindow.cpp.
References GNENet::getDemandPathManager(), GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), myViewNet, and GNEPathManager::PathCalculator::updatePathCalculator().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdCopy | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2888 of file GNEApplicationWindow.cpp.
| long GNEApplicationWindow::onCmdCopyTemplate | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2913 of file GNEApplicationWindow.cpp.
References GNEInspectorFrame::TemplateEditor::copyTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdCut | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press Ctrl+Z
Definition at line 2881 of file GNEApplicationWindow.cpp.
| long GNEApplicationWindow::onCmdDel | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits del
Definition at line 2433 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyDel(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdEditChosen | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall edit chosen is executed
Definition at line 755 of file GNEApplicationWindow.cpp.
References gSelected.
| long GNEApplicationWindow::onCmdEditViewport | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on menu Edit->Viewport.
Definition at line 2553 of file GNEApplicationWindow.cpp.
References myViewNet, and GUISUMOAbstractView::showViewportEditor().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdEditViewScheme | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called on menu Edit->Visualization.
Definition at line 2563 of file GNEApplicationWindow.cpp.
References myViewNet, and GUISUMOAbstractView::showViewschemeEditor().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdEnter | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits enter
Definition at line 2443 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyEnter(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdFeedback | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects help->feedback
Definition at line 2722 of file GNEApplicationWindow.cpp.
References GUIDialog_Feedback::create().
Referenced by FXDEFMAP().
|
inherited |
called when user focuses a coordinate field in the status bar
Definition at line 399 of file GUIMainWindow.cpp.
Referenced by FXDEFMAP(), and FXDEFMAP().
| long GNEApplicationWindow::onCmdFocusFrame | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits key combination for focus on frame
Definition at line 2463 of file GNEApplicationWindow.cpp.
References GNEViewNet::hotkeyFocusFrame(), and myViewNet.
Referenced by FXDEFMAP().
|
inlinevirtualinherited |
Toggle full screen mode.
Reimplemented in GUIApplicationWindow.
Definition at line 191 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::onDoubleClicked().
| long GNEApplicationWindow::onCmdHelp | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects help->Documentation
Definition at line 2657 of file GNEApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdHotkeys | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects help->Hotkeys
Definition at line 2672 of file GNEApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLoadAdditionalsInSUMOGUI | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user toggle windows checkbox "load additionals"
Definition at line 1342 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLoadDemandInSUMOGUI | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user toggle windows checkbox "load demand"
Definition at line 1348 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLocate | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
called when the command/FXCall locate is executed
Definition at line 1291 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onCmdLocate().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLockAllElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
called when user press lock all elements button
Definition at line 2179 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), GNEApplicationWindowHelper::LockMenuCommands::lockAll(), myLockMenuCommands, myViewNet, and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLockElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
called when user press a lock menu check
Definition at line 2087 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsObstacles, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsWalkableAreas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunctions, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrips, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalks, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWires, MID_GNE_LOCK_ADDITIONALELEMENT, MID_GNE_LOCK_CONNECTION, MID_GNE_LOCK_CONTAINER, MID_GNE_LOCK_CROSSING, MID_GNE_LOCK_EDGE, MID_GNE_LOCK_EDGEDATA, MID_GNE_LOCK_EDGERELDATA, MID_GNE_LOCK_JPS_OBSTACLE, MID_GNE_LOCK_JPS_WALKABLEAREA, MID_GNE_LOCK_JUNCTION, MID_GNE_LOCK_LANE, MID_GNE_LOCK_PERSON, MID_GNE_LOCK_PERSONTRIP, MID_GNE_LOCK_POI, MID_GNE_LOCK_POLYGON, MID_GNE_LOCK_RIDE, MID_GNE_LOCK_ROUTE, MID_GNE_LOCK_STOP, MID_GNE_LOCK_TAZ, MID_GNE_LOCK_TAZRELDATA, MID_GNE_LOCK_TRANSHIP, MID_GNE_LOCK_TRANSPORT, MID_GNE_LOCK_VEHICLE, MID_GNE_LOCK_WALK, MID_GNE_LOCK_WALKINGAREA, MID_GNE_LOCK_WIRE, myLockMenuCommands, myViewNet, MFXMenuCheckIcon::toggleCheck(), and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdLockSelectElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
called when user press lock select elements button
Definition at line 2197 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdNewNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall new network is executed
Definition at line 765 of file GNEApplicationWindow.cpp.
References createNewNetwork(), myStartedWithNewNet, and onCmdClose().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdNewWindow | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
Definition at line 2306 of file GNEApplicationWindow.cpp.
References StringUtils::escapeShell(), OptionsCont::getValueString(), FileHelpers::isReadable(), MID_GNE_POSTPROCESSINGNETGENERATE, myNetgenerateOptions, SysUtils::runHiddenCommand(), TLF, and WRITE_MESSAGE.
Referenced by FXDEFMAP(), and onCmdPostprocessingNetgenerate().
| long GNEApplicationWindow::onCmdOpenAdditionalElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open additionals is executed
Definition at line 4107 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::ADDITIONAL, SUMOXMLDefinitions::AdditionalFileExtensions, GNENetHelper::SavingStatus::additionalsSaved(), GNEUndoList::begin(), checkMeanDataFileBucket(), GNEUndoList::clear(), GNEUndoList::end(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isAdditionalsSaved(), GNEGeneralHandler::isErrorCreatingElement(), GNEFileDialog::LOAD_SINGLE, GNENetHelper::SavingStatus::meanDatasSaved(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, NETWORK, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODENETWORK, TL, TLF, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenDataElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open data is executed
Definition at line 4501 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), GNEUndoList::clear(), DATA, FileBucket::DATA, GNENetHelper::SavingStatus::dataElementsSaved(), GNENet::disableUpdateData(), SUMOXMLDefinitions::EdgeDataFileExtensions, GNENet::enableUpdateData(), GNEUndoList::end(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEViewNet::getNet(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDataElementsSaved(), CommonHandler::isErrorCreatingElement(), GNEFileDialog::LOAD_SINGLE, myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, myViewNet, GNEFileDialog::NETEDIT, DataHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDATA, TL, TLF, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenDemandElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open demand is executed
Definition at line 4324 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), GNEUndoList::clear(), DEMAND, FileBucket::DEMAND, GNENetHelper::SavingStatus::demandElementsSaved(), GNEUndoList::end(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDemandElementsSaved(), GNEGeneralHandler::isErrorCreatingElement(), GNEFileDialog::LOAD_SINGLE, myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, GeneralHandler::parse(), SUMOXMLDefinitions::RouteFileExtensions, XMLSubSys::setValidation(), SUPERMODEDEMAND, TL, TLF, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenEdgeTypes | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open edgeType is executed
Definition at line 1033 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::EDGETYPE, SUMOXMLDefinitions::EdgeTypeFileExtensions, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, loadEdgeTypes(), myFileBucketHandler, GNEFileDialog::NETEDIT, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenForeign | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open foreign is executed
Definition at line 825 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, loadOSM(), myFileBucketHandler, GNEFileDialog::NETEDIT, onCmdClose(), SUMOXMLDefinitions::OSMFileExtensions, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenMeanDataElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open meanDatas is executed
Definition at line 4681 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), GNEUndoList::clear(), DATA, GNEUndoList::end(), GNEApplicationWindowHelper::FileBucketHandler::getBucket(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNEGeneralHandler::isErrorCreatingElement(), GNENetHelper::SavingStatus::isMeanDatasSaved(), GNEFileDialog::LOAD_SINGLE, FileBucket::MEANDATA, SUMOXMLDefinitions::MeanDataFileExtensions, GNENetHelper::SavingStatus::meanDatasSaved(), myAllowUndoRedo, myAllowUndoRedoLoading, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, GeneralHandler::parse(), XMLSubSys::setValidation(), SUPERMODEDATA, TL, TLF, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenNetconvertConfig | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open netconvertconfiguration is executed
Definition at line 778 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), OptionsCont::getOptions(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, GNELoadThread::loadNetworkOrConfig(), myFileBucketHandler, myInternalTest, myLoadThread, SUMOXMLDefinitions::NetconvertConfigFileExtensions, GNEFileDialog::NETEDIT, onCmdClose(), GNELoadThread::setDefaultOptions(), InternalTest::stopTests(), and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenNeteditConfig | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open netedit config is executed
Definition at line 841 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), OptionsCont::getOptions(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, GNELoadThread::loadNetworkOrConfig(), myFileBucketHandler, myInternalTest, myLoadThread, GNEFileDialog::NETEDIT, SUMOXMLDefinitions::NeteditConfigFileExtensions, onCmdClose(), GNELoadThread::setDefaultOptions(), InternalTest::stopTests(), and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenNetgenerateDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "netgenerate" button
Definition at line 2769 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenNetgenerateOptionsDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "netgenerate options" button
Definition at line 2776 of file GNEApplicationWindow.cpp.
References myNetgenerateOptions, and myOriginalNetgenerateOptions.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenNetwork | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open network is executed
Definition at line 808 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, loadNetwork(), myFileBucketHandler, GNEFileDialog::NETEDIT, SUMOXMLDefinitions::NetFileExtensions, onCmdClose(), and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenOptionsDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "options" button
Definition at line 2732 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, NBFrame::checkOptions(), NIFrame::checkOptions(), NWFrame::checkOptions(), SystemFrame::checkOptions(), OptionsCont::getOptions(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNENeteditOptionsDialog::isOptionModified(), myNet, myOriginalNeteditOptions, GNENet::requireRecompute(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), GNENetHelper::SavingStatus::requireSaveNetwork(), and GNENeteditOptionsDialog::requireSaveNetwork().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenPythonToolDialog | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press over a tool dialog button
Definition at line 1303 of file GNEApplicationWindow.cpp.
References myToolsMenuCommands, and GNEApplicationWindowHelper::ToolsMenuCommands::showTool().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenRecent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | fileData | ||
| ) |
called when the command/FXCall open recent is executed
Definition at line 1239 of file GNEApplicationWindow.cpp.
References loadConfiguration(), loadNetwork(), myAmLoading, GUIMainWindow::myStatusbar, onCmdClose(), and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenSumoConfig | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open SumoConfig is executed
Definition at line 871 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), OptionsCont::getOptions(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, GNELoadThread::loadNetworkOrConfig(), myFileBucketHandler, myInternalTest, myLoadThread, GNEFileDialog::NETEDIT, onCmdClose(), GNELoadThread::setDefaultOptions(), InternalTest::stopTests(), SUMOXMLDefinitions::SumoConfigFileExtensions, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenSUMOGUI | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hints ctrl + T
Definition at line 2341 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GUISUMOAbstractView::getChanger(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNENetHelper::AttributeCarriers::getNumberOfAdditionals(), GNENetHelper::AttributeCarriers::getNumberOfDemandElements(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), FileHelpers::isReadable(), GNEApplicationWindowHelper::EditMenuCommands::loadAdditionalsInSUMOGUI, GNEApplicationWindowHelper::EditMenuCommands::loadDemandInSUMOGUI, myEditMenuCommands, myFileBucketHandler, myNet, myViewNet, FileBucket::NETWORK, onCmdSaveNetwork(), onCmdSaveSumoConfig(), SysUtils::runHiddenCommand(), FileBucket::SUMO_CONFIG, TLF, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenSumoOptionsDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press "sumo options" button
Definition at line 2757 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEDialog::getResult(), GNENet::getSavingStatus(), GNESumoOptionsDialog::isOptionModified(), myNet, myOriginalSumoOptions, mySumoOptions, and GNENetHelper::SavingStatus::requireSaveSumoConfig().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenTLSPrograms | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall open TLS programs is executed
Definition at line 995 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNEFileDialog::LOAD_SINGLE, loadTrafficLights(), myFileBucketHandler, GNEFileDialog::NETEDIT, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), TL, FileBucket::TLS, and SUMOXMLDefinitions::TLSFileExtensions.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdOpenUndoListDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2850 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdPaste | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2895 of file GNEApplicationWindow.cpp.
| long GNEApplicationWindow::onCmdPostprocessingNetgenerate | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
postprocessing netgenerate
Definition at line 2547 of file GNEApplicationWindow.cpp.
References MID_GNE_POSTPROCESSINGNETGENERATE, and onCmdNewWindow().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdPostProcessingPythonTool | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
post processing after run tool
Definition at line 1315 of file GNEApplicationWindow.cpp.
References myToolsMenuCommands, and GNEApplicationWindowHelper::ToolsMenuCommands::postProcessing().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdProcessButton | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when user press a process button (or a shortcut)
Definition at line 2249 of file GNEApplicationWindow.cpp.
References GNENet::adjustPersonPlans(), GNENet::cleanInvalidCrossings(), GNENet::cleanInvalidDemandElements(), GNENet::cleanUnusedRoutes(), GNENet::computeDemandElements(), computeJunctionWithVolatileOptions(), GNENet::computeNetwork(), GNEViewNet::getEditModes(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNENet::joinRoutes(), GNENet::joinSelectedJunctions(), MID_HOTKEY_F5_COMPUTE_NETWORK_DEMAND, MID_HOTKEY_F6_CLEAN_SOLITARYJUNCTIONS_UNUSEDROUTES, MID_HOTKEY_F7_JOIN_SELECTEDJUNCTIONS_ROUTES, MID_HOTKEY_F8_CLEANINVALID_CROSSINGS_DEMANDELEMENTS, MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE, MID_HOTKEY_SHIFT_F7_ADJUST_PERSON_PLANS, myNet, myUndoList, myViewNet, GNENet::removeSolitaryJunctions(), and updateControls().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdQuit | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
Called by FOX if the application shall be closed.
Definition at line 739 of file GNEApplicationWindow.cpp.
References askSaveElements(), gCurrentFolder, and GUIMainWindow::storeWindowSizeAndPos().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdRedo | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2817 of file GNEApplicationWindow.cpp.
References GNEViewNet::aksChangeSupermode(), GNEViewNetHelper::EditModes::currentSupermode, DATA, GNEViewParent::getCurrentShownFrame(), GNEViewNet::getEditModes(), GNEUndoList::getRedoSupermode(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), myEditMenuCommands, myFileBucketHandler, myInternalTest, myViewNet, onUpdRedo(), onUpdUndo(), GNEUndoList::redo(), GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, TL, GNEApplicationWindowHelper::EditMenuCommands::undoLastChange, GNEFrame::updateFrameAfterUndoRedo(), GNEApplicationWindowHelper::FileBucketHandler::updateOptions(), and GNEViewParent::updateUndoRedoButtons().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadAdditionalElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload additionals is executed
Definition at line 4159 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), GNENet::clearAdditionalElements(), DEMAND, GNEUndoList::end(), loadAdditionalElements(), myAllowUndoRedoLoading, myNet, myUndoList, XMLSubSys::setValidation(), SUPERMODENETWORK, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadDataElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload data elements is executed
Definition at line 4551 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), GNENet::clearDataElements(), DATA, GNENet::disableUpdateData(), GNENet::enableUpdateData(), GNEUndoList::end(), GNEViewNet::getNet(), loadDataElements(), myAllowUndoRedoLoading, myNet, myUndoList, myViewNet, XMLSubSys::setValidation(), SUPERMODEDATA, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadDemandElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload demand elements is executed
Definition at line 4370 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), GNENet::clearDemandElements(), DEMAND, GNEUndoList::end(), loadDemandElements(), myAllowUndoRedoLoading, myNet, myUndoList, XMLSubSys::setValidation(), SUPERMODEDEMAND, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadEdgeTypes | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload edge types is executed
Definition at line 1052 of file GNEApplicationWindow.cpp.
References loadEdgeTypes().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadMeanDataElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload meanDatas is executed
Definition at line 4727 of file GNEApplicationWindow.cpp.
References GNEUndoList::begin(), GNEUndoList::clear(), GNENet::clearMeanDataElements(), DEMAND, GNEUndoList::end(), loadMeanDataElements(), myAllowUndoRedoLoading, myNet, myUndoList, XMLSubSys::setValidation(), SUPERMODENETWORK, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadNeteditConfig | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall reload netedit config is executed
Definition at line 901 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNELoadThread::loadNetworkOrConfig(), myFileBucketHandler, myInternalTest, myLoadThread, FileBucket::NETEDIT_CONFIG, onCmdClose(), GNELoadThread::setDefaultOptions(), and InternalTest::stopTests().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadNetwork | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall network reload is executed
Definition at line 1181 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNELoadThread::loadNetworkOrConfig(), myAmLoading, myFileBucketHandler, myInternalTest, myLoadThread, FileBucket::NETWORK, onCmdClose(), GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), GNELoadThread::setDefaultOptions(), setStatusBarText(), InternalTest::stopTests(), GUIMainWindow::storeWindowSizeAndPos(), and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadSumoConfig | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall reload SumoConfig is executed
Definition at line 937 of file GNEApplicationWindow.cpp.
References GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNELoadThread::loadNetworkOrConfig(), myFileBucketHandler, myInternalTest, myLoadThread, onCmdClose(), GNELoadThread::setDefaultOptions(), InternalTest::stopTests(), and FileBucket::SUMO_CONFIG.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdReloadTLSPrograms | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload TLS programs is executed
Definition at line 1014 of file GNEApplicationWindow.cpp.
References loadTrafficLights().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdRunNetgenerate | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when run netgenerate is called
Definition at line 2540 of file GNEApplicationWindow.cpp.
References myNetgenerateOptions.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdRunPythonTool | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
called when user run a tool
Definition at line 1309 of file GNEApplicationWindow.cpp.
References myToolsMenuCommands, and GNEApplicationWindowHelper::ToolsMenuCommands::runToolDialog().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdRunTests | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
run tests
Definition at line 2517 of file GNEApplicationWindow.cpp.
References InternalTest::isRunning(), myInternalTest, and GNEInternalTest::runNeteditInternalTests().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveAdditionalElements | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save additionals is executed
Definition at line 4194 of file GNEApplicationWindow.cpp.
References FileBucket::ADDITIONAL, GNENet::computeNetwork(), GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isAdditionalsSaved(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, onCmdSaveAdditionalElementsAs(), GNENet::saveAdditionals(), TL, and WRITE_MESSAGE.
Referenced by askSaveElements(), computeJunctionWithVolatileOptions(), FXDEFMAP(), onCmdSaveAdditionalElementsAs(), onCmdSaveAdditionalElementsUnified(), onCmdSaveNeteditConfig(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveAdditionalElementsAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save additionals as
Definition at line 4241 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::ADDITIONAL, SUMOXMLDefinitions::AdditionalFileExtensions, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), myFileBucketHandler, GNEFileDialog::NETEDIT, onCmdSaveAdditionalElements(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveAdditionalElements().
| long GNEApplicationWindow::onCmdSaveAdditionalElementsUnified | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save additionals unified is executed
Definition at line 4261 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::ADDITIONAL, SUMOXMLDefinitions::AdditionalFileExtensions, GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getAdditionals(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNE_ATTR_SAVEFILE, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, NETWORK, onCmdSaveAdditionalElements(), GNENetHelper::SavingStatus::requireSaveAdditionals(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), SUPERMODENETWORK, TL, and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveDataElements | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save data elements is executed
Definition at line 4590 of file GNEApplicationWindow.cpp.
References FileBucket::DATA, GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDataElementsSaved(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, onCmdSaveDataElementsAs(), GNENet::saveDataElements(), TL, and WRITE_MESSAGE.
Referenced by askSaveElements(), computeJunctionWithVolatileOptions(), FXDEFMAP(), onCmdSaveDataElementsAs(), onCmdSaveDataElementsUnified(), onCmdSaveNeteditConfig(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveDataElementsAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save data elements as is executed
Definition at line 4632 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::DATA, SUMOXMLDefinitions::EdgeDataFileExtensions, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), myFileBucketHandler, GNEFileDialog::NETEDIT, onCmdSaveDataElements(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveDataElements().
| long GNEApplicationWindow::onCmdSaveDataElementsUnified | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save data elements unified is executed
Definition at line 4652 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), DATA, FileBucket::DATA, SUMOXMLDefinitions::EdgeDataFileExtensions, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNENetHelper::AttributeCarriers::getDataSets(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNE_ATTR_SAVEFILE, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, onCmdSaveDataElements(), GNENetHelper::SavingStatus::requireSaveDataElements(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), SUPERMODEDATA, TL, and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveDemandElements | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save demand elements is executed
Definition at line 4405 of file GNEApplicationWindow.cpp.
References GNENet::computeNetwork(), FileBucket::DEMAND, GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDemandElementsSaved(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, onCmdSaveDemandElementsAs(), GNENet::saveDemandElements(), TL, and WRITE_MESSAGE.
Referenced by askSaveElements(), computeJunctionWithVolatileOptions(), FXDEFMAP(), onCmdSaveDemandElementsAs(), onCmdSaveDemandElementsUnified(), onCmdSaveNeteditConfig(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveDemandElementsAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save demand elements as is executed
Definition at line 4450 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::DEMAND, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), myFileBucketHandler, GNEFileDialog::NETEDIT, onCmdSaveDemandElements(), SUMOXMLDefinitions::RouteFileExtensions, GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveDemandElements().
| long GNEApplicationWindow::onCmdSaveDemandElementsUnified | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save demand elements unified is executed
Definition at line 4470 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), DEMAND, FileBucket::DEMAND, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNE_ATTR_SAVEFILE, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, onCmdSaveDemandElements(), GNENetHelper::SavingStatus::requireSaveDemandElements(), SUMOXMLDefinitions::RouteFileExtensions, GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), SUPERMODEDEMAND, TL, and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveEdgeTypes | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save edge types is executed
Definition at line 4022 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), FileBucket::EDGETYPE, GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myMessageWindow, myNet, onCmdSaveEdgeTypesAs(), GNENet::saveEdgeTypes(), TL, TLF, and WRITE_MESSAGE.
Referenced by FXDEFMAP(), and onCmdSaveEdgeTypesAs().
| long GNEApplicationWindow::onCmdSaveEdgeTypesAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save edgeTypes as is executed
Definition at line 4083 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, FileBucket::EDGETYPE, SUMOXMLDefinitions::EdgeTypeFileExtensions, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), myFileBucketHandler, myNet, myViewNet, GNEFileDialog::NETEDIT, onCmdSaveEdgeTypes(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveEdgeTypes().
| long GNEApplicationWindow::onCmdSaveJoinedJunctionsAs | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save joined is executed
Definition at line 3677 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), SUMOXMLDefinitions::JunctionFileExtensions, myFileBucketHandler, myNet, myViewNet, GNEFileDialog::NETEDIT, GNEFileDialog::SAVE, GNENet::saveJoined(), TL, TLF, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveJuPedSimElementsAs | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save JuPedSim elements as is executed
Definition at line 4292 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, SUMOXMLDefinitions::AdditionalFileExtensions, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), myFileBucketHandler, myNet, myViewNet, GNEFileDialog::NETEDIT, GNEFileDialog::SAVE, GNENet::saveJuPedSimElements(), TL, and WRITE_MESSAGE.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveMeanDataElements | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save meanDatas is executed
Definition at line 4762 of file GNEApplicationWindow.cpp.
References GNENet::computeNetwork(), GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNENetHelper::SavingStatus::isMeanDatasSaved(), FileBucket::MEANDATA, myFileBucketHandler, myNet, onCmdSaveMeanDataElementsAs(), GNENet::saveMeanDatas(), TL, and WRITE_MESSAGE.
Referenced by askSaveElements(), computeJunctionWithVolatileOptions(), FXDEFMAP(), onCmdSaveMeanDataElementsAs(), onCmdSaveMeanDataElementsUnified(), onCmdSaveNeteditConfig(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveMeanDataElementsAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save meanDatas as is executed
Definition at line 4806 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), FileBucket::MEANDATA, SUMOXMLDefinitions::MeanDataFileExtensions, myFileBucketHandler, GNEFileDialog::NETEDIT, onCmdSaveMeanDataElements(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveMeanDataElements().
| long GNEApplicationWindow::onCmdSaveMeanDataElementsUnified | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save meanDatas unified is executed
Definition at line 4826 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEUndoList::begin(), DATA, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNENetHelper::AttributeCarriers::getMeanDatas(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNE_ATTR_SAVEFILE, FileBucket::MEANDATA, SUMOXMLDefinitions::MeanDataFileExtensions, MODEMEANDATA, myFileBucketHandler, myNet, myUndoList, GNEFileDialog::NETEDIT, onCmdSaveMeanDataElements(), GNENetHelper::SavingStatus::requireSaveMeanDatas(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), TL, and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSaveNeteditConfig | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save netedit config is executed
Definition at line 3704 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNENetHelper::SavingStatus::isNeteditConfigSaved(), myFileBucketHandler, myMenuBarFile, myNet, GNEApplicationWindowHelper::MenuBarFile::myRecentConfigs, mySumoOptions, FileBucket::NETEDIT_CONFIG, GNENetHelper::SavingStatus::neteditConfigSaved(), onCmdSaveAdditionalElements(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveMeanDataElements(), onCmdSaveNeteditConfigAs(), onCmdSaveNetwork(), onCmdSavePlainXML(), GNENetHelper::AttributeCarriers::requireJunctionTazOption(), OptionsCont::set(), FileBucket::SUMO_CONFIG, TL, TLF, XMLSubSys::transcodeToLocal(), WRITE_ERROR, WRITE_MESSAGE, and OptionsCont::writeConfiguration().
Referenced by FXDEFMAP(), onCmdSaveNeteditConfigAs(), and onCmdSaveSumoConfigAs().
| long GNEApplicationWindow::onCmdSaveNeteditConfigAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save netedit config as is executed
Definition at line 3780 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), myFileBucketHandler, myNet, GNEFileDialog::NETEDIT, FileBucket::NETEDIT_CONFIG, SUMOXMLDefinitions::NeteditConfigFileExtensions, onCmdSaveNeteditConfig(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveNeteditConfig().
| long GNEApplicationWindow::onCmdSaveNetwork | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save network is executed
Definition at line 3528 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GUIMessageWindow::addSeparator(), GNENet::computeNetwork(), GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), GNENetHelper::AttributeCarriers::getCrossings(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNENetHelper::AttributeCarriers::getEdges(), GNEViewNet::getNet(), OptionsCont::getOptions(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNENetHelper::SavingStatus::isNetworkSaved(), myFileBucketHandler, myMenuBarFile, myMessageWindow, myNet, GNEApplicationWindowHelper::MenuBarFile::myRecentNetworks, myViewNet, FileBucket::NETWORK, onCmdSaveNetworkAs(), PROGRESS_FAILED_MESSAGE, GNENet::saveNetwork(), GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), TL, TLF, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by askSaveElements(), FXDEFMAP(), onCmdOpenSUMOGUI(), onCmdSaveNeteditConfig(), onCmdSaveNetworkAs(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveNetworkAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save network as is executed
Definition at line 3602 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), MFXUtils::getTitleText(), myFileBucketHandler, myNet, myTitlePrefix, GNEFileDialog::NETEDIT, SUMOXMLDefinitions::NetFileExtensions, FileBucket::NETWORK, onCmdSaveNetwork(), GNENetHelper::SavingStatus::requireSaveNetwork(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSaveNetwork().
| long GNEApplicationWindow::onCmdSavePlainXML | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save plain xml is executed
Definition at line 3626 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::getConfigFilePrefix(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, myViewNet, FileBucket::NETCONVERT_CONFIG, FileBucket::NETCONVERT_PREFIX, onCmdSavePlainXMLAs(), GNENet::savePlain(), GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), TL, TLF, and WRITE_MESSAGE.
Referenced by onCmdSaveNeteditConfig(), onCmdSavePlainXMLAs(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSavePlainXMLAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save as plain xml is executed
Definition at line 3658 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), myFileBucketHandler, FileBucket::NETCONVERT_CONFIG, SUMOXMLDefinitions::NetconvertPlainFileExtensions, GNEFileDialog::NETEDIT, onCmdSavePlainXML(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), and TL.
Referenced by FXDEFMAP(), and onCmdSavePlainXML().
| long GNEApplicationWindow::onCmdSaveSumoConfig | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save SumoConfig is executed
Definition at line 3844 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFolder(), OptionsCont::getOptions(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myMenuBarFile, myNet, GNEApplicationWindowHelper::MenuBarFile::myRecentConfigs, mySumoOptions, FileBucket::NETEDIT_CONFIG, GNENetHelper::SavingStatus::neteditConfigSaved(), onCmdSaveAdditionalElements(), onCmdSaveDataElements(), onCmdSaveDemandElements(), onCmdSaveMeanDataElements(), onCmdSaveNetwork(), onCmdSavePlainXML(), onCmdSaveSumoConfigAs(), GNENetHelper::AttributeCarriers::requireJunctionTazOption(), OptionsCont::resetWritable(), OptionsCont::set(), FileBucket::SUMO_CONFIG, GNENetHelper::SavingStatus::SumoConfigSaved(), TL, TLF, XMLSubSys::transcodeToLocal(), WRITE_MESSAGE, and OptionsCont::writeConfiguration().
Referenced by FXDEFMAP(), onCmdOpenSUMOGUI(), and onCmdSaveSumoConfigAs().
| long GNEApplicationWindow::onCmdSaveSumoConfigAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save SumoConfig as is executed
Definition at line 3922 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, GNEFileDialog::NETEDIT, FileBucket::NETEDIT_CONFIG, onCmdSaveNeteditConfig(), onCmdSaveSumoConfig(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), GNENetHelper::SavingStatus::requireSaveSumoConfig(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), FileBucket::SUMO_CONFIG, SUMOXMLDefinitions::SumoConfigFileExtensions, and TL.
Referenced by FXDEFMAP(), and onCmdSaveSumoConfig().
| long GNEApplicationWindow::onCmdSaveTLSPrograms | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save TLSPrograms is executed
Definition at line 3978 of file GNEApplicationWindow.cpp.
References GUIMessageWindow::addSeparator(), GNENet::computeNetwork(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myMessageWindow, myNet, myViewNet, onCmdSaveTLSProgramsAs(), GNENet::saveTLSPrograms(), TL, TLF, FileBucket::TLS, and WRITE_MESSAGE.
Referenced by FXDEFMAP(), and onCmdSaveTLSProgramsAs().
| long GNEApplicationWindow::onCmdSaveTLSProgramsAs | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall save TLSPrograms as is executed
Definition at line 4059 of file GNEApplicationWindow.cpp.
References GNEDialog::ACCEPT, GNEApplicationWindowHelper::FileBucketHandler::getConfigDirectory(), GNEFileDialog::getFilename(), GNEDialog::getResult(), GNENet::getSavingStatus(), myFileBucketHandler, myNet, myViewNet, GNEFileDialog::NETEDIT, onCmdSaveTLSPrograms(), GNENetHelper::SavingStatus::requireSaveNeteditConfig(), GNEFileDialog::SAVE, GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), TL, FileBucket::TLS, and SUMOXMLDefinitions::TLSFileExtensions.
Referenced by FXDEFMAP(), and onCmdSaveTLSPrograms().
|
inherited |
called when user enters a cartesian coordinate in the status bar
Definition at line 377 of file GUIMainWindow.cpp.
References GUISUMOAbstractView::centerToPos(), GUIMainWindow::getActiveView(), GUIMainWindow::myCartesianCoordinate, GUIMainWindow::parseCartesianCoordinate(), GUIMainWindow::setStatusBarText(), TL, TLF, and toString().
Referenced by FXDEFMAP(), and FXDEFMAP().
|
inherited |
called when user enters a geo coordinate in the status bar
Definition at line 346 of file GUIMainWindow.cpp.
References GUISUMOAbstractView::centerToPos(), GUIMainWindow::getActiveView(), GeoConvHelper::getFinal(), gPrecisionGeo, GUIMainWindow::myGeoCoordinate, GUIMainWindow::parseGeoCoordinate(), GUIMainWindow::setStatusBarText(), TL, TLF, and toString().
Referenced by FXDEFMAP(), and FXDEFMAP().
| long GNEApplicationWindow::onCmdSetMode | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits an edit-mode hotkey
Definition at line 2077 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdSetMode().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSetSuperMode | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user hits an edit-supermode hotkey
Definition at line 2067 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdSetSupermode().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSetTemplate | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2902 of file GNEApplicationWindow.cpp.
References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), GNEViewNet::getViewParent(), myViewNet, and GNEInspectorFrame::TemplateEditor::setTemplate().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdSmartReload | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the command/FXCall smart reload is executed
Definition at line 1071 of file GNEApplicationWindow.cpp.
References createNewNetwork(), GNELoadThread::fillOptions(), GNEApplicationWindowHelper::FileBucketHandler::getDefaultFilename(), OptionsCont::getOptions(), GNELoadThread::loadNetworkOrConfig(), myAmLoading, myFileBucketHandler, myInternalTest, myLoadThread, myStartedWithNewNet, FileBucket::NETEDIT_CONFIG, FileBucket::NETWORK, onCmdClose(), GNEApplicationWindowHelper::FileBucketHandler::setDefaultFilenameFile(), GNELoadThread::setDefaultOptions(), setStatusBarText(), InternalTest::stopTests(), GUIMainWindow::storeWindowSizeAndPos(), FileBucket::SUMO_CONFIG, and TLF.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleComputeNetworkData | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when toggle checkbox compute network when switching between supermodes
Definition at line 2679 of file GNEApplicationWindow.cpp.
References MFXMenuCheckIcon::getCheck(), GNEApplicationWindowHelper::ProcessingMenuCommands::menuCheckRecomputeDataMode, and myProcessingMenuCommands.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleDrawJunctionShape | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user press key combination Ctrl + J to toggle draw junction shape
Definition at line 2584 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdToggleDrawJunctionShape().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleEditOptions | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | |||
| ) |
called if the user press key combination Alt + <0-9>
Definition at line 2621 of file GNEApplicationWindow.cpp.
References GNEViewNet::getDataViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::DataViewOptions::getVisibleDataMenuCommands(), GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands(), GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands(), MID_HOTKEY_ALT_0_TOGGLEEDITOPTION, myViewNet, GNEApplicationWindowHelper::toggleEditOptionsData(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleFrontElement | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called if the user call toggle front element
Definition at line 2595 of file GNEApplicationWindow.cpp.
References GNEViewNetHelper::InspectedElements::getACs(), GNEInspectorFrame::getAttributesEditor(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEViewNet::getMarkFrontElements(), GNEAttributesEditor::getNeteditAttributesEditor(), GNEViewNet::getViewParent(), myViewNet, GNEAttributesEditorType::refreshAttributesEditor(), and GNEViewNetHelper::MarkFrontElements::unmarkAll().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleGrid | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user press key combination Ctrl + G to toggle grid
Definition at line 2573 of file GNEApplicationWindow.cpp.
References myViewNet, and GNEViewNet::onCmdToggleShowGrid().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleTimeFormat | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user press the toggle time format button
Definition at line 2483 of file GNEApplicationWindow.cpp.
References GNEContainerFrame::getContainerAttributesEditor(), GNEViewParent::getContainerFrame(), GNEViewParent::getInspectorFrame(), GNEPersonFrame::getPersonAttributesEditor(), GNEViewParent::getPersonFrame(), GNEViewNet::getTimeFormat(), GNEVehicleFrame::getVehicleAttributesEditor(), GNEViewParent::getVehicleFrame(), GNEViewNet::getViewParent(), myViewNet, GNEAttributesEditor::refreshAttributesEditor(), GNEInspectorFrame::refreshInspection(), and GNEViewNetHelper::TimeFormat::switchTimeFormat().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleUndoRedo | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when toggle checkbox disable undo redo (processing)
Definition at line 2689 of file GNEApplicationWindow.cpp.
References GNEUndoList::clear(), GNEApplicationWindowHelper::EditMenuCommands::menuCheckAllowUndoRedo, myAllowUndoRedo, myEditMenuCommands, and myUndoList.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleUndoRedoLoading | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when toggle checkbox disable undo redo during loading (file)
Definition at line 2703 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileMenuCommands::menuCheckAllowUndoRedoLoading, myAllowUndoRedoLoading, and myFileMenuCommands.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdToggleViewOption | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
toggle viewOption
Definition at line 3152 of file GNEApplicationWindow.cpp.
References MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWFILLEDWALKINGAREAS, 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_SHOWPOLYGONSYMBOLS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, GNEViewNet::onCmdToggleAutoOppositeEdge(), GNEViewNet::onCmdToggleChainEdges(), GNEViewNet::onCmdToggleChangeAllPhases(), GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdToggleExtendSelection(), GNEViewNet::onCmdToggleHideConnections(), GNEViewNet::onCmdToggleHideNonInspecteDemandElements(), GNEViewNet::onCmdToggleHideShapes(), GNEViewNet::onCmdToggleLockContainer(), GNEViewNet::onCmdToggleLockPerson(), GNEViewNet::onCmdToggleMergeAutomatically(), GNEViewNet::onCmdToggleMoveElevation(), GNEViewNet::onCmdToggleSelectEdges(), GNEViewNet::onCmdToggleShowAdditionals(), GNEViewNet::onCmdToggleShowAdditionalSubElements(), GNEViewNet::onCmdToggleShowAllContainerPlans(), GNEViewNet::onCmdToggleShowAllPersonPlans(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdToggleShowGrid(), GNEViewNet::onCmdToggleShowJunctionBubbles(), GNEViewNet::onCmdToggleShowOverlappedRoutes(), GNEViewNet::onCmdToggleShowPolygonSymbols(), GNEViewNet::onCmdToggleShowShapes(), GNEViewNet::onCmdToggleShowTAZElements(), GNEViewNet::onCmdToggleShowTrips(), GNEViewNet::onCmdToggleTAZRelDrawing(), GNEViewNet::onCmdToggleTAZRelOnlyFrom(), and GNEViewNet::onCmdToggleTAZRelOnlyTo().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdTutorial | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called if the user selects help->Tutorial
Definition at line 2715 of file GNEApplicationWindow.cpp.
References MFXLinkLabel::fxexecute().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onCmdUndo | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when user press Ctrl+Z
Definition at line 2784 of file GNEApplicationWindow.cpp.
References GNEViewNet::aksChangeSupermode(), GNEViewNetHelper::EditModes::currentSupermode, DATA, GNEViewParent::getCurrentShownFrame(), GNEViewNet::getEditModes(), GNEViewNet::getUndoList(), GNEUndoList::getUndoSupermode(), GNEViewNet::getViewParent(), myEditMenuCommands, myFileBucketHandler, myInternalTest, myViewNet, onUpdRedo(), onUpdUndo(), GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, TL, GNEUndoList::undo(), GNEApplicationWindowHelper::EditMenuCommands::undoLastChange, GNEFrame::updateFrameAfterUndoRedo(), GNEApplicationWindowHelper::FileBucketHandler::updateOptions(), and GNEViewParent::updateUndoRedoButtons().
Referenced by FXDEFMAP().
|
inherited |
called when a coordinate field in the status bar loses focus
Definition at line 410 of file GUIMainWindow.cpp.
Referenced by FXDEFMAP(), and FXDEFMAP().
| long GNEApplicationWindow::onCmdUnlockAllElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
called when user press unlock all elements button
Definition at line 2188 of file GNEApplicationWindow.cpp.
References GNEViewNet::getLockManager(), myLockMenuCommands, myViewNet, GNEApplicationWindowHelper::LockMenuCommands::unlockAll(), and GNEViewNetHelper::LockManager::updateFlags().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onKeyPress | ( | FXObject * | o, |
| FXSelector | sel, | ||
| void * | data | ||
| ) |
called when a key is pressed
Definition at line 5428 of file GNEApplicationWindow.cpp.
References GUIMainWindow::getActiveView(), GUIMainWindow::myCartesianCoordinate, GUIMainWindow::myGeoCoordinate, GUIMainWindow::myMDIClient, GNEViewParent::onKeyPress(), and GUISUMOAbstractView::updatePositionInformationLabel().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onKeyRelease | ( | FXObject * | o, |
| FXSelector | sel, | ||
| void * | data | ||
| ) |
called when a key is released
Definition at line 5458 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myMDIClient, and GNEViewParent::onKeyRelease().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onLoadThreadEvent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall load thread is executed
Definition at line 1370 of file GNEApplicationWindow.cpp.
References eventOccurred().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 644 of file GUIMainWindow.cpp.
References GUIIconSubSys::getIcon(), gLanguage, GUIDesignTextColorBlack, GUIDesignTextColorBlue, LANGUAGE_DE, LANGUAGE_EN, LANGUAGE_ES, LANGUAGE_FR, LANGUAGE_IT, LANGUAGE_JA, LANGUAGE_KO, LANGUAGE_PT, LANGUAGE_TR, LANGUAGE_ZH, and LANGUAGE_ZHT.
Referenced by FXDEFMAP(), and FXDEFMAP().
| long GNEApplicationWindow::onUpdComputePathManager | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the update/FXCall compute path manager is executed
Definition at line 3130 of file GNEApplicationWindow.cpp.
References GNENet::getDemandPathManager(), GNEViewNet::getEditModes(), GNEViewNet::getNet(), GNEPathManager::getPathCalculator(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdLockMenuTitle | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
enable or disable lock menu title
Definition at line 2206 of file GNEApplicationWindow.cpp.
References DATA_DELETE, DATA_INSPECT, DATA_SELECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_SELECT, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNet::getEditModes(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), myLockMenuTitle, myViewNet, NETWORK_CONNECT, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_SELECT, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdNeedsFrontElement | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall needs front element is executed
Definition at line 2959 of file GNEApplicationWindow.cpp.
References GNEViewNetHelper::InspectedElements::getACs(), GNEViewNetHelper::MarkFrontElements::getACs(), GNEViewNet::getInspectedElements(), GNEViewNet::getMarkFrontElements(), myEditMenuCommands, myViewNet, TL, and GNEApplicationWindowHelper::EditMenuCommands::toggleFrontElement.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdNeedsNetwork | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall needs network is executed
Definition at line 2935 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileMenuCommands::disableMenuCascades(), GNEApplicationWindowHelper::FileMenuCommands::enableMenuCascades(), myFileMenuCommands, and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdNeedsNetworkElement | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall needs at least one network element is executed
Definition at line 2948 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdOpen | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall on update open executed
Definition at line 1328 of file GNEApplicationWindow.cpp.
References myAmLoading.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdOpenUndoListDialog | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2858 of file GNEApplicationWindow.cpp.
References myEditMenuCommands, myNet, GNEApplicationWindowHelper::EditMenuCommands::redoLastChange, and GNEApplicationWindowHelper::EditMenuCommands::undoLastChange.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdPythonTool | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall python tool is updated
Definition at line 1321 of file GNEApplicationWindow.cpp.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdRedo | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the update/FXCall redo is executed
Definition at line 3124 of file GNEApplicationWindow.cpp.
References myUndoList, and GNEUndoList::onUpdRedo().
Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().
| long GNEApplicationWindow::onUpdReloadAdditionalElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload additionals is updated
Definition at line 4182 of file GNEApplicationWindow.cpp.
References FileBucket::ADDITIONAL, GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadDataElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload data elements is updated
Definition at line 4578 of file GNEApplicationWindow.cpp.
References FileBucket::DATA, GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadDemandElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload demand elements is updated
Definition at line 4393 of file GNEApplicationWindow.cpp.
References FileBucket::DEMAND, GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadEdgeTypes | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload edge types is updated
Definition at line 1060 of file GNEApplicationWindow.cpp.
References FileBucket::EDGETYPE, GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadMeanDataElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload meanDatas is updated
Definition at line 4750 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), FileBucket::MEANDATA, myFileBucketHandler, and myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadNeteditConfig | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload netedit config is updated
Definition at line 973 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myViewNet, and FileBucket::NETEDIT_CONFIG.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadNetwork | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall network reload is executed
Definition at line 1222 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, FileBucket::NETEDIT_CONFIG, FileBucket::NETWORK, and FileBucket::SUMO_CONFIG.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadSumoConfig | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload SumoConfig is updated
Definition at line 984 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myViewNet, and FileBucket::SUMO_CONFIG.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdReloadTLSPrograms | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall reload TLS programs is updated
Definition at line 1022 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myViewNet, and FileBucket::TLS.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdRequireRecomputing | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
update label for require recomputing
Definition at line 2533 of file GNEApplicationWindow.cpp.
References updateRecomputingLabel().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdRequireViewNet | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
enable or disable sender object depending if viewNet exist
Definition at line 2526 of file GNEApplicationWindow.cpp.
References myViewNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveAdditionalElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save additionals is executed
Definition at line 3004 of file GNEApplicationWindow.cpp.
References GNENet::getSavingStatus(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSaveChangesModule(), GNENet::getViewParent(), GNENetHelper::SavingStatus::isAdditionalsSaved(), GNETAZFrame::TAZSaveChanges::isChangesPending(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveAdditionalElementsUnified | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save additionals unified is executed
Definition at line 3016 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getNumberOfAdditionals(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveDataElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save data elements is executed
Definition at line 3067 of file GNEApplicationWindow.cpp.
References GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDataElementsSaved(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveDataElementsUnified | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save data elements unified is executed
Definition at line 3080 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDataSets(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveDemandElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save demand elements is executed
Definition at line 3042 of file GNEApplicationWindow.cpp.
References GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isDemandElementsSaved(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveDemandElementsUnified | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save demand elements unified is executed
Definition at line 3055 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getNumberOfDemandElements(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveEdgeTypes | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save edge types is updated
Definition at line 4047 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdgeTypes(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveJuPedSimElementsAs | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save juPedSim as is executed
Definition at line 3028 of file GNEApplicationWindow.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNENet::getAttributeCarriers(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveMeanDataElements | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save meanDatas is executed
Definition at line 3093 of file GNEApplicationWindow.cpp.
References GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isMeanDatasSaved(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveMeanDataElementsUnified | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save meanDatas unified is executed
Definition at line 3105 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getNumberOfMeanDatas(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveNeteditConfig | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save netedit config is updated
Definition at line 3802 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNEViewNet::getSaveElements(), GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isAdditionalsSaved(), GNENetHelper::SavingStatus::isDataElementsSaved(), GNENetHelper::SavingStatus::isDemandElementsSaved(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNENetHelper::SavingStatus::isMeanDatasSaved(), GNENetHelper::SavingStatus::isNeteditConfigSaved(), myFileBucketHandler, myNet, myViewNet, FileBucket::NETEDIT_CONFIG, and GNEViewNetHelper::SaveElements::setSaveIndividualFiles().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveNeteditConfigAs | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save netedit config as is updated
Definition at line 3830 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveNetwork | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall save network is executed
Definition at line 2992 of file GNEApplicationWindow.cpp.
References GNENet::getSavingStatus(), GNENetHelper::SavingStatus::isNetworkSaved(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveSumoConfig | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save SumoConfig is updated
Definition at line 3949 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNENet::getSavingStatus(), GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), GNENetHelper::SavingStatus::isSumoConfigSaved(), myFileBucketHandler, myNet, and FileBucket::SUMO_CONFIG.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveSumoConfigAs | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save SumoConfig as is updated
Definition at line 3966 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSaveTLSPrograms | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the command/FXCall save TLSPrograms is updated
Definition at line 4005 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getJunctions(), and myNet.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdSmartReload | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
called when the update/FXCall smart reload is executed
Definition at line 1150 of file GNEApplicationWindow.cpp.
References GNEApplicationWindowHelper::FileBucketHandler::isFilenameDefined(), myFileBucketHandler, myNet, myStartedWithNewNet, FileBucket::NETEDIT_CONFIG, FileBucket::NETWORK, FileBucket::SUMO_CONFIG, and TL.
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdToggleTimeFormat | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
update toggle time format button
Definition at line 2507 of file GNEApplicationWindow.cpp.
References GNEViewNet::getTimeFormat(), myViewNet, and GNEViewNetHelper::TimeFormat::updateButtonLabel().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdToggleViewOption | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | |||
| ) |
update viewOption
Definition at line 3244 of file GNEApplicationWindow.cpp.
References MFXCheckableButton::amChecked(), GNEViewNet::getDataViewOptions(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getNetworkViewOptions(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::NetworkViewOptions::menuCheckMergeAutomatically, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::NetworkViewOptions::menuCheckShowPolygonSymbols, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, 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_SHOWPOLYGONSYMBOLS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, and MFXMenuCheckIcon::setCheck().
Referenced by FXDEFMAP().
| long GNEApplicationWindow::onUpdUndo | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
called when the update/FXCall undo is executed
Definition at line 3118 of file GNEApplicationWindow.cpp.
References myUndoList, and GNEUndoList::onUpdUndo().
Referenced by FXDEFMAP(), onCmdRedo(), and onCmdUndo().
|
privatedelete |
Invalidated assignment operator.
|
staticinherited |
parse cartesian coordinate string ("x, y" or "x:... y:...")
Definition at line 301 of file GUIMainWindow.cpp.
References StringTokenizer::hasNext(), StringTokenizer::next(), StringUtils::prune(), and StringUtils::to_lower_case().
Referenced by GUIMainWindow::onCmdSetCartesianCoordinate().
|
staticinherited |
parse geo coordinate string ("lat, lon" or "lat:... lon:...")
Definition at line 239 of file GUIMainWindow.cpp.
References StringTokenizer::hasNext(), StringTokenizer::next(), StringUtils::prune(), and StringUtils::to_lower_case().
Referenced by GUIMainWindow::onCmdSetGeoCoordinate().
|
inherited |
removes the given child window from the list (FXMainWindow)
Definition at line 131 of file GUIMainWindow.cpp.
References GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIDialog_Breakpoints::~GUIDialog_Breakpoints(), GUIDialog_ChooserAbstract::~GUIDialog_ChooserAbstract(), GUIDialog_GLChosenEditor::~GUIDialog_GLChosenEditor(), GUIParameterTableWindow::~GUIParameterTableWindow(), GUIParameterTracker::~GUIParameterTracker(), and GUITLLogicPhasesTrackerWindow::~GUITLLogicPhasesTrackerWindow().
|
inherited |
removes the given child window from the list (GUIGlChildWindow)
Definition at line 113 of file GUIMainWindow.cpp.
References GUIMainWindow::myGLWindows, and GUIMainWindow::myGLWindowsLock.
Referenced by GUIMainWindow::removeViewByID(), GNEViewParent::~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
inherited |
Definition at line 169 of file GUIMainWindow.cpp.
References GUIMainWindow::getViewByID(), and GUIMainWindow::removeGLChild().
Referenced by GUIApplicationWindow::eventOccurred().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIApplicationWindow.
Definition at line 211 of file GUIMainWindow.h.
Referenced by GUIViewTraffic::retrieveBreakpoints().
|
inlinevirtualinherited |
Sends an event from the application thread to the GUI and waits until it is handled.
| event | the event to send |
Reimplemented in GUIApplicationWindow.
Definition at line 183 of file GUIMainWindow.h.
References UNUSED_PARAMETER.
|
inlinevirtualinherited |
Sets the breakpoints of the parent application.
Reimplemented in GUIApplicationWindow.
Definition at line 168 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::setBreakpoints().
|
inlinevirtualinherited |
Sets the delay of the parent application.
Reimplemented in GUIApplicationWindow.
Definition at line 165 of file GUIMainWindow.h.
Referenced by GUISUMOAbstractView::setDelay().
| void GNEApplicationWindow::setExternalRunner | ( | GNEExternalRunner * | externalRunner | ) |
set external runner
Definition at line 2061 of file GNEApplicationWindow.cpp.
References myExternalRunner.
Referenced by GNEExternalRunner::GNEExternalRunner().
|
virtual |
set text of the statusBar
Reimplemented from GUIMainWindow.
Definition at line 2009 of file GNEApplicationWindow.cpp.
References GUIMainWindow::myStatusbar.
Referenced by GNENet::computeDataElements(), GNENet::computeDemandElements(), GNENet::computeNetwork(), createNewNetwork(), dependentBuild(), handleEvent_FileLoaded(), loadConfiguration(), loadNetwork(), loadOptionOnStartup(), loadOSM(), onCmdReloadNetwork(), and onCmdSmartReload().
|
protectedinherited |
perform initial window positioning and sizing according to user options / previous call
Definition at line 478 of file GUIMainWindow.cpp.
References OptionsCont::getOptions(), OptionsCont::getStringVector(), OptionsCont::isSet(), MAX2(), MIN2(), TL, StringUtils::toInt(), toString(), and WRITE_ERROR.
Referenced by GUIApplicationWindow::create(), create(), handleEvent_FileLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
protectedinherited |
record window position and size in registry
Definition at line 518 of file GUIMainWindow.cpp.
References GUIMainWindow::myAmFullScreen.
Referenced by createNewNetwork(), GUIApplicationWindow::loadConfigOrNet(), loadConfiguration(), loadNetwork(), loadOSM(), GUIApplicationWindow::onCmdQuit(), onCmdQuit(), GUIApplicationWindow::onCmdReload(), onCmdReloadNetwork(), and onCmdSmartReload().
|
inherited |
update childrens
Definition at line 196 of file GUIMainWindow.cpp.
References GUIMainWindow::myMDIClient, GUIMainWindow::myTrackerLock, and GUIMainWindow::myTrackerWindows.
Referenced by GUIApplicationWindow::handleEvent_SimulationEnded(), GUIApplicationWindow::handleEvent_SimulationStep(), GUIDialog_GLChosenEditor::onCmdClear(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIDialog_GLChosenEditor::onCmdLoad(), and GUIApplicationWindow::setBreakpoints().
| void GNEApplicationWindow::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 4904 of file GNEApplicationWindow.cpp.
References myViewNet, GNEViewNet::updateControls(), and updateRecomputingLabel().
Referenced by computeJunctionWithVolatileOptions(), onCmdProcessButton(), GNEUndoList::redo(), and GNEUndoList::undo().
| void GNEApplicationWindow::updateRecomputingLabel | ( | ) |
update recomputing label
Definition at line 1773 of file GNEApplicationWindow.cpp.
References GNENet::getAttributeCarriers(), GUIIconSubSys::getIcon(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getNet(), GNENet::isNetRecomputed(), myNet, myRequireRecomputingButton, myViewNet, OK, TL, and WARNING.
Referenced by onUpdRequireRecomputing(), and updateControls().
| void GNEApplicationWindow::updateSuperModeMenuCommands | ( | const Supermode | supermode | ) |
update FXMenuCommands depending of supermode
Definition at line 4915 of file GNEApplicationWindow.cpp.
References DATA, GNEApplicationWindowHelper::ModesMenuCommands::dataMenuCommands, DEMAND, GNEApplicationWindowHelper::ModesMenuCommands::demandMenuCommands, GNEViewNet::getEditModes(), GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::hideDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::hideDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::hideNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::hideNetworkMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideNetworkProcessingMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::hideSeparator(), GNEViewNetHelper::EditModes::isDefaultView(), GNEViewNetHelper::EditModes::isJuPedSimView(), myLockMenuCommands, myModesMenuCommands, myProcessingMenuCommands, mySupermodeCommands, myViewNet, NETWORK, GNEApplicationWindowHelper::ModesMenuCommands::networkMenuCommands, GNEApplicationWindowHelper::LockMenuCommands::removeHotkeys(), GNEApplicationWindowHelper::SupermodeCommands::setDefaultView(), GNEApplicationWindowHelper::ModesMenuCommands::setDefaultView(), GNEApplicationWindowHelper::SupermodeCommands::setJuPedSimView(), GNEApplicationWindowHelper::ModesMenuCommands::setJuPedSimView(), GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::showDataMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDataProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::showDemandMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showDemandProcessingMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::showNetworkLockMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::showNetworkMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::showNetworkProcessingMenuCommands(), and GNEApplicationWindowHelper::ProcessingMenuCommands::showSeparator().
|
private |
allow undo-redo (read from registry)
Definition at line 850 of file GNEApplicationWindow.h.
Referenced by isUndoRedoAllowed(), loadAdditionalElements(), loadDataElements(), loadDemandElements(), loadMeanDataElements(), onCmdOpenAdditionalElements(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenMeanDataElements(), and onCmdToggleUndoRedo().
|
private |
allow undo-redo loading (read from registry)
Definition at line 853 of file GNEApplicationWindow.h.
Referenced by loadAdditionalElements(), loadDataElements(), loadDemandElements(), loadMeanDataElements(), onCmdOpenAdditionalElements(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenMeanDataElements(), onCmdReloadAdditionalElements(), onCmdReloadDataElements(), onCmdReloadDemandElements(), onCmdReloadMeanDataElements(), and onCmdToggleUndoRedoLoading().
|
protectedinherited |
FOX need this.
whether to show the window in full screen mode
Definition at line 226 of file GUIMainWindow.h.
Referenced by GUIMainWindow::isFullScreen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), and GUIMainWindow::storeWindowSizeAndPos().
|
protectedinherited |
information whether the gui is currently in gaming mode
Definition at line 285 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep(), GUIMainWindow::isGaming(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onKeyPress(), GUIApplicationWindow::updateTimeLCD(), and GUIApplicationWindow::updateTimeLCDTooltip().
|
private |
information whether the gui is currently loading and the load-options shall be greyed out
Definition at line 701 of file GNEApplicationWindow.h.
Referenced by createNewNetwork(), handleEvent_FileLoaded(), loadConfiguration(), loadNetwork(), loadOptionOnStartup(), loadOSM(), onCmdOpenRecent(), onCmdReloadNetwork(), onCmdSmartReload(), and onUpdOpen().
|
protectedinherited |
Font used for popup-menu titles.
Definition at line 244 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getBoldFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Definition at line 271 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
Coordinate fields for the current cartesian, geo-coordinate and test coordinates.
Definition at line 256 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), dependentBuild(), GUIApplicationWindow::dependentBuild(), GUIMainWindow::getCartesianLabel(), GUIMainWindow::onCmdSetCartesianCoordinate(), GUIApplicationWindow::onKeyPress(), and onKeyPress().
|
protectedinherited |
Definition at line 262 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), dependentBuild(), and GUIApplicationWindow::dependentBuild().
|
private |
Input file pattern.
Definition at line 780 of file GNEApplicationWindow.h.
|
private |
flag for check if console options was already loaded
Definition at line 801 of file GNEApplicationWindow.h.
Referenced by consoleOptionsLoaded().
|
private |
Definition at line 716 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Edit Menu Commands.
Definition at line 817 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getEditMenuCommands(), handleEvent_FileLoaded(), onCmdClose(), onCmdOpenSUMOGUI(), onCmdRedo(), onCmdToggleUndoRedo(), onCmdUndo(), onUpdNeedsFrontElement(), and onUpdOpenUndoListDialog().
|
protected |
external runner for running external tools
Definition at line 691 of file GNEApplicationWindow.h.
Referenced by getExternalRunner(), and setExternalRunner().
|
protectedinherited |
Fallback font for extended characters support.
Definition at line 247 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getFallbackFont(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
private |
saving files handler
Definition at line 841 of file GNEApplicationWindow.h.
Referenced by checkMeanDataFileBucket(), closeAllWindows(), getFileBucketHandler(), loadAdditionalElements(), loadDataElements(), loadDemandElements(), loadEdgeTypes(), loadMeanDataElements(), loadNetwork(), loadOptionOnStartup(), loadTrafficLights(), onCmdOpenAdditionalElements(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenEdgeTypes(), onCmdOpenForeign(), onCmdOpenMeanDataElements(), onCmdOpenNetconvertConfig(), onCmdOpenNeteditConfig(), onCmdOpenNetwork(), onCmdOpenSumoConfig(), onCmdOpenSUMOGUI(), onCmdOpenTLSPrograms(), onCmdRedo(), onCmdReloadNeteditConfig(), onCmdReloadNetwork(), onCmdReloadSumoConfig(), onCmdSaveAdditionalElements(), onCmdSaveAdditionalElementsAs(), onCmdSaveAdditionalElementsUnified(), onCmdSaveDataElements(), onCmdSaveDataElementsAs(), onCmdSaveDataElementsUnified(), onCmdSaveDemandElements(), onCmdSaveDemandElementsAs(), onCmdSaveDemandElementsUnified(), onCmdSaveEdgeTypes(), onCmdSaveEdgeTypesAs(), onCmdSaveJoinedJunctionsAs(), onCmdSaveJuPedSimElementsAs(), onCmdSaveMeanDataElements(), onCmdSaveMeanDataElementsAs(), onCmdSaveMeanDataElementsUnified(), onCmdSaveNeteditConfig(), onCmdSaveNeteditConfigAs(), onCmdSaveNetwork(), onCmdSaveNetworkAs(), onCmdSavePlainXML(), onCmdSavePlainXMLAs(), onCmdSaveSumoConfig(), onCmdSaveSumoConfigAs(), onCmdSaveTLSPrograms(), onCmdSaveTLSProgramsAs(), onCmdSmartReload(), onCmdUndo(), onUpdReloadAdditionalElements(), onUpdReloadDataElements(), onUpdReloadDemandElements(), onUpdReloadEdgeTypes(), onUpdReloadMeanDataElements(), onUpdReloadNeteditConfig(), onUpdReloadNetwork(), onUpdReloadSumoConfig(), onUpdReloadTLSPrograms(), onUpdSaveNeteditConfig(), onUpdSaveSumoConfig(), and onUpdSmartReload().
|
private |
the submenus
Definition at line 704 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 709 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
File Menu Commands.
Definition at line 811 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getFileMenuCommands(), onCmdToggleUndoRedoLoading(), and onUpdNeedsNetwork().
|
private |
Definition at line 711 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 710 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 708 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 712 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 705 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 714 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 713 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 706 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 707 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
protectedinherited |
Definition at line 257 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), dependentBuild(), GUIApplicationWindow::dependentBuild(), GUIMainWindow::getGeoLabel(), GUIMainWindow::onCmdSetGeoCoordinate(), GUIApplicationWindow::onKeyPress(), and onKeyPress().
|
protectedinherited |
Definition at line 263 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::create(), create(), dependentBuild(), and GUIApplicationWindow::dependentBuild().
|
protectedinherited |
The gl-visual used.
Definition at line 267 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getGLVisual(), ~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().
|
protectedinherited |
list of GLWindows
Definition at line 229 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::getActiveView(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::onCmdEditViewport(), GUIApplicationWindow::onCmdEditViewScheme(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdOpenInNetedit(), and GUIMainWindow::removeGLChild().
|
mutableprotectedinherited |
A lock to make the access to the GLWindows thread safe (they are also accessed by the simulation thread)
Definition at line 232 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addGLChild(), GUIMainWindow::getViewByID(), GUIMainWindow::getViewIDs(), GUIMainWindow::getViews(), and GUIMainWindow::removeGLChild().
|
private |
check if had dependent build
Definition at line 768 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
private |
Definition at line 741 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Help Menu Commands.
Definition at line 835 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
staticprotectedinherited |
the singleton window instance
Definition at line 300 of file GUIMainWindow.h.
Referenced by GUIMainWindow::getInstance(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
| GNEInternalTest* GNEApplicationWindow::myInternalTest = nullptr |
internal test system
Definition at line 698 of file GNEApplicationWindow.h.
Referenced by allowInputSignals(), dependentBuild(), getInternalTest(), loadNetwork(), onCmdOpenNetconvertConfig(), onCmdOpenNeteditConfig(), onCmdOpenSumoConfig(), onCmdRedo(), onCmdReloadNeteditConfig(), onCmdReloadNetwork(), onCmdReloadSumoConfig(), onCmdRunTests(), onCmdSmartReload(), onCmdUndo(), and ~GNEApplicationWindow().
|
protectedinherited |
Language menu common to all applications.
Definition at line 276 of file GUIMainWindow.h.
Referenced by GUIMainWindow::buildLanguageMenu(), GUIApplicationWindow::create(), ~GNEApplicationWindow(), and GUIApplicationWindow::~GUIApplicationWindow().
|
protectedinherited |
Definition at line 272 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
information whether the locator should list internal structures
Definition at line 288 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listInternal(), and GUIApplicationWindow::onCmdListInternal().
|
protectedinherited |
information whether the locator should list parking vehicles
Definition at line 291 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::fillMenuBar(), GUIMainWindow::listParking(), and GUIApplicationWindow::onCmdListParking().
|
protectedinherited |
information whether the locator should list teleporting vehicles
Definition at line 294 of file GUIMainWindow.h.
Referenced by GUIMainWindow::listTeleporting(), and GUIApplicationWindow::onCmdListTeleporting().
|
protected |
the thread that loads the network
Definition at line 694 of file GNEApplicationWindow.h.
Referenced by createNewNetwork(), dependentBuild(), loadConfiguration(), loadNetwork(), loadOptionOnStartup(), loadOSM(), onCmdOpenNetconvertConfig(), onCmdOpenNeteditConfig(), onCmdOpenSumoConfig(), onCmdReloadNeteditConfig(), onCmdReloadNetwork(), onCmdReloadSumoConfig(), onCmdSmartReload(), and ~GNEApplicationWindow().
|
private |
io-event with the load-thread
Definition at line 765 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
private |
Locate Menu Commands.
Definition at line 826 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
private |
Definition at line 719 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 717 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Lock Menu Commands.
Definition at line 820 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getLockMenuCommands(), onCmdLockAllElements(), onCmdLockElements(), onCmdUnlockAllElements(), and updateSuperModeMenuCommands().
|
private |
menu title for lock
Definition at line 750 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and onUpdLockMenuTitle().
|
private |
The splitter that divides the main window into view and the log window.
Definition at line 756 of file GNEApplicationWindow.h.
Referenced by dependentBuild().
|
protectedinherited |
The multi view panel.
Definition at line 250 of file GUIMainWindow.h.
Referenced by dependentBuild(), GUIApplicationWindow::dependentBuild(), GUIApplicationWindow::fillMenuBar(), GUIMainWindow::getActiveView(), GUIApplicationWindow::getBuildGLCanvas(), handleEvent_FileLoaded(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdLocate(), onCmdLocate(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), GUIApplicationWindow::onCmdToggleSecondaryShape(), GUIApplicationWindow::onKeyPress(), onKeyPress(), GUIApplicationWindow::onKeyRelease(), onKeyRelease(), GUIApplicationWindow::openNewView(), and GUIMainWindow::updateChildren().
|
private |
The menu used for the MDI-windows.
Definition at line 859 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), and handleEvent_FileLoaded().
|
private |
MenuBarFile.
Definition at line 808 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), loadConfiguration(), loadNetwork(), loadOptionOnStartup(), onCmdSaveNeteditConfig(), onCmdSaveNetwork(), and onCmdSaveSumoConfig().
|
private |
map with menu pane tools and strings
Definition at line 744 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
private |
A window to display messages, warnings and error in.
Definition at line 753 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), fillMenuBar(), handleEvent_FileLoaded(), handleEvent_Message(), onCmdClearMsgWindow(), onCmdClose(), onCmdSaveEdgeTypes(), onCmdSaveNetwork(), and onCmdSaveTLSPrograms().
|
private |
Definition at line 715 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Modes Menu Commands.
Definition at line 814 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getModesMenuCommands(), onCmdClose(), and updateSuperModeMenuCommands().
|
private |
menu title for modes
Definition at line 747 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
private |
we are responsible for the net
Definition at line 774 of file GNEApplicationWindow.h.
Referenced by askSaveElements(), checkMeanDataFileBucket(), closeAllWindows(), computeJunctionWithVolatileOptions(), handleEvent_FileLoaded(), loadAdditionalElements(), loadDataElements(), loadDemandElements(), loadEdgeTypes(), loadMeanDataElements(), loadTrafficLights(), onCmdOpenAdditionalElements(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenMeanDataElements(), onCmdOpenOptionsDialog(), onCmdOpenSUMOGUI(), onCmdOpenSumoOptionsDialog(), onCmdProcessButton(), onCmdReloadAdditionalElements(), onCmdReloadDataElements(), onCmdReloadDemandElements(), onCmdReloadMeanDataElements(), onCmdSaveAdditionalElements(), onCmdSaveAdditionalElementsUnified(), onCmdSaveDataElements(), onCmdSaveDataElementsUnified(), onCmdSaveDemandElements(), onCmdSaveDemandElementsUnified(), onCmdSaveEdgeTypes(), onCmdSaveEdgeTypesAs(), onCmdSaveJoinedJunctionsAs(), onCmdSaveJuPedSimElementsAs(), onCmdSaveMeanDataElements(), onCmdSaveMeanDataElementsUnified(), onCmdSaveNeteditConfig(), onCmdSaveNeteditConfigAs(), onCmdSaveNetwork(), onCmdSaveNetworkAs(), onCmdSavePlainXML(), onCmdSaveSumoConfig(), onCmdSaveSumoConfigAs(), onCmdSaveTLSPrograms(), onCmdSaveTLSProgramsAs(), onUpdNeedsNetwork(), onUpdNeedsNetworkElement(), onUpdOpenUndoListDialog(), onUpdReloadNetwork(), onUpdSaveAdditionalElements(), onUpdSaveAdditionalElementsUnified(), onUpdSaveDataElements(), onUpdSaveDataElementsUnified(), onUpdSaveDemandElements(), onUpdSaveDemandElementsUnified(), onUpdSaveEdgeTypes(), onUpdSaveJuPedSimElementsAs(), onUpdSaveMeanDataElements(), onUpdSaveMeanDataElementsUnified(), onUpdSaveNeteditConfig(), onUpdSaveNeteditConfigAs(), onUpdSaveNetwork(), onUpdSaveSumoConfig(), onUpdSaveSumoConfigAs(), onUpdSaveTLSPrograms(), onUpdSmartReload(), and updateRecomputingLabel().
|
private |
netgenerate options container
Definition at line 795 of file GNEApplicationWindow.h.
Referenced by getNetgenerateOptions(), GNEApplicationWindow(), onCmdNewWindow(), onCmdOpenNetgenerateOptionsDialog(), and onCmdRunNetgenerate().
|
protectedinherited |
default Font (after scaling)
Definition at line 241 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
online mapping services for the context menu
Definition at line 297 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addOnlineMap(), GUIApplicationWindow::create(), create(), and GUIMainWindow::getOnlineMaps().
|
private |
original netedit options container
Definition at line 786 of file GNEApplicationWindow.h.
Referenced by GNEApplicationWindow(), loadOSM(), and onCmdOpenOptionsDialog().
|
private |
original netgenerate options container
Definition at line 798 of file GNEApplicationWindow.h.
Referenced by GNEApplicationWindow(), and onCmdOpenNetgenerateOptionsDialog().
|
private |
original sumo options container
Definition at line 792 of file GNEApplicationWindow.h.
Referenced by GNEApplicationWindow(), and onCmdOpenSumoOptionsDialog().
|
private |
Definition at line 718 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Processing Menu Commands.
Definition at line 823 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), getProcessingMenuCommands(), onCmdToggleComputeNetworkData(), and updateSuperModeMenuCommands().
|
private |
Button used for show if recomputing is needed.
Definition at line 759 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), and updateRecomputingLabel().
|
protectedinherited |
Definition at line 273 of file GUIMainWindow.h.
Referenced by GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
private |
flag for checking if netedit was started with a new network
Definition at line 856 of file GNEApplicationWindow.h.
Referenced by handleEvent_FileLoaded(), loadOptionOnStartup(), onCmdNewNetwork(), onCmdSmartReload(), and onUpdSmartReload().
|
protectedinherited |
static toolTip used in menus
Definition at line 279 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::buildToolBars(), dependentBuild(), GUIMainWindow::getStaticTooltipMenu(), GUIMainWindow::GUIMainWindow(), GUIApplicationWindow::onCmdShowToolTipsMenu(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
static toolTip used in view
Definition at line 282 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::buildToolBars(), GUIMainWindow::getStaticTooltipView(), GUIMainWindow::GUIMainWindow(), GUIApplicationWindow::onCmdShowToolTipsView(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
The status bar.
Definition at line 253 of file GUIMainWindow.h.
Referenced by dependentBuild(), GUIApplicationWindow::dependentBuild(), GUIApplicationWindow::fillMenuBar(), fillMenuBar(), GUIApplicationWindow::onCmdFullScreen(), GUIApplicationWindow::onCmdGaming(), GUIApplicationWindow::onCmdOpenRecent(), onCmdOpenRecent(), GUIApplicationWindow::onCmdStart(), GUIApplicationWindow::onCmdStep(), GUIApplicationWindow::openNewView(), setStatusBarText(), and GUIApplicationWindow::setStatusBarText().
|
private |
sumo options container
Definition at line 789 of file GNEApplicationWindow.h.
Referenced by getSumoOptions(), GNEApplicationWindow(), onCmdOpenSumoOptionsDialog(), onCmdSaveNeteditConfig(), and onCmdSaveSumoConfig().
|
private |
Supermode Commands.
Definition at line 838 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and updateSuperModeMenuCommands().
|
private |
tagProperties database
Definition at line 771 of file GNEApplicationWindow.h.
Referenced by getTagPropertiesDatabase().
|
protectedinherited |
Definition at line 258 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::closeAllWindows(), closeAllWindows(), dependentBuild(), and GUIMainWindow::getTestLabel().
|
protectedinherited |
Definition at line 264 of file GUIMainWindow.h.
Referenced by closeAllWindows(), GUIApplicationWindow::create(), dependentBuild(), and GUIMainWindow::getTestFrame().
|
private |
List of load requests.
Definition at line 762 of file GNEApplicationWindow.h.
Referenced by dependentBuild(), eventOccurred(), and ~GNEApplicationWindow().
|
private |
the prefix for the window title
Definition at line 847 of file GNEApplicationWindow.h.
Referenced by closeAllWindows(), dependentBuild(), handleEvent_FileLoaded(), and onCmdSaveNetworkAs().
|
private |
Toolbars Grip.
Definition at line 805 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and getToolbarsGrip().
|
private |
Definition at line 721 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
private |
Definition at line 722 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 723 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 724 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 725 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 727 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 728 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 726 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 729 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 730 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 720 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Tools Menu Commands.
Definition at line 829 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), onCmdOpenPythonToolDialog(), onCmdPostProcessingPythonTool(), and onCmdRunPythonTool().
|
private |
Definition at line 731 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 733 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 732 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 734 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 735 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 736 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().
|
private |
Definition at line 737 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 738 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Definition at line 739 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
protectedinherited |
dock sites
Definition at line 270 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::buildToolBars(), GUIApplicationWindow::dependentBuild(), GUIMainWindow::getTopDock(), GUIMainWindow::GUIMainWindow(), and GUIMainWindow::~GUIMainWindow().
|
protectedinherited |
frames for coordinates
Definition at line 261 of file GUIMainWindow.h.
Referenced by GUIApplicationWindow::dependentBuild(), and GUIApplicationWindow::onUpdTraCIStatus().
|
protectedinherited |
A lock to make the removal and addition of trackers secure.
Definition at line 238 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
protectedinherited |
list of tracker windows
Definition at line 235 of file GUIMainWindow.h.
Referenced by GUIMainWindow::addChild(), GUIApplicationWindow::closeAllWindows(), closeAllWindows(), GUIMainWindow::removeChild(), and GUIMainWindow::updateChildren().
|
private |
the one and only undo list
Definition at line 777 of file GNEApplicationWindow.h.
Referenced by clearUndoList(), getUndoList(), handleEvent_FileLoaded(), loadAdditionalElements(), loadDataElements(), loadDemandElements(), loadEdgeTypes(), loadMeanDataElements(), loadTrafficLights(), onCmdOpenAdditionalElements(), onCmdOpenDataElements(), onCmdOpenDemandElements(), onCmdOpenMeanDataElements(), onCmdProcessButton(), onCmdReloadAdditionalElements(), onCmdReloadDataElements(), onCmdReloadDemandElements(), onCmdReloadMeanDataElements(), onCmdSaveAdditionalElementsUnified(), onCmdSaveDataElementsUnified(), onCmdSaveDemandElementsUnified(), onCmdSaveMeanDataElementsUnified(), onCmdToggleUndoRedo(), onUpdRedo(), onUpdUndo(), and ~GNEApplicationWindow().
|
private |
string to check if undo/redo list is enabled (a String is used to keep the disabling reason)
Definition at line 783 of file GNEApplicationWindow.h.
Referenced by disableUndoRedoTemporally(), enableUndoRedoTemporally(), and isUndoRedoEnabledTemporally().
|
private |
pointer to current view net
Definition at line 844 of file GNEApplicationWindow.h.
Referenced by askSaveElements(), clearUndoList(), closeAllWindows(), getShowToolTipsMenu(), getShowToolTipsView(), getViewNet(), handleEvent_FileLoaded(), loadEdgeTypes(), onCmdAbort(), onCmdBackspace(), onCmdClearSelectionShortcut(), onCmdClearTemplate(), onCmdClose(), onCmdComputePathManager(), onCmdCopyTemplate(), onCmdDel(), onCmdEditViewport(), onCmdEditViewScheme(), onCmdEnter(), onCmdFocusFrame(), onCmdLockAllElements(), onCmdLockElements(), onCmdLockSelectElements(), onCmdOpenDataElements(), onCmdOpenSUMOGUI(), onCmdProcessButton(), onCmdRedo(), onCmdReloadDataElements(), onCmdSaveEdgeTypesAs(), onCmdSaveJoinedJunctionsAs(), onCmdSaveJuPedSimElementsAs(), onCmdSaveNetwork(), onCmdSavePlainXML(), onCmdSaveTLSPrograms(), onCmdSaveTLSProgramsAs(), onCmdSetMode(), onCmdSetSuperMode(), onCmdSetTemplate(), onCmdToggleDrawJunctionShape(), onCmdToggleEditOptions(), onCmdToggleFrontElement(), onCmdToggleGrid(), onCmdToggleTimeFormat(), onCmdToggleViewOption(), onCmdUndo(), onCmdUnlockAllElements(), onUpdComputePathManager(), onUpdLockMenuTitle(), onUpdNeedsFrontElement(), onUpdReloadAdditionalElements(), onUpdReloadDataElements(), onUpdReloadDemandElements(), onUpdReloadEdgeTypes(), onUpdReloadMeanDataElements(), onUpdReloadNeteditConfig(), onUpdReloadSumoConfig(), onUpdReloadTLSPrograms(), onUpdRequireViewNet(), onUpdSaveNeteditConfig(), onUpdToggleTimeFormat(), onUpdToggleViewOption(), updateControls(), updateRecomputingLabel(), and updateSuperModeMenuCommands().
|
private |
Definition at line 740 of file GNEApplicationWindow.h.
Referenced by fillMenuBar(), and ~GNEApplicationWindow().
|
private |
Windows Menu Commands.
Definition at line 832 of file GNEApplicationWindow.h.
Referenced by fillMenuBar().