Freeciv-3.1
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Private Slots | Private Member Functions | Private Attributes
mr_menu Class Reference

#include <menu.h>

+ Inheritance diagram for mr_menu:

Public Member Functions

 mr_menu ()
 
void setup_menus ()
 
void menus_sensitive ()
 
void update_airlift_menu ()
 
void update_roads_menu ()
 
void update_bases_menu ()
 
void set_tile_for_order (struct tile *ptile)
 
void execute_shortcut (int sid)
 
QString shortcut_exist (fc_shortcut *fcs)
 
QString shortcut_2_menustring (int sid)
 

Data Fields

QAction * minimap_status
 
QAction * scale_fonts_status
 
QAction * lock_status
 
QAction * osd_status
 
QAction * btlog_status
 
QAction * chat_status
 
QAction * messages_status
 
bool delayed_order
 
bool quick_airlifting
 
Unit_type_id airlift_type_id
 

Private Slots

void local_options ()
 
void shortcut_options ()
 
void server_options ()
 
void messages_options ()
 
void save_options_now ()
 
void save_game ()
 
void save_game_as ()
 
void save_image ()
 
void tileset_custom_load ()
 
void load_new_tileset ()
 
void back_to_menu ()
 
bool confirm_disruptive_selection ()
 
void quit_game ()
 
void slot_help (const QString &topic)
 
void slot_build_path (int id)
 
void slot_build_base (int id)
 
void slot_build_city ()
 
void slot_auto_settler ()
 
void slot_build_road ()
 
void slot_build_irrigation ()
 
void slot_cultivate ()
 
void slot_build_mine ()
 
void slot_plant ()
 
void slot_conn_road ()
 
void slot_conn_rail ()
 
void slot_conn_maglev ()
 
void slot_conn_irrigation ()
 
void slot_transform ()
 
void slot_clean_pollution ()
 
void slot_clean_fallout ()
 
void slot_unit_sentry ()
 
void slot_unit_explore ()
 
void slot_unit_goto ()
 
void slot_airlift ()
 
void slot_return_to_city ()
 
void slot_patrol ()
 
void slot_unsentry ()
 
void slot_board ()
 
void slot_deboard ()
 
void slot_unload_all ()
 
void slot_set_home ()
 
void slot_upgrade ()
 
void slot_convert ()
 
void slot_disband ()
 
void slot_unit_fortify ()
 
void slot_unit_fortress ()
 
void slot_unit_airbase ()
 
void slot_pillage ()
 
void slot_action ()
 
void slot_center_view ()
 
void slot_minimap_view ()
 
void slot_show_new_turn_text ()
 
void slot_battlelog ()
 
void slot_fullscreen ()
 
void slot_lock ()
 
void slot_city_outlines ()
 
void slot_city_output ()
 
void slot_map_grid ()
 
void slot_borders ()
 
void slot_fullbar ()
 
void slot_native_tiles ()
 
void slot_city_growth ()
 
void slot_city_production ()
 
void slot_city_buycost ()
 
void slot_city_trade_routes ()
 
void slot_stack_size ()
 
void slot_city_names ()
 
void zoom_in ()
 
void zoom_scale_fonts ()
 
void zoom_reset ()
 
void zoom_out ()
 
void slot_select_one ()
 
void slot_select_all_tile ()
 
void slot_select_same_tile ()
 
void slot_select_same_continent ()
 
void slot_select_same_everywhere ()
 
void slot_done_moving ()
 
void slot_wait ()
 
void slot_unit_filter ()
 
void slot_orders_clear ()
 
void slot_execute_orders ()
 
void slot_delayed_goto ()
 
void slot_trade_add_all ()
 
void slot_trade_city ()
 
void slot_calculate ()
 
void slot_clear_trade ()
 
void slot_autocaravan ()
 
void slot_rally ()
 
void slot_quickairlift_set ()
 
void slot_quickairlift ()
 
void slot_action_vs_unit ()
 
void slot_action_vs_city ()
 
void slot_show_map ()
 
void calc_trade_routes ()
 
void slot_popup_tax_rates ()
 
void slot_popup_mult_rates ()
 
void slot_show_eco_report ()
 
void slot_show_units_report ()
 
void slot_show_nations ()
 
void slot_show_cities ()
 
