Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIShortcutsSubSys.h>
Static Public Member Functions | |
static void | buildAccelerators (FXAccelTable *accelTable, FXObject *target, const bool sumogui) |
build accelerators | |
static void | changeAccelerator (FXAccelTable *accelTable, FXObject *target, GUIShortcut keysym, long msg) |
change accelerator (used for toggle dynamically binding space key with start/end simulation) | |
Static Private Member Functions | |
static int | parseKey (GUIShortcut key) |
static int | parseKey (GUIShortcut key, GUIShortcutModifier firstModifier) |
static int | parseKey (GUIShortcut key, GUIShortcutModifier firstModifier, GUIShortcutModifier secondModifier) |
Definition at line 31 of file GUIShortcutsSubSys.h.
|
static |
build accelerators
Definition at line 31 of file GUIShortcutsSubSys.cpp.
References KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_a, KEY_A, KEY_b, KEY_B, KEY_BACKSPACE, KEY_c, KEY_C, KEY_d, KEY_D, KEY_DEL, KEY_e, KEY_E, KEY_ENTER, KEY_ESC, KEY_f, KEY_F, KEY_F1, KEY_F10, KEY_F11, KEY_F12, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_g, KEY_G, KEY_h, KEY_H, KEY_i, KEY_I, KEY_j, KEY_J, KEY_k, KEY_K, KEY_l, KEY_L, KEY_m, KEY_M, KEY_n, KEY_N, KEY_o, KEY_O, KEY_p, KEY_P, KEY_q, KEY_Q, KEY_r, KEY_R, KEY_s, KEY_S, KEY_t, KEY_T, KEY_u, KEY_U, KEY_v, KEY_V, KEY_w, KEY_W, KEY_x, KEY_X, KEY_y, KEY_Y, KEY_z, KEY_Z, KEYMODIFIER_ALT, KEYMODIFIER_CONTROL, KEYMODIFIER_SHIFT, MID_HOTKEY_A_MODE_STARTSIMULATION_ADDITIONALS_STOPS, MID_HOTKEY_ALT_0_TOGGLEEDITOPTION, MID_HOTKEY_ALT_1_TOGGLEEDITOPTION, MID_HOTKEY_ALT_2_TOGGLEEDITOPTION, MID_HOTKEY_ALT_3_TOGGLEEDITOPTION, MID_HOTKEY_ALT_4_TOGGLEEDITOPTION, MID_HOTKEY_ALT_5_TOGGLEEDITOPTION, MID_HOTKEY_ALT_6_TOGGLEEDITOPTION, MID_HOTKEY_ALT_7_TOGGLEEDITOPTION, MID_HOTKEY_ALT_8_TOGGLEEDITOPTION, MID_HOTKEY_ALT_9_TOGGLEEDITOPTION, MID_HOTKEY_ALT_B_BREAKPOINT_EARLY, MID_HOTKEY_ALT_F4_CLOSE, MID_HOTKEY_B_BREAKPOINT, MID_HOTKEY_BACKSPACE, MID_HOTKEY_C_MODE_CONNECT_CONTAINER, MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS, MID_HOTKEY_CTRL_B_EDITBREAKPOINT_OPENDATAELEMENTS, MID_HOTKEY_CTRL_C_COPY, MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMANDELEMENTS, MID_HOTKEY_CTRL_E_EDITSELECTION_LOADNETEDITCONFIG, MID_HOTKEY_CTRL_F_FULSCREENMODE, MID_HOTKEY_CTRL_G_GAMINGMODE_TOGGLEGRID, MID_HOTKEY_CTRL_H_APPSETTINGS_OPENEDGETYPES, MID_HOTKEY_CTRL_I_EDITVIEWPORT, MID_HOTKEY_CTRL_J_TOGGLEDRAWJUNCTIONSHAPE, MID_HOTKEY_CTRL_K_OPENTLSPROGRAMS, MID_HOTKEY_CTRL_L_SAVEASPLAINXML, MID_HOTKEY_CTRL_M_OPENSUMOCONFIG, MID_HOTKEY_CTRL_N_OPENNETWORK_NEWNETWORK, MID_HOTKEY_CTRL_O_OPENSIMULATION_OPENNETWORK, MID_HOTKEY_CTRL_P_OPENSHAPES, MID_HOTKEY_CTRL_Q_CLOSE, MID_HOTKEY_CTRL_R_RELOAD, MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK, MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALS, MID_HOTKEY_CTRL_SHIFT_B_SAVEDATAELEMENTS, MID_HOTKEY_CTRL_SHIFT_C_SAVENETEDITCONFIG, MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMANDELEMENTS, MID_HOTKEY_CTRL_SHIFT_E_SAVENETEDITCONFIG, MID_HOTKEY_CTRL_SHIFT_H_SAVEEDGETYPES, MID_HOTKEY_CTRL_SHIFT_K_SAVETLS, MID_HOTKEY_CTRL_SHIFT_M_SAVEMEANDATAS, MID_HOTKEY_CTRL_SHIFT_N_NEWWINDOW, MID_HOTKEY_CTRL_SHIFT_O_OPENNETCONVERTFILE, MID_HOTKEY_CTRL_SHIFT_S_SAVESUMOCONFIG, MID_HOTKEY_CTRL_T_OPENNETEDIT_OPENSUMO, MID_HOTKEY_CTRL_U_OPENEDGEDATA, MID_HOTKEY_CTRL_V_PASTE, MID_HOTKEY_CTRL_W_CLOSESIMULATION, MID_HOTKEY_CTRL_X_CUT, MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_CTRL_Z_UNDO, MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE, MID_HOTKEY_DEL, MID_HOTKEY_E_MODE_EDGE_EDGEDATA, MID_HOTKEY_ENTER, MID_HOTKEY_ESC, MID_HOTKEY_F10_OPTIONSMENU, MID_HOTKEY_F11_FRONTELEMENT, MID_HOTKEY_F12_ABOUT, MID_HOTKEY_F1_ONLINEDOCUMENTATION, MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, 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_F9_EDIT_VIEWSCHEME, MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_L_MODE_PERSONPLAN, MID_HOTKEY_M_MODE_MOVE_MEANDATA, MID_HOTKEY_P_MODE_POLYGON_PERSON, MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL, MID_HOTKEY_SHIFT_C_LOCATECONTAINER, MID_HOTKEY_SHIFT_E_LOCATEEDGE, MID_HOTKEY_SHIFT_ESC_CLEARSELECTION, MID_HOTKEY_SHIFT_F10_SUMOOPTIONSMENU, MID_HOTKEY_SHIFT_F11_HALLOFFAME, MID_HOTKEY_SHIFT_F12_FOCUSUPPERELEMENT, MID_HOTKEY_SHIFT_F1_TEMPLATE_SET, MID_HOTKEY_SHIFT_F2_TEMPLATE_COPY, MID_HOTKEY_SHIFT_F3_TEMPLATE_CLEAR, MID_HOTKEY_SHIFT_F5_COMPUTEJUNCTIONS_VOLATILE, MID_HOTKEY_SHIFT_F7_ADJUST_PERSON_PLANS, MID_HOTKEY_SHIFT_J_LOCATEJUNCTION, MID_HOTKEY_SHIFT_L_LOCATEPOLY, MID_HOTKEY_SHIFT_O_LOCATEPOI, MID_HOTKEY_SHIFT_P_LOCATEPERSON, MID_HOTKEY_SHIFT_T_LOCATETLS, MID_HOTKEY_SHIFT_V_LOCATEVEHICLE, MID_HOTKEY_T_MODE_TLS_TYPE, MID_HOTKEY_U_MODE_DECAL_TYPEDISTRIBUTION, MID_HOTKEY_V_MODE_VEHICLE, MID_HOTKEY_W_MODE_WIRE_ROUTEDISTRIBUTION, MID_HOTKEY_Z_MODE_TAZ_TAZREL, and parseKey().
Referenced by GNEApplicationWindow::dependentBuild(), and GUIApplicationWindow::fillMenuBar().
|
static |
change accelerator (used for toggle dynamically binding space key with start/end simulation)
Definition at line 286 of file GUIShortcutsSubSys.cpp.
References parseKey().
Referenced by GUIApplicationWindow::onUpdStart(), and GUIApplicationWindow::onUpdStop().
|
staticprivate |
Definition at line 292 of file GUIShortcutsSubSys.cpp.
References KEY_0, KEY_9, KEY_a, KEY_A, KEY_BACKSPACE, KEY_DEL, KEY_ENTER, KEY_ESC, KEY_F1, KEY_F12, KEY_SPACE, KEY_z, and KEY_Z.
Referenced by buildAccelerators(), changeAccelerator(), parseKey(), and parseKey().
|
staticprivate |
Definition at line 319 of file GUIShortcutsSubSys.cpp.
References KEYMODIFIER_ALT, KEYMODIFIER_CONTROL, KEYMODIFIER_SHIFT, and parseKey().
|
staticprivate |
Definition at line 334 of file GUIShortcutsSubSys.cpp.
References KEYMODIFIER_ALT, KEYMODIFIER_CONTROL, KEYMODIFIER_SHIFT, and parseKey().