Freeciv-3.3
|
#include <citydlg.h>
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 4164 of file citydlg.cpp.
|
inline |
void city_production_delegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
City item delgate paint event
Definition at line 4177 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 4333 of file citydlg.cpp.
|
private |
Definition at line 317 of file citydlg.h.
Referenced by city_production_delegate(), and paint().
Definition at line 319 of file citydlg.h.
Referenced by city_production_delegate(), and paint().
|
private |
Definition at line 318 of file citydlg.h.
Referenced by city_production_delegate(), and sizeHint().