void slot_show_research_tab ()
 
void slot_spaceship ()
 
void slot_demographics ()
 
void slot_achievements ()
 
void slot_endgame ()
 
void slot_top_five ()
 
void slot_traveler ()
 
void slot_bg1select ()
 
void slot_bg1assign ()
 
void slot_bg1append ()
 
void slot_bg2select ()
 
void slot_bg2assign ()
 
void slot_bg2append ()
 
void slot_bg3select ()
 
void slot_bg3assign ()
 
void slot_bg3append ()
 
void slot_bg4select ()
 
void slot_bg4assign ()
 
void slot_bg4append ()
 

Private Member Functions

struct tilefind_last_unit_pos (struct unit *punit, int pos)
 
bool execute_shortcut_inner (const QMenu *m, QKeySequence seq)
 
bool shortcut_exist_inner (const QMenu *m, QKeySequence seq, fc_shortcut *fcs, QString *ret)
 
bool shortcut_2_menustring_inner (const QMenu *m, QKeySequence seq, QString *ret)
 

Private Attributes

QMenu * airlift_menu
 
QMenu * bases_menu
 
QMenu * multiplayer_menu
 
QMenu * roads_menu
 
QActionGroup * airlift_type
 
QActionGroup * action_vs_city
 
QActionGroup * action_vs_unit
 
QMenu * action_unit_menu
 
QMenu * action_city_menu
 
QMultiHash< munit, QAction * > menu_list
 
qfc_units_list units_list
 

Detailed Description

Definition at line 258 of file menu.h.

Constructor & Destructor Documentation

◆ mr_menu()

mr_menu::mr_menu ( )

Constructor for global menubar in gameview

Definition at line 947 of file menu.cpp.

Member Function Documentation

◆ back_to_menu

void mr_menu::back_to_menu ( )
privateslot

Back to Main Menu

Definition at line 3865 of file menu.cpp.

Referenced by setup_menus().

◆ calc_trade_routes

void mr_menu::calc_trade_routes ( )
privateslot

Action "Calculate trade routes"

Definition at line 3666 of file menu.cpp.

◆ confirm_disruptive_selection

bool mr_menu::confirm_disruptive_selection ( )
privateslot

Prompt to confirm disruptive selection

Definition at line 3890 of file menu.cpp.

Referenced by slot_select_same_continent(), and slot_select_same_everywhere().

◆ execute_shortcut()

void mr_menu::execute_shortcut ( int  sid)

Finds QAction bounded to given shortcut and triggers it

Definition at line 1814 of file menu.cpp.

◆ execute_shortcut_inner()

bool mr_menu::execute_shortcut_inner ( const QMenu *  m,
QKeySequence  seq 
)
private

Inner foreach() loop of mr_menu::execute_shortcut() Implemented as separate function to avoid shadow warnings about internal variables of foreach() inside foreach()

Definition at line 1799 of file menu.cpp.

Referenced by execute_shortcut().

◆ find_last_unit_pos()

struct tile * mr_menu::find_last_unit_pos ( struct unit punit,
int  pos 
)
private

Predicts last unit position

Definition at line 905 of file menu.cpp.

Referenced by slot_execute_orders().

◆ load_new_tileset

void mr_menu::load_new_tileset ( )
privateslot

Slot for loading new tileset

Definition at line 3651 of file menu.cpp.

Referenced by tileset_custom_load().

◆ local_options

void mr_menu::local_options ( )
privateslot

Invoke dialog with local options

Definition at line 3732 of file menu.cpp.

Referenced by setup_menus().

◆ menus_sensitive()

void mr_menu::menus_sensitive ( )

Enables/disables menu items and renames them depending on key in menu_list

Disable first all sensitive menus

Definition at line 2053 of file menu.cpp.

◆ messages_options

void mr_menu::messages_options ( )
privateslot

Invoke dialog with server options

Definition at line 3756 of file menu.cpp.

Referenced by setup_menus().

◆ quit_game

void mr_menu::quit_game ( )
privateslot

Invoke popup for quiting game

Definition at line 3772 of file menu.cpp.

Referenced by setup_menus().

◆ save_game

void mr_menu::save_game ( )
privateslot

Menu Save Game

Definition at line 3830 of file menu.cpp.

Referenced by setup_menus().

