![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <citydlg.h>
Inheritance diagram for production_widget:
Collaboration diagram for production_widget:Public Slots | |
| void | prod_selected (const QItemSelection &sl, const QItemSelection &ds) |
| Changed selection in production widget. More... | |
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) | |
| 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. More... | |
| ~production_widget () override | |
| Destructor for production widget. More... | |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) override |
| Mouse press event for production widget. More... | |
| bool | eventFilter (QObject *obj, QEvent *ev) override |
| Event filter for production widget. More... | |
Private Attributes | |
| city_production_model * | list_model |
| city_production_delegate * | c_p_d |
| struct city * | pw_city |
| int | when_change |
| int | curr_selection |
| 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 2671 of file citydlg.cpp.
|
override |
Destructor for production widget.
Definition at line 2864 of file citydlg.cpp.
|
overrideprotected |
Event filter for production widget.
Definition at line 2756 of file citydlg.cpp.
|
overrideprotected |
Mouse press event for production widget.
Definition at line 2743 of file citydlg.cpp.
|
slot |
Changed selection in production widget.
Definition at line 2789 of file citydlg.cpp.
Referenced by production_widget().
|
private |
Definition at line 223 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 204 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 222 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 224 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 203 of file citydlg.h.
Referenced by production_widget(), and ~production_widget().
|
private |
Definition at line 220 of file citydlg.h.
Referenced by prod_selected(), and production_widget().
|
private |
Definition at line 221 of file citydlg.h.
Referenced by prod_selected(), and production_widget().