|
Freeciv-3.4
|
#include <citydlg.h>
Inheritance diagram for impr_item: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 415 of file citydlg.cpp.
| void impr_item::init_pix | ( | ) |
Sets pixmap to improvemnt item
Definition at line 406 of file citydlg.cpp.
Referenced by enterEvent(), and leaveEvent().
|
protected |
Mouse leaves widget
Definition at line 442 of file citydlg.cpp.
|
protected |
Double click event on improvement item
Definition at line 603 of file citydlg.cpp.
|
protected |
Mouse wheel event - send it to scrollbar
Definition at line 583 of file citydlg.cpp.
Definition at line 230 of file citydlg.h.
Referenced by impr_item(), and mouseDoubleClickEvent().
Definition at line 228 of file citydlg.h.
Referenced by enterEvent(), impr_item(), leaveEvent(), and mouseDoubleClickEvent().
Definition at line 229 of file citydlg.h.
Referenced by enterEvent(), impr_item(), init_pix(), leaveEvent(), and ~impr_item().