![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QDialog>#include <QMessageBox>#include <QVariant>#include "fc_types.h"#include "dialogs_g.h"#include "hudwidget.h"#include "widgets/decorations.h"
Include dependency graph for dialogs.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | qdef_act |
| class | qfc_dialog |
| class | disband_box |
| class | notify_goto |
| class | races_dialog |
| class | Choice_dialog_button |
| class | choice_dialog |
Typedefs | |
| typedef void(* | pfcn_void) (QVariant, QVariant) |
Functions | |
| void | update_nationset_combo () |
| Updates nationset combobox. More... | |
| void | popup_races_dialog (struct player *pplayer) |
| Popup the nation selection dialog. More... | |
| void | popup_revolution_dialog (struct government *government=nullptr) |
| Popup a dialog asking if the player wants to start a revolution. More... | |
| void | revolution_response (struct government *government) |
| Starts revolution with targeted government as target or anarchy otherwise. More... | |
| void | popup_upgrade_dialog (const std::vector< unit * > &punits) |
| Popup dialog for upgrade units. More... | |
| void | popup_disband_dialog (const std::vector< unit * > &punits) |
| Pops up a dialog to confirm disband of the unit(s). More... | |
| bool | try_default_unit_action (QVariant q1, QVariant q2) |
| Try to pick up default unit action. More... | |
| bool | try_default_city_action (QVariant q1, QVariant q2) |
| Try to pick up default city action. More... | |
| void popup_disband_dialog | ( | const std::vector< unit * > & | punits | ) |
Pops up a dialog to confirm disband of the unit(s).
Definition at line 3395 of file dialogs.cpp.
Referenced by freeciv::add_quick_unit_actions(), and mr_menu::slot_disband().
| void popup_races_dialog | ( | struct player * | pplayer | ) |
Popup the nation selection dialog.
Definition at line 997 of file dialogs.cpp.
| void popup_revolution_dialog | ( | struct government * | government = nullptr | ) |
Popup a dialog asking if the player wants to start a revolution.
Definition at line 1071 of file dialogs.cpp.
Referenced by gov_menu::change_gov(), and gov_menu::revolution().
| void popup_upgrade_dialog | ( | const std::vector< unit * > & | punits | ) |
Popup dialog for upgrade units.
Definition at line 3759 of file dialogs.cpp.
Referenced by freeciv::add_quick_unit_actions(), mr_menu::slot_upgrade(), and unit_upgrade().
| void revolution_response | ( | struct government * | government | ) |
Starts revolution with targeted government as target or anarchy otherwise.
Definition at line 1630 of file dialogs.cpp.
Referenced by popup_revolution_dialog().
| bool try_default_city_action | ( | QVariant | q1, |
| QVariant | q2 | ||
| ) |
Try to pick up default city action.
Definition at line 1315 of file dialogs.cpp.
Referenced by popup_action_selection().
| bool try_default_unit_action | ( | QVariant | q1, |
| QVariant | q2 | ||
| ) |
Try to pick up default unit action.
Definition at line 1297 of file dialogs.cpp.
Referenced by popup_action_selection().
| void update_nationset_combo | ( | ) |
Updates nationset combobox.
Definition at line 1039 of file dialogs.cpp.
Referenced by option_gui_update().