Freeciv-3.3
|
#include <cityrep.h>
Public Member Functions | |
city_item_delegate (QObject *parent) | |
~city_item_delegate () | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
Private Attributes | |
int | item_height |
city_item_delegate::city_item_delegate | ( | QObject * | parent | ) |
City item delegate constructor
Definition at line 61 of file cityrep.cpp.
void city_item_delegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
City item delgate paint event
Definition at line 73 of file cityrep.cpp.
QSize city_item_delegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
const QModelIndex & | index | ||
) | const |
Size hint for city item delegate
Definition at line 109 of file cityrep.cpp.
|
private |
Definition at line 80 of file cityrep.h.
Referenced by city_item_delegate(), and sizeHint().