|
Freeciv-3.4
|
#include <citydlg.h>
Inheritance diagram for city_production_delegate:Public Member Functions | |
| city_production_delegate (QPoint sh, QObject *parent, struct city *city) | |
| ~city_production_delegate () | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
Protected Member Functions | |
| void | drawFocus (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) const |
Private Attributes | |
| int | item_height |
| QPoint | pd |
| struct city * | pcity |
| city_production_delegate::city_production_delegate | ( | QPoint | sh, |
| QObject * | parent, | ||
| struct city * | city | ||
| ) |
City item delegate constructor
Definition at line 4172 of file citydlg.cpp.
|
inline |
| void city_production_delegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
City item delegate paint event
Definition at line 4185 of file citydlg.cpp.
| QSize city_production_delegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
| const QModelIndex & | index | ||
| ) | const |
Size hint for city item delegate
Definition at line 4341 of file citydlg.cpp.
|
private |
Definition at line 308 of file citydlg.h.
Referenced by city_production_delegate(), and paint().
Definition at line 310 of file citydlg.h.
Referenced by city_production_delegate(), and paint().
|
private |
Definition at line 309 of file citydlg.h.
Referenced by city_production_delegate(), and sizeHint().