![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <citydlg.h>
Inheritance diagram for city_production_model:
Collaboration diagram for city_production_model:Public Member Functions | |
| city_production_model (struct city *pcity, bool f, bool su, bool sw, bool sb, QObject *parent=0) | |
| Constructor for city production model. More... | |
| ~city_production_model () override | |
| Destructor for city production model. More... | |
| int | rowCount (const QModelIndex &index=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| Returns data from model. More... | |
| void | populate () |
| Fills model with data. More... | |
Public Attributes | |
| QPoint | sh |
Private Attributes | |
| QList< production_item * > | city_target_list |
| struct city * | mcity |
| bool | future_t |
| bool | show_units |
| bool | show_buildings |
| bool | show_wonders |
| city_production_model::city_production_model | ( | struct city * | pcity, |
| bool | f, | ||
| bool | su, | ||
| bool | sw, | ||
| bool | sb, | ||
| QObject * | parent = 0 |
||
| ) |
Constructor for city production model.
Definition at line 2549 of file citydlg.cpp.
|
override |
Destructor for city production model.
Definition at line 2565 of file citydlg.cpp.
|
inlineoverride |
|
override |
Returns data from model.
Definition at line 2574 of file citydlg.cpp.
| void city_production_model::populate | ( | ) |
Fills model with data.
Definition at line 2606 of file citydlg.cpp.
Referenced by city_production_model().
|
inlineoverride |
Definition at line 173 of file citydlg.h.
Referenced by data(), and production_widget::production_widget().
|
private |
Definition at line 189 of file citydlg.h.
Referenced by data(), populate(), rowCount(), and ~city_production_model().
|
private |
Definition at line 191 of file citydlg.h.
Referenced by city_production_model(), and populate().
|
private |
Definition at line 190 of file citydlg.h.
Referenced by city_production_model(), and populate().
| QPoint city_production_model::sh |
Definition at line 186 of file citydlg.h.
Referenced by populate(), and production_widget::production_widget().
|
private |
Definition at line 193 of file citydlg.h.
Referenced by city_production_model(), and populate().
|
private |
Definition at line 192 of file citydlg.h.
Referenced by city_production_model(), and populate().
|
private |
Definition at line 194 of file citydlg.h.
Referenced by city_production_model(), and populate().