Freeciv-3.1
|
#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 366 of file citydlg.cpp.
impr_item::~impr_item | ( | ) |
Improvement item destructor
Definition at line 395 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 405 of file citydlg.cpp.
Referenced by leaveEvent().
|
protected |
Mouse leaves widget
Definition at line 445 of file citydlg.cpp.
|
protected |
Double click event on improvement item
Definition at line 618 of file citydlg.cpp.
|
protected |
Mouse wheel event - send it to scrollbar
Definition at line 592 of file citydlg.cpp.
|
private |
Definition at line 233 of file citydlg.h.
Referenced by impr_item(), and mouseDoubleClickEvent().
|
private |
Definition at line 231 of file citydlg.h.
Referenced by impr_item(), leaveEvent(), and mouseDoubleClickEvent().
|
private |
Definition at line 232 of file citydlg.h.
Referenced by impr_item(), init_pix(), leaveEvent(), and ~impr_item().