◆ save_game_as

void mr_menu::save_game_as ( )
privateslot

Menu Save Game As...

Definition at line 3838 of file menu.cpp.

Referenced by setup_menus().

◆ save_image

void mr_menu::save_image ( )
privateslot

Menu Save Map Image

Definition at line 3780 of file menu.cpp.

Referenced by setup_menus().

◆ save_options_now

void mr_menu::save_options_now ( )
privateslot

Menu Save Options Now

Definition at line 3764 of file menu.cpp.

Referenced by setup_menus().

◆ server_options

void mr_menu::server_options ( )
privateslot

Invoke dialog with server options

Definition at line 3748 of file menu.cpp.

Referenced by setup_menus().

◆ set_tile_for_order()

void mr_menu::set_tile_for_order ( struct tile ptile)

Sets given tile for delayed order

Definition at line 1787 of file menu.cpp.

◆ setup_menus()

void mr_menu::setup_menus ( )

Initializes menu system, and add custom enum(munit) for most of options Notice that if you set option for QAction->setChecked(option) it will check/uncheck automatically without any intervention

Definition at line 956 of file menu.cpp.

◆ shortcut_2_menustring()

QString mr_menu::shortcut_2_menustring ( int  sid)

Returns string bounded to given shortcut

Definition at line 1899 of file menu.cpp.

◆ shortcut_2_menustring_inner()

bool mr_menu::shortcut_2_menustring_inner ( const QMenu *  m,
QKeySequence  seq,
QString *  ret 
)
private

Inner foreach() loop of mr_menu::shortcut_2_menustring() Implemented as separate function to avoid shadow warnings about internal variables of foreach() inside foreach()

Definition at line 1881 of file menu.cpp.

Referenced by shortcut_2_menustring().

◆ shortcut_exist()

QString mr_menu::shortcut_exist ( fc_shortcut fcs)

Returns string assigned to shortcut or empty string if doesn't exist

Definition at line 1858 of file menu.cpp.

◆ shortcut_exist_inner()

bool mr_menu::shortcut_exist_inner ( const QMenu *  m,
QKeySequence  seq,
fc_shortcut fcs,
QString *  ret 
)
private

Inner foreach() loop of mr_menu::shortcut_exist() Implemented as separate function to avoid shadow warnings about internal variables of foreach() inside foreach()

Definition at line 1841 of file menu.cpp.

Referenced by shortcut_exist().

◆ shortcut_options

void mr_menu::shortcut_options ( )
privateslot

Invoke dialog with shortcut options

Definition at line 3740 of file menu.cpp.

Referenced by setup_menus().

◆ slot_achievements

void mr_menu::slot_achievements ( )
privateslot

Action "SHOW ACHIEVEMENTS REPORT"

Definition at line 3483 of file menu.cpp.

Referenced by setup_menus().

◆ slot_action

void mr_menu::slot_action ( )
privateslot

Do... the selected action

Definition at line 2763 of file menu.cpp.

Referenced by setup_menus().

◆ slot_action_vs_city

void mr_menu::slot_action_vs_city ( )
privateslot

Slot for choosing default action vs city

Definition at line 2985 of file menu.cpp.

Referenced by setup_menus().

◆ slot_action_vs_unit

void mr_menu::slot_action_vs_unit ( )
privateslot

Slot for choosing default action vs unit

Definition at line 2974 of file menu.cpp.

Referenced by setup_menus().

◆ slot_airlift

void mr_menu::slot_airlift ( )
privateslot

Action "GOTO/AIRLIFT TO CITY"

Definition at line 3098 of file menu.cpp.

Referenced by setup_menus().

◆ slot_auto_settler

void mr_menu::slot_auto_settler ( )
privateslot

Action "AUTO_SETTLER"

Definition at line 2771 of file menu.cpp.

Referenced by setup_menus().

◆ slot_autocaravan

void mr_menu::slot_autocaravan ( )
privateslot

Sends automatic caravan

Definition at line 2919 of file menu.cpp.

Referenced by setup_menus().

◆ slot_battlelog

void mr_menu::slot_battlelog ( )
privateslot

Action "Show/Dont battle log"

Definition at line 3244 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg1append

void mr_menu::slot_bg1append ( )
privateslot

Append Battle Group 1

