|
Freeciv-3.4
|
#include <fc_client.h>
Inheritance diagram for pregame_options:Public Slots | |
| void | popup_server_options () |
Public Member Functions | |
| pregame_options (QWidget *parent) | |
| void | init () |
| void | set_rulesets (int num_rulesets, char **rulesets) |
| void | set_aifill (int aifill) |
| void | update_ai_level () |
| void | update_buttons () |
Private Slots | |
| void | max_players_change (int i) |
| void | ailevel_change (int i) |
| void | ruleset_change (int i) |
| void | pick_nation () |
Private Attributes | |
| QComboBox * | ailevel |
| QComboBox * | cruleset |
| QPushButton * | nation |
| QSpinBox * | max_players |
Definition at line 370 of file fc_client.h.
| pregame_options::pregame_options | ( | QWidget * | parent | ) |
Pregame options constructor
Definition at line 1152 of file fc_client.cpp.
| void pregame_options::init | ( | ) |
Init's layout and default values for options in START_PAGE
Definition at line 1159 of file fc_client.cpp.
Referenced by fc_client::create_start_page().
|
privateslot |
|
slot |
Sets the value of the "aifill" option. Doesn't send the new value to the server
Definition at line 1243 of file fc_client.cpp.
Referenced by fc_client::update_start_page().
Update the ruleset list
Definition at line 1220 of file fc_client.cpp.
| void pregame_options::update_ai_level | ( | ) |
Updates the AI skill level control
Definition at line 1279 of file fc_client.cpp.
Referenced by fc_client::update_buttons().
| void pregame_options::update_buttons | ( | ) |
Updates the buttons whenever the game state has changed
Definition at line 1253 of file fc_client.cpp.
Referenced by init(), and fc_client::update_buttons().
|
private |
Definition at line 373 of file fc_client.h.
Referenced by ailevel_change(), init(), and update_ai_level().
|
private |
Definition at line 374 of file fc_client.h.
Referenced by init(), ruleset_change(), and set_rulesets().
|
private |
Definition at line 376 of file fc_client.h.
Referenced by init(), and set_aifill().
|
private |
Definition at line 375 of file fc_client.h.
Referenced by init(), and update_buttons().