Freeciv-3.3
|
#include <plrdlg.h>
Public Slots | |
void | display_header_menu (const QPoint &) |
void | nation_selected (const QItemSelection &sl, const QItemSelection &ds) |
Public Member Functions | |
plr_widget (plr_report *pr) | |
~plr_widget () | |
void | restore_selection () |
plr_model * | get_model () const |
Data Fields | |
QString | intel_str |
QString | ally_str |
QString | tech_str |
QString | wonder_str |
struct player * | other_player |
Private Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
void | hide_columns () |
Private Attributes | |
plr_model * | list_model |
plr_sorter * | filter_model |
plr_item_delegate * | pid |
plr_report * | plr |
QString | techs_known |
QString | techs_unknown |
struct player * | selected_player |
plr_widget::plr_widget | ( | plr_report * | pr | ) |
Constructor for plr_widget
Definition at line 362 of file plrdlg.cpp.
plr_widget::~plr_widget | ( | ) |
Destructor for player widget
Definition at line 781 of file plrdlg.cpp.
Displays menu on header by right clicking
Definition at line 425 of file plrdlg.cpp.
Referenced by plr_widget().
plr_model * plr_widget::get_model | ( | ) | const |
Returns model used in widget
Definition at line 773 of file plrdlg.cpp.
Referenced by plr_report::update_report().
|
private |
Hides columns in plr widget, depending on info from plr_list
Definition at line 478 of file plrdlg.cpp.
Referenced by plr_widget().
|
private |
Handle mouse click
Definition at line 1062 of file plrdlg.cpp.
|
slot |
Slot for selecting player/nation
Definition at line 492 of file plrdlg.cpp.
Referenced by plr_widget().
void plr_widget::restore_selection | ( | ) |
Restores selection of previously selected nation
Definition at line 396 of file plrdlg.cpp.
Referenced by plr_report::update_report().
QString plr_widget::ally_str |
Definition at line 145 of file plrdlg.h.
Referenced by nation_selected(), and plr_report::update_report().
|
private |
Definition at line 133 of file plrdlg.h.
Referenced by plr_widget(), restore_selection(), and ~plr_widget().
QString plr_widget::intel_str |
Definition at line 144 of file plrdlg.h.
Referenced by nation_selected(), and plr_report::update_report().
|
private |
Definition at line 132 of file plrdlg.h.
Referenced by display_header_menu(), get_model(), hide_columns(), plr_widget(), and ~plr_widget().
Definition at line 148 of file plrdlg.h.
Referenced by nation_selected(), plr_widget(), plr_report::toggle_ai_mode(), and plr_report::update_report().
|
private |
Definition at line 134 of file plrdlg.h.
Referenced by plr_widget(), and ~plr_widget().
|
private |
Definition at line 135 of file plrdlg.h.
Referenced by mousePressEvent(), nation_selected(), and plr_widget().
Definition at line 138 of file plrdlg.h.
Referenced by nation_selected(), plr_widget(), and restore_selection().
QString plr_widget::tech_str |
Definition at line 146 of file plrdlg.h.
Referenced by nation_selected(), and plr_report::update_report().
|
private |
Definition at line 136 of file plrdlg.h.
Referenced by nation_selected().
|
private |
Definition at line 137 of file plrdlg.h.
Referenced by nation_selected().
QString plr_widget::wonder_str |
Definition at line 147 of file plrdlg.h.
Referenced by nation_selected(), and plr_report::update_report().