Definition at line 3531 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg1assign

void mr_menu::slot_bg1assign ( )
privateslot

Assign Battle Group 1

Definition at line 3523 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg1select

void mr_menu::slot_bg1select ( )
privateslot

Select Battle Group 1

Definition at line 3515 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg2append

void mr_menu::slot_bg2append ( )
privateslot

Append Battle Group 2

Definition at line 3555 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg2assign

void mr_menu::slot_bg2assign ( )
privateslot

Assign Battle Group 2

Definition at line 3547 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg2select

void mr_menu::slot_bg2select ( )
privateslot

Select Battle Group 2

Definition at line 3539 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg3append

void mr_menu::slot_bg3append ( )
privateslot

Append Battle Group 3

Definition at line 3579 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg3assign

void mr_menu::slot_bg3assign ( )
privateslot

Assign Battle Group 3

Definition at line 3571 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg3select

void mr_menu::slot_bg3select ( )
privateslot

Select Battle Group 3

Definition at line 3563 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg4append

void mr_menu::slot_bg4append ( )
privateslot

Append Battle Group 4

Definition at line 3603 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg4assign

void mr_menu::slot_bg4assign ( )
privateslot

Assign Battle Group 4

Definition at line 3595 of file menu.cpp.

Referenced by setup_menus().

◆ slot_bg4select

void mr_menu::slot_bg4select ( )
privateslot

Select Battle Group 4

Definition at line 3587 of file menu.cpp.

Referenced by setup_menus().

◆ slot_board

void mr_menu::slot_board ( )
privateslot

Action "BOARD INTO TRANSPORTER"

Definition at line 3070 of file menu.cpp.

Referenced by setup_menus().

◆ slot_borders

void mr_menu::slot_borders ( )
privateslot

Action "SHOW BORDERS"

Definition at line 3256 of file menu.cpp.

Referenced by setup_menus().

◆ slot_build_base

void mr_menu::slot_build_base ( int  id)
privateslot

Definition at line 3714 of file menu.cpp.

Referenced by update_bases_menu().

◆ slot_build_city

void mr_menu::slot_build_city ( )
privateslot

Action "BUILD_CITY"

Definition at line 2622 of file menu.cpp.

Referenced by setup_menus().

◆ slot_build_irrigation

void mr_menu::slot_build_irrigation ( )
privateslot

Action "BUILD_IRRIGATION"

Definition at line 2805 of file menu.cpp.

Referenced by setup_menus().

◆ slot_build_mine

void mr_menu::slot_build_mine ( )
privateslot

Action "BUILD_MINE"

Definition at line 2821 of file menu.cpp.

Referenced by setup_menus().

◆ slot_build_path

void mr_menu::slot_build_path ( int  id)
privateslot

Definition at line 3698 of file menu.cpp.

Referenced by update_roads_menu().

◆ slot_build_road

void mr_menu::slot_build_road ( )
privateslot

Action "BUILD_ROAD"

Definition at line 2779 of file menu.cpp.

Referenced by setup_menus().

◆ slot_calculate

void mr_menu::slot_calculate ( )
privateslot

Trade calculation slot

Definition at line 2903 of file menu.cpp.

Referenced by setup_menus().

◆ slot_center_view

void mr_menu::slot_center_view ( )
privateslot

Action "CENTER VIEW"

Definition at line 3164 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_buycost

void mr_menu::slot_city_buycost ( )
privateslot

Action "SHOW BUY COST"

Definition at line 3272 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_growth

void mr_menu::slot_city_growth ( )
privateslot

Action "SHOW CITY GROWTH"

Definition at line 3280 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_names

void mr_menu::slot_city_names ( )
privateslot

Action "SHOW CITY NAMES"

Definition at line 3341 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_outlines

void mr_menu::slot_city_outlines ( )
privateslot

Action "SHOW CITY OUTLINES"

Definition at line 3349 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_output

void mr_menu::slot_city_output ( )
privateslot

Action "SHOW CITY OUTPUT"

Definition at line 3357 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_production

void mr_menu::slot_city_production ( )
privateslot

Action "SHOW CITY PRODUCTION"

Definition at line 3365 of file menu.cpp.

Referenced by setup_menus().

◆ slot_city_trade_routes

void mr_menu::slot_city_trade_routes ( )
privateslot

