|
Freeciv-3.4
|
#include <citydlg.h>
Inheritance diagram for production_widget: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 4534 of file citydlg.cpp.
| production_widget::~production_widget | ( | ) |
Destructor for production widget
Definition at line 4719 of file citydlg.cpp.
|
protected |
Event filter for production widget
Definition at line 4621 of file citydlg.cpp.
|
protected |
Mouse press event for production widget
Definition at line 4608 of file citydlg.cpp.
|
slot |
Changed selection in production widget
Definition at line 4646 of file citydlg.cpp.
Referenced by production_widget().
|
private |
Definition at line 400 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 380 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 398 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 401 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 379 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
Definition at line 396 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 399 of file citydlg.h.
Referenced by production_widget().
|
private |
Definition at line 397 of file citydlg.h.
Referenced by prod_selected(), and production_widget().