Freeciv-3.2
|
#include <citydlg.h>
Public Slots | |
void | prod_selected (const QItemSelection &sl, const QItemSelection &ds) |
Public Member Functions | |
production_widget (QWidget *parent, struct city *pcity, bool future, int when, int curr, bool show_units, bool buy=false, bool show_wonders=true, bool show_buildings=true) | |
~production_widget () | |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
bool | eventFilter (QObject *obj, QEvent *ev) |
Private Attributes | |
city_production_model * | list_model |
city_production_delegate * | c_p_d |
struct city * | pw_city |
int | when_change |
int | curr_selection |
bool | sh_units |
bool | buy_it |
fc_tooltip * | fc_tt |
production_widget::production_widget | ( | QWidget * | parent, |
struct city * | pcity, | ||
bool | future, | ||
int | when, | ||
int | curr, | ||
bool | show_units, | ||
bool | buy = false , |
||
bool | show_wonders = true , |
||
bool | show_buildings = true |
||
) |
Constructor for production widget future - show future targets show_units - if to show units when - where to insert curr - current index to insert buy - buy if possible
Definition at line 4519 of file citydlg.cpp.
production_widget::~production_widget | ( | ) |
Destructor for production widget
Definition at line 4704 of file citydlg.cpp.
|
protected |
Event filter for production widget
Definition at line 4606 of file citydlg.cpp.
|
protected |
Mouse press event for production widget
Definition at line 4593 of file citydlg.cpp.
|
slot |
Changed selection in production widget
Definition at line 4631 of file citydlg.cpp.
Referenced by production_widget().
|
private |
Definition at line 409 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 389 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 407 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 410 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 388 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
Definition at line 405 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 408 of file citydlg.h.
Referenced by production_widget().
|
private |
Definition at line 406 of file citydlg.h.
Referenced by prod_selected(), and production_widget().