Action "SHOW CITY TRADE ROUTES"

Definition at line 3373 of file menu.cpp.

Referenced by setup_menus().

◆ slot_clean_fallout

void mr_menu::slot_clean_fallout ( )
privateslot

Action "CLEAN FALLOUT"

Definition at line 2640 of file menu.cpp.

Referenced by setup_menus().

◆ slot_clean_pollution

void mr_menu::slot_clean_pollution ( )
privateslot

Action "CLEAN POLLUTION and PARADROP"

Definition at line 2648 of file menu.cpp.

Referenced by setup_menus().

◆ slot_clear_trade

void mr_menu::slot_clear_trade ( )
privateslot

Slot for clearing trade routes

Definition at line 2911 of file menu.cpp.

Referenced by setup_menus().

◆ slot_conn_irrigation

void mr_menu::slot_conn_irrigation ( )
privateslot

Action "CONNECT WITH IRRIGATION"

Definition at line 2670 of file menu.cpp.

Referenced by setup_menus().

◆ slot_conn_maglev

void mr_menu::slot_conn_maglev ( )
privateslot

Action "CONNECT WITH MAGLEV"

Definition at line 2701 of file menu.cpp.

Referenced by setup_menus().

◆ slot_conn_rail

void mr_menu::slot_conn_rail ( )
privateslot

Action "CONNECT WITH RAILROAD"

Definition at line 2686 of file menu.cpp.

Referenced by setup_menus().

◆ slot_conn_road

void mr_menu::slot_conn_road ( )
privateslot

Action "CONNECT WITH ROAD"

Definition at line 2732 of file menu.cpp.

Referenced by setup_menus().

◆ slot_convert

void mr_menu::slot_convert ( )
privateslot

Action "CONVERT"

Definition at line 2853 of file menu.cpp.

Referenced by setup_menus().

◆ slot_cultivate

void mr_menu::slot_cultivate ( )
privateslot

Action "CULTIVATE"

Definition at line 2813 of file menu.cpp.

Referenced by setup_menus().

◆ slot_deboard

void mr_menu::slot_deboard ( )
privateslot

Action "DEBOARD FROM TRANSPORTED"

Definition at line 3114 of file menu.cpp.

Referenced by setup_menus().

◆ slot_delayed_goto

void mr_menu::slot_delayed_goto ( )
privateslot

Delayed goto

Definition at line 3004 of file menu.cpp.

Referenced by setup_menus().

◆ slot_demographics

void mr_menu::slot_demographics ( )
privateslot

Action "SHOW DEMOGRAPGHICS REPORT"

Definition at line 3475 of file menu.cpp.

Referenced by setup_menus().

◆ slot_disband

void mr_menu::slot_disband ( )
privateslot

Action "DISBAND UNIT"

Definition at line 2861 of file menu.cpp.

Referenced by setup_menus().

◆ slot_done_moving

void mr_menu::slot_done_moving ( )
privateslot

Action "DONE MOVING"

Definition at line 3405 of file menu.cpp.

Referenced by setup_menus().

◆ slot_endgame

void mr_menu::slot_endgame ( )
privateslot

Action "SHOW ENDGAME REPORT"

Definition at line 3491 of file menu.cpp.

Referenced by setup_menus().

◆ slot_execute_orders

void mr_menu::slot_execute_orders ( )
privateslot

Executes stored orders

Definition at line 3035 of file menu.cpp.

Referenced by setup_menus().

◆ slot_fullbar

void mr_menu::slot_fullbar ( )
privateslot

Action "SHOW FULLBAR"

Definition at line 3389 of file menu.cpp.

Referenced by setup_menus().

◆ slot_fullscreen

void mr_menu::slot_fullscreen ( )
privateslot

Action "SET FULLSCREEN"

Definition at line 3210 of file menu.cpp.

Referenced by setup_menus().

◆ slot_help

void mr_menu::slot_help ( const QString &  topic)
privateslot

Actions "HELP_*"

Definition at line 3690 of file menu.cpp.

Referenced by setup_menus().

◆ slot_lock

void mr_menu::slot_lock ( )
privateslot

Action "Lock interface"

Definition at line 3172 of file menu.cpp.

Referenced by setup_menus().

◆ slot_map_grid

