![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
Include dependency graph for qtg_cxxside.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | options_extra_init () |
| Extra initializers for client options. More... | |
| void | set_rulesets (int num_rulesets, QStringList rulesets) |
| Set the list of available rulesets. More... | |
| void | add_net_input (QIODevice *sock) |
| Wait for data on the given socket. More... | |
| void | real_conn_list_dialog_update (void *unused) |
| Update the connected users list at pregame state. More... | |
| void | sound_bell () |
| Make a bell noise (beep). More... | |
| void | real_set_client_page (client_pages page) |
| Sets the "page" that the client should show. More... | |
| client_pages | get_current_client_page () |
| Returns current client page. More... | |
| void | popup_combat_info (int attacker_unit_id, int defender_unit_id, int attacker_hp, int defender_hp, bool make_att_veteran, bool make_def_veteran) |
| Popup detailed information about battle or save information for some kind of statistics. More... | |
| void | real_focus_units_changed () |
| Called when the set of units in focus (get_units_in_focus()) changes. More... | |
| void | gui_update_font (const QString &font_name, const QFont &font_value) |
| Updates a gui font style. More... | |
| void | editgui_refresh () |
| Stub for editor function. More... | |
| void | editgui_notify_object_created (int tag, int id) |
| Stub for editor function. More... | |
| void | editgui_notify_object_changed (int objtype, int object_id, bool removal) |
| Stub for editor function. More... | |
| void | editgui_popup_properties (const tile_list *tiles, int objtype) |
| void | editgui_tileset_changed () |
| Stub for editor function. More... | |
| void | editgui_popdown_all () |
| Stub for editor function. More... | |
| void | start_turn () |
| New turn callback. More... | |
| void | real_city_dialog_popup (struct city *pcity) |
| Pop up (or bring to the front) a dialog for the given city. More... | |
| void | real_city_dialog_refresh (struct city *pcity) |
| Refresh (update) all data for the given city's dialog. More... | |
| void | popdown_city_dialog () |
| Closes the city overlay. More... | |
| bool | handmade_scenario_warning () |
| Give a warning when user is about to edit scenario with manually set properties. More... | |
| void | refresh_unit_city_dialogs (struct unit *punit) |
| Update city dialogs when the given unit's status changes. More... | |
| bool | city_dialog_is_open (struct city *pcity) |
| Return whether the dialog for the given city is open. More... | |
| bool | request_transport (struct unit *pcargo, struct tile *ptile) |
| Unit wants to get into some transport on given tile. More... | |
| void | gui_clear_theme () |
| Clears a theme (sets default system theme) More... | |
| QStringList | get_gui_specific_themes_directories (int *count) |
| Each gui has its own themes directories. More... | |
| void add_net_input | ( | QIODevice * | sock | ) |
Wait for data on the given socket.
Call input_from_server() when data is ready to be read.
This function is called after the client succesfully has connected to the server.
Definition at line 147 of file gui_main.cpp.
Referenced by make_connection().
| bool city_dialog_is_open | ( | struct city * | pcity | ) |
Return whether the dialog for the given city is open.
Definition at line 2338 of file citydlg.cpp.
Referenced by city_packet_common(), is_any_city_dialog_open(), and real_city_dialog_refresh().
| void editgui_notify_object_changed | ( | int | objtype, |
| int | object_id, | ||
| bool | removal | ||
| ) |
Stub for editor function.
Definition at line 265 of file gui_main.cpp.
Referenced by city_packet_common(), handle_city_remove(), handle_edit_startpos(), handle_edit_startpos_full(), handle_game_info(), handle_player_info(), handle_player_remove(), handle_research_info(), handle_scenario_description(), handle_scenario_info(), handle_tile_info(), handle_unit_packet_common(), and handle_unit_remove().
| void editgui_notify_object_created | ( | int | tag, |
| int | id | ||
| ) |
Stub for editor function.
Definition at line 272 of file gui_main.cpp.
Referenced by handle_edit_object_created(), and handle_edit_startpos().
| void editgui_popdown_all | ( | ) |
Stub for editor function.
Definition at line 260 of file gui_main.cpp.
Referenced by client_game_free(), and client_game_reset().
| void editgui_popup_properties | ( | const tile_list * | tiles, |
| int | objtype | ||
| ) |
| void editgui_refresh | ( | ) |
Stub for editor function.
Definition at line 250 of file gui_main.cpp.
Referenced by editor_apply_tool(), editor_apply_tool_to_selection(), editor_grab_applied_player(), editor_grab_tool(), handle_player_info(), handle_player_remove(), and handle_research_info().
| void editgui_tileset_changed | ( | ) |
Stub for editor function.
Definition at line 245 of file gui_main.cpp.
Referenced by client_state().
| client_pages get_current_client_page | ( | ) |
Returns current client page.
Definition at line 580 of file fc_client.cpp.
Referenced by apply_notify_font(), and real_conn_list_dialog_update().
| QStringList get_gui_specific_themes_directories | ( | int * | count | ) |
Each gui has its own themes directories.
Returns an array containing these strings and sets array size in count. The caller is responsible for freeing the array and the paths.
Definition at line 197 of file themes.cpp.
Referenced by init_themes().
| void gui_clear_theme | ( | ) |
Clears a theme (sets default system theme)
Definition at line 180 of file themes.cpp.
Referenced by gui_load_theme(), and ui_main().
| void gui_update_font | ( | const QString & | font_name, |
| const QFont & | font_value | ||
| ) |
Updates a gui font style.
Definition at line 277 of file gui_main.cpp.
Referenced by apply_notify_font(), and font_changed_callback().
| bool handmade_scenario_warning | ( | ) |
Give a warning when user is about to edit scenario with manually set properties.
Definition at line 3818 of file dialogs.cpp.
Referenced by handle_game_info().
| void options_extra_init | ( | ) |
Extra initializers for client options.
Definition at line 92 of file gui_main.cpp.
Referenced by options_init().
| void popdown_city_dialog | ( | ) |
Closes the city overlay.
Definition at line 2264 of file citydlg.cpp.
Referenced by unit_list_widget::activate(), client_remove_city(), client_state(), handle_game_info(), freeciv::upkeep_widget::item_double_clicked(), city_dialog::refresh(), tileset_changed(), and top_bar_show_map().
| void popup_combat_info | ( | int | attacker_unit_id, |
| int | defender_unit_id, | ||
| int | attacker_hp, | ||
| int | defender_hp, | ||
| bool | make_att_veteran, | ||
| bool | make_def_veteran | ||
| ) |
Popup detailed information about battle or save information for some kind of statistics.
Definition at line 3871 of file dialogs.cpp.
Referenced by handle_unit_combat_info().
| void real_city_dialog_popup | ( | struct city * | pcity | ) |
Pop up (or bring to the front) a dialog for the given city.
It may or may not be modal.
Definition at line 2247 of file citydlg.cpp.
Referenced by cities_update_callback(), city_widget::city_view(), and notify_goto::inspect_city().
| void real_city_dialog_refresh | ( | struct city * | pcity | ) |
Refresh (update) all data for the given city's dialog.
Definition at line 2274 of file citydlg.cpp.
Referenced by cities_update_callback(), and refresh_unit_city_dialogs().
| void real_conn_list_dialog_update | ( | void * | unused | ) |
Update the connected users list at pregame state.
Definition at line 121 of file gui_main.cpp.
Referenced by conn_list_dialog_update().
| void real_focus_units_changed | ( | ) |
Called when the set of units in focus (get_units_in_focus()) changes.
Standard updates like update_unit_info_label() are handled in the platform- independent code, so some clients will not need to do anything here.
Definition at line 155 of file gui_main.cpp.
Referenced by focus_units_changed().
| void real_set_client_page | ( | enum client_pages | page | ) |
Sets the "page" that the client should show.
See also pages_g.h.
Definition at line 570 of file fc_client.cpp.
Referenced by real_conn_list_dialog_update(), and set_client_page_callback().
| void refresh_unit_city_dialogs | ( | struct unit * | punit | ) |
Update city dialogs when the given unit's status changes.
This typically means updating both the unit's home city (if any) and the city in which it is present (if any).
Definition at line 2304 of file citydlg.cpp.
Referenced by clear_unit_orders(), and handle_unit_packet_common().
Unit wants to get into some transport on given tile.
Definition at line 3827 of file dialogs.cpp.
Referenced by request_move_unit_direction(), and mr_menu::slot_load().
| void set_rulesets | ( | int | num_rulesets, |
| QStringList | rulesets | ||
| ) |
Set the list of available rulesets.
The default ruleset should be "default", and if the user changes this then set_ruleset() should be called.
Definition at line 580 of file fc_client.cpp.
Referenced by handle_ruleset_choices().
| void sound_bell | ( | ) |
Make a bell noise (beep).
This provides low-level sound alerts even if there is no real sound support.
Definition at line 134 of file gui_main.cpp.
Referenced by none_audio_play().
| void start_turn | ( | ) |