Freeciv-3.3
|
#include <citydlg.h>
Public Member Functions | |
impr_item (QWidget *parent, const struct impr_type *building, struct city *pcity) | |
~impr_item () | |
void | init_pix () |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | leaveEvent (QEvent *event) |
void | enterEvent (QEnterEvent *event) |
Private Attributes | |
const struct impr_type * | impr |
struct canvas * | impr_pixmap |
struct city * | dlgcity |
Improvement item constructor
Definition at line 367 of file citydlg.cpp.
impr_item::~impr_item | ( | ) |
Improvement item destructor
Definition at line 396 of file citydlg.cpp.
|
protected |
Mouse enters widget
Definition at line 416 of file citydlg.cpp.
void impr_item::init_pix | ( | ) |
Sets pixmap to improvemnt item
Definition at line 406 of file citydlg.cpp.
Referenced by leaveEvent().
|
protected |
Mouse leaves widget
Definition at line 446 of file citydlg.cpp.
|
protected |
Double click event on improvement item
Definition at line 607 of file citydlg.cpp.
|
protected |
Mouse wheel event - send it to scrollbar
Definition at line 587 of file citydlg.cpp.
Definition at line 234 of file citydlg.h.
Referenced by impr_item(), and mouseDoubleClickEvent().
Definition at line 232 of file citydlg.h.
Referenced by impr_item(), leaveEvent(), and mouseDoubleClickEvent().
Definition at line 233 of file citydlg.h.
Referenced by impr_item(), init_pix(), leaveEvent(), and ~impr_item().