Freeciv21
Develop your civilization from humble roots to a global empire
shortcuts.h File Reference
#include <map>
#include <QDialog>
#include <QKeySequence>
#include <QKeySequenceEdit>
#include <QLineEdit>
#include <QPointer>
#include <QPushButton>
#include <QShortcut>
+ Include dependency graph for shortcuts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fc_shortcut
 
class  fc_shortcuts
 
class  shortcut_edit
 
class  fc_shortcuts_dialog
 

Enumerations

enum  shortcut_id {
  SC_SCROLL_MAP = 0 , SC_CENTER_VIEW = 1 , SC_FULLSCREEN = 2 , SC_MINIMAP = 3 ,
  SC_CITY_OUTPUT = 4 , SC_MAP_GRID = 5 , SC_NAT_BORDERS = 6 , SC_QUICK_BUY = 7 ,
  SC_QUICK_SELECT = 8 , SC_SELECT_BUTTON = 9 , SC_ADJUST_WORKERS = 10 , SC_APPEND_FOCUS = 11 ,
  SC_POPUP_INFO = 12 , SC_WAKEUP_SENTRIES = 13 , SC_MAKE_LINK = 14 , SC_PASTE_PROD = 15 ,
  SC_COPY_PROD = 16 , SC_HIDE_WORKERS = 17 , SC_SHOW_UNITS = 18 , SC_TRADE_ROUTES = 19 ,
  SC_CITY_PROD = 20 , SC_CITY_NAMES = 21 , SC_DONE_MOVING = 22 , SC_GOTOAIRLIFT = 23 ,
  SC_AUTOEXPLORE = 24 , SC_PATROL = 25 , SC_UNSENTRY_TILE = 26 , SC_DO = 27 ,
  SC_UPGRADE_UNIT = 28 , SC_SETHOME = 29 , SC_BUILDMINE = 30 , SC_PLANT = 31 ,
  SC_BUILDIRRIGATION = 32 , SC_CULTIVATE = 33 , SC_BUILDROAD = 34 , SC_BUILDCITY = 35 ,
  SC_SENTRY = 36 , SC_FORTIFY = 37 , SC_GOTO = 38 , SC_WAIT = 39 ,
  SC_TRANSFORM = 40 , SC_NUKE = 41 , SC_LOAD = 42 , SC_UNLOAD = 43 ,
  SC_BUY_MAP = 44 , SC_IFACE_LOCK = 45 , SC_AUTOMATE = 46 , SC_PARADROP = 47 ,
  SC_POPUP_COMB_INF = 48 , SC_RELOAD_THEME = 49 , SC_RELOAD_TILESET = 50 , SC_SHOW_FULLBAR = 51 ,
  SC_ZOOM_IN = 52 , SC_ZOOM_OUT = 53 , SC_LOAD_LUA = 54 , SC_RELOAD_LUA = 55 ,
  SC_ZOOM_RESET = 56 , SC_GOBUILDCITY = 57 , SC_GOJOINCITY = 58 , SC_PILLAGE = 59 ,
  SC_FALLOUT = 60
}
 

Functions

void popup_shortcuts_dialog ()
 Popups shortcut dialog. More...
 

Enumeration Type Documentation

◆ shortcut_id

Enumerator
SC_SCROLL_MAP 
SC_CENTER_VIEW 
SC_FULLSCREEN 
SC_MINIMAP 
SC_CITY_OUTPUT 
SC_MAP_GRID 
SC_NAT_BORDERS 
SC_QUICK_BUY 
SC_QUICK_SELECT 
SC_SELECT_BUTTON 
SC_ADJUST_WORKERS 
SC_APPEND_FOCUS 
SC_POPUP_INFO 
SC_WAKEUP_SENTRIES 
SC_MAKE_LINK 
SC_PASTE_PROD 
SC_COPY_PROD 
SC_HIDE_WORKERS 
SC_SHOW_UNITS 
SC_TRADE_ROUTES 
SC_CITY_PROD 
SC_CITY_NAMES 
SC_DONE_MOVING 
SC_GOTOAIRLIFT 
SC_AUTOEXPLORE 
SC_PATROL 
SC_UNSENTRY_TILE 
SC_DO 
SC_UPGRADE_UNIT 
SC_SETHOME 
SC_BUILDMINE 
SC_PLANT 
SC_BUILDIRRIGATION 
SC_CULTIVATE 
SC_BUILDROAD 
SC_BUILDCITY 
SC_SENTRY 
SC_FORTIFY 
SC_GOTO 
SC_WAIT 
SC_TRANSFORM 
SC_NUKE 
SC_LOAD 
SC_UNLOAD 
SC_BUY_MAP 
SC_IFACE_LOCK 
SC_AUTOMATE 
SC_PARADROP 
SC_POPUP_COMB_INF 
SC_RELOAD_THEME 
SC_RELOAD_TILESET 
SC_SHOW_FULLBAR 
SC_ZOOM_IN 
SC_ZOOM_OUT 
SC_LOAD_LUA 
SC_RELOAD_LUA 
SC_ZOOM_RESET 
SC_GOBUILDCITY 
SC_GOJOINCITY 
SC_PILLAGE 
SC_FALLOUT 

Definition at line 33 of file shortcuts.h.

Function Documentation

◆ popup_shortcuts_dialog()

void popup_shortcuts_dialog ( )

Popups shortcut dialog.

Definition at line 737 of file shortcuts.cpp.

Referenced by mr_menu::shortcut_options().