#include <citydlg.h>
|
void | drawFocus (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) const |
|
Definition at line 303 of file citydlg.h.
◆ city_production_delegate()
city_production_delegate::city_production_delegate |
( |
QPoint |
sh, |
|
|
QObject * |
parent, |
|
|
struct city * |
city |
|
) |
| |
City item delegate constructor
Definition at line 4057 of file citydlg.cpp.
◆ ~city_production_delegate()
city_production_delegate::~city_production_delegate |
( |
| ) |
|
|
inline |
◆ drawFocus()
void city_production_delegate::drawFocus |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QRect & |
rect |
|
) |
| const |
|
protected |
◆ paint()
void city_production_delegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ sizeHint()
QSize city_production_delegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
Size hint for city item delegate
Definition at line 4225 of file citydlg.cpp.
◆ item_height
int city_production_delegate::item_height |
|
private |
◆ pcity
struct city* city_production_delegate::pcity |
|
private |
◆ pd
QPoint city_production_delegate::pd |
|
private |