void mr_menu::slot_map_grid ( )
privateslot

Action "SHOW MAP GRID"

Definition at line 3397 of file menu.cpp.

Referenced by setup_menus().

◆ slot_minimap_view

void mr_menu::slot_minimap_view ( )
privateslot

Action "VIEW/HIDE MINIMAP"

Definition at line 3220 of file menu.cpp.

Referenced by setup_menus().

◆ slot_native_tiles

void mr_menu::slot_native_tiles ( )
privateslot

Action "SHOW NATIVE TILES"

Definition at line 3264 of file menu.cpp.

Referenced by setup_menus().

◆ slot_orders_clear

void mr_menu::slot_orders_clear ( )
privateslot

Clears delayed orders

Definition at line 2869 of file menu.cpp.

Referenced by setup_menus().

◆ slot_patrol

void mr_menu::slot_patrol ( )
privateslot

Action "UNIT PATROL"

Definition at line 3080 of file menu.cpp.

Referenced by setup_menus().

◆ slot_pillage

void mr_menu::slot_pillage ( )
privateslot

Action "PILLAGE"

Definition at line 2755 of file menu.cpp.

Referenced by setup_menus().

◆ slot_plant

void mr_menu::slot_plant ( )
privateslot

Action "PLANT"

Definition at line 2829 of file menu.cpp.

Referenced by setup_menus().

◆ slot_popup_mult_rates

void mr_menu::slot_popup_mult_rates ( )
privateslot

Action "MULTIPLERS RATES"

Definition at line 3682 of file menu.cpp.

Referenced by setup_menus().

◆ slot_popup_tax_rates

void mr_menu::slot_popup_tax_rates ( )
privateslot

Action "TAX RATES"

Definition at line 3674 of file menu.cpp.

Referenced by setup_menus().

◆ slot_quickairlift

void mr_menu::slot_quickairlift ( )
privateslot

Slot for quick airlifting

Definition at line 2996 of file menu.cpp.

Referenced by setup_menus().

◆ slot_quickairlift_set

void mr_menu::slot_quickairlift_set ( )
privateslot

Slot for setting quick airlift

Definition at line 2961 of file menu.cpp.

Referenced by update_airlift_menu().

◆ slot_rally

void mr_menu::slot_rally ( )
privateslot

Sets/unset rally point

Definition at line 2878 of file menu.cpp.

Referenced by setup_menus().

◆ slot_return_to_city

void mr_menu::slot_return_to_city ( )
privateslot

Action "RETURN TO NEAREST CITY"

Definition at line 3088 of file menu.cpp.

Referenced by setup_menus().

◆ slot_select_all_tile

void mr_menu::slot_select_all_tile ( )
privateslot

Action "SELECT ALL UNITS ON TILE"

Definition at line 3413 of file menu.cpp.

Referenced by setup_menus().

◆ slot_select_one

void mr_menu::slot_select_one ( )
privateslot

Action "SELECT ONE UNITS/DESELECT OTHERS"

Definition at line 3421 of file menu.cpp.

Referenced by setup_menus().

◆ slot_select_same_continent

void mr_menu::slot_select_same_continent ( )
privateslot

Action "SELECT SAME UNITS ON CONTINENT"

Definition at line 3429 of file menu.cpp.

Referenced by setup_menus().

◆ slot_select_same_everywhere

void mr_menu::slot_select_same_everywhere ( )
privateslot

Action "SELECT SAME TYPE EVERYWHERE"

Definition at line 3439 of file menu.cpp.

Referenced by setup_menus().

◆ slot_select_same_tile

void mr_menu::slot_select_same_tile ( )
privateslot

Action "SELECT SAME TYPE ON TILE"

Definition at line 3449 of file menu.cpp.

Referenced by setup_menus().

◆ slot_set_home

void mr_menu::slot_set_home ( )
privateslot

Action "SET HOMECITY"

Definition at line 3106 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_cities

void mr_menu::slot_show_cities ( )
privateslot

Slot for showing cities report

Definition at line 2614 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_eco_report

void mr_menu::slot_show_eco_report ( )
privateslot

Slot for showing economy tab

Definition at line 2582 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_map

void mr_menu::slot_show_map ( )
privateslot

Changes tab to mapview

Definition at line 2590 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_nations

