![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <page_scenario.h>
Inheritance diagram for page_scenario:
Collaboration diagram for page_scenario:Public Member Functions | |
| page_scenario (QWidget *, fc_client *) | |
| ~page_scenario () override | |
| void | update_scenarios_page () |
| Gets scenarios list and updates it in TableWidget = scenarios_load. More... | |
Private Slots | |
| void | slot_selection_changed (const QItemSelection &, const QItemSelection &) |
| void | browse_scenarios () |
| Browse scenarios directory. More... | |
| void | start_scenario () |
| Starts game from chosen scenario - chosen_file (save or scenario) More... | |
Private Attributes | |
| fc_client * | king |
| Ui::FormPageScenario | ui |
| QString | current_file |
Definition at line 17 of file page_scenario.h.
| page_scenario::page_scenario | ( | QWidget * | parent, |
| fc_client * | gui | ||
| ) |
Definition at line 29 of file page_scenario.cpp.
|
overridedefault |
|
privateslot |
Browse scenarios directory.
Definition at line 84 of file page_scenario.cpp.
Referenced by page_scenario().
|
privateslot |
Definition at line 224 of file page_scenario.cpp.
Referenced by page_scenario().
|
privateslot |
Starts game from chosen scenario - chosen_file (save or scenario)
Definition at line 100 of file page_scenario.cpp.
Referenced by browse_scenarios(), and page_scenario().
| void page_scenario::update_scenarios_page | ( | ) |
Gets scenarios list and updates it in TableWidget = scenarios_load.
Definition at line 105 of file page_scenario.cpp.
|
private |
Definition at line 32 of file page_scenario.h.
Referenced by browse_scenarios(), slot_selection_changed(), and start_scenario().
|
private |
Definition at line 30 of file page_scenario.h.
Referenced by page_scenario(), and start_scenario().
|
private |
Definition at line 31 of file page_scenario.h.
Referenced by page_scenario(), slot_selection_changed(), and update_scenarios_page().