void mr_menu::slot_show_nations ( )
privateslot

Slot for showing nations report

Definition at line 2606 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_new_turn_text

void mr_menu::slot_show_new_turn_text ( )
privateslot

Action "Show/Dont show new turn info"

Definition at line 3232 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_research_tab

void mr_menu::slot_show_research_tab ( )
privateslot

Slot for showing research tab

Definition at line 2564 of file menu.cpp.

Referenced by setup_menus().

◆ slot_show_units_report

void mr_menu::slot_show_units_report ( )
privateslot

Slot for showing units tab

Definition at line 2598 of file menu.cpp.

Referenced by setup_menus().

◆ slot_spaceship

void mr_menu::slot_spaceship ( )
privateslot

Slot for showing spaceship

Definition at line 2572 of file menu.cpp.

Referenced by setup_menus().

◆ slot_stack_size

void mr_menu::slot_stack_size ( )
privateslot

Action "SHOW UNIT STACK SIZE"

Definition at line 3381 of file menu.cpp.

Referenced by setup_menus().

◆ slot_top_five

void mr_menu::slot_top_five ( )
privateslot

Action "SHOW TOP FIVE CITIES"

Definition at line 3499 of file menu.cpp.

Referenced by setup_menus().

◆ slot_trade_add_all

void mr_menu::slot_trade_add_all ( )
privateslot

Adds all cities to trade planning

Definition at line 2895 of file menu.cpp.

Referenced by setup_menus().

◆ slot_trade_city

void mr_menu::slot_trade_city ( )
privateslot

Adds one city to trade planning

Definition at line 2887 of file menu.cpp.

Referenced by setup_menus().

◆ slot_transform

void mr_menu::slot_transform ( )
privateslot

Action "TRANSFROM TERRAIN"

Definition at line 2747 of file menu.cpp.

Referenced by setup_menus().

◆ slot_traveler

void mr_menu::slot_traveler ( )
privateslot

Action "SHOW WONDERS REPORT"

Definition at line 3507 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_airbase

void mr_menu::slot_unit_airbase ( )
privateslot

Action "BUILD AIRBASE"

Definition at line 2724 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_explore

void mr_menu::slot_unit_explore ( )
privateslot

Action "EXPLORE"

Definition at line 3156 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_filter

void mr_menu::slot_unit_filter ( )
privateslot

Shows units filter

Definition at line 3465 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_fortify

void mr_menu::slot_unit_fortify ( )
privateslot

Action "FORTIFY"

Definition at line 2837 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_fortress

void mr_menu::slot_unit_fortress ( )
privateslot

Action "BUILD FORTRESS"

Definition at line 2716 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unit_goto

void mr_menu::slot_unit_goto ( )
privateslot

Action "GOTO"

Definition at line 3148 of file menu.cpp.

Referenced by execute_shortcut(), and setup_menus().

◆ slot_unit_sentry

void mr_menu::slot_unit_sentry ( )
privateslot

Action "SENTRY"

Definition at line 2845 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unload_all

void mr_menu::slot_unload_all ( )
privateslot

Action "UNLOAD ALL UNITS FROM TRANSPORTER"

Definition at line 3124 of file menu.cpp.

Referenced by setup_menus().

◆ slot_unsentry

void mr_menu::slot_unsentry ( )
privateslot

Action "UNSENTRY(WAKEUP) ALL UNITS"

Definition at line 3132 of file menu.cpp.

Referenced by setup_menus().

◆ slot_upgrade

void mr_menu::slot_upgrade ( )
privateslot

Action "UPGRADE UNITS"

Definition at line 3140 of file menu.cpp.

Referenced by setup_menus().

◆ slot_wait

void mr_menu::slot_wait ( )
privateslot

Action "WAIT"

Definition at line 3457 of file menu.cpp.

Referenced by setup_menus().

◆ tileset_custom_load

void mr_menu::tileset_custom_load ( )
privateslot

Shows rulesets to load

Definition at line 3611 of file menu.cpp.

Referenced by setup_menus().

◆ update_airlift_menu()

void mr_menu::update_airlift_menu ( )

Updates airlift menu

Definition at line 1923 of file menu.cpp.

◆ update_bases_menu()

void mr_menu::update_bases_menu ( )

Definition at line 2006 of file menu.cpp.

◆ update_roads_menu()

void mr_menu::update_roads_menu ( )

Definition at line 1959 of file menu.cpp.

◆ zoom_in

void mr_menu::zoom_in ( )
privateslot

Action "RELOAD ZOOMED IN TILESET"

Definition at line 3288 of file menu.cpp.

Referenced by setup_menus().

◆ zoom_out

void mr_menu::zoom_out ( )
privateslot

Action "RELOAD ZOOMED OUT TILESET"

Definition at line 3332 of file menu.cpp.

Referenced by setup_menus().

◆ zoom_reset

void mr_menu::zoom_reset ( )
privateslot

Action "RESET ZOOM TO DEFAULT"

Definition at line 3297 of file menu.cpp.

Referenced by setup_menus().

◆ zoom_scale_fonts

void mr_menu::zoom_scale_fonts ( )
privateslot

Action "SCALE FONTS WHEN SCALING MAP"

Definition at line 3312 of file menu.cpp.

Referenced by setup_menus().

Field Documentation

◆ action_city_menu

QMenu* mr_menu::action_city_menu
private

Definition at line 269 of file menu.h.

Referenced by setup_menus().

◆ action_unit_menu

QMenu* mr_menu::action_unit_menu
private

Definition at line 268 of file menu.h.

Referenced by setup_menus().

◆ action_vs_city

QActionGroup* mr_menu::action_vs_city
private

Definition at line 266 of file menu.h.

Referenced by setup_menus().

◆ action_vs_unit

QActionGroup* mr_menu::action_vs_unit
private

Definition at line 267 of file menu.h.

Referenced by setup_menus().

◆ airlift_menu

QMenu* mr_menu::airlift_menu
private

Definition at line 261 of file menu.h.

Referenced by setup_menus(), and update_airlift_menu().

◆ airlift_type

QActionGroup* mr_menu::airlift_type
private

Definition at line 265 of file menu.h.

Referenced by setup_menus(), and update_airlift_menu().

◆ airlift_type_id

Unit_type_id mr_menu::airlift_type_id

Definition at line 292 of file menu.h.

Referenced by setup_menus(), slot_quickairlift_set(), and update_airlift_menu().

◆ bases_menu

QMenu* mr_menu::bases_menu
private

Definition at line 262 of file menu.h.

Referenced by setup_menus(), and update_bases_menu().

◆ btlog_status

QAction* mr_menu::btlog_status

Definition at line 287 of file menu.h.

Referenced by setup_menus(), and slot_battlelog().

◆ chat_status

QAction* mr_menu::chat_status

Definition at line 288 of file menu.h.

◆ delayed_order

bool mr_menu::delayed_order

Definition at line 290 of file menu.h.

Referenced by setup_menus(), slot_delayed_goto(), and slot_orders_clear().

◆ lock_status

QAction* mr_menu::lock_status

Definition at line 285 of file menu.h.

Referenced by setup_menus().

◆ menu_list

QMultiHash<munit, QAction*> mr_menu::menu_list
private

Definition at line 270 of file menu.h.

Referenced by menus_sensitive(), and setup_menus().

◆ messages_status

QAction* mr_menu::messages_status

Definition at line 289 of file menu.h.

◆ minimap_status

QAction* mr_menu::minimap_status

Definition at line 283 of file menu.h.

Referenced by setup_menus(), and slot_minimap_view().

◆ multiplayer_menu

QMenu* mr_menu::multiplayer_menu
private

Definition at line 263 of file menu.h.

Referenced by menus_sensitive(), and setup_menus().

◆ osd_status

QAction* mr_menu::osd_status

Definition at line 286 of file menu.h.

Referenced by setup_menus(), and slot_show_new_turn_text().

◆ quick_airlifting

bool mr_menu::quick_airlifting

Definition at line 291 of file menu.h.

Referenced by setup_menus(), and slot_quickairlift().

◆ roads_menu

QMenu* mr_menu::roads_menu
private

Definition at line 264 of file menu.h.

Referenced by setup_menus(), and update_roads_menu().

◆ scale_fonts_status

QAction* mr_menu::scale_fonts_status

Definition at line 284 of file menu.h.

Referenced by setup_menus(), and zoom_scale_fonts().

◆ units_list

qfc_units_list mr_menu::units_list
private