Freeciv-3.3
|
#include <citydlg.h>
Public Member Functions | |
impr_info (QWidget *parent) | |
~impr_info () | |
void | add_item (impr_item *item) |
void | init_layout () |
void | update_buildings () |
void | clear_layout () |
Data Fields | |
QHBoxLayout * | layout |
QList< impr_item * > | impr_list |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) |
impr_info::impr_info | ( | QWidget * | parent | ) |
Improvement list constructor
Definition at line 472 of file citydlg.cpp.
impr_info::~impr_info | ( | ) |
Improvement list destructor
Definition at line 495 of file citydlg.cpp.
Adds improvement item to list
Definition at line 503 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
void impr_info::clear_layout | ( | ) |
Clears layout on improvement list
Definition at line 511 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
void impr_info::init_layout | ( | ) |
Inits improvement list constructor
Definition at line 482 of file citydlg.cpp.
Referenced by impr_info().
void impr_info::update_buildings | ( | ) |
Updates list of improvements
Definition at line 555 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
|
protected |
Mouse wheel event - send it to scrollbar
Definition at line 536 of file citydlg.cpp.
Definition at line 262 of file citydlg.h.
Referenced by add_item(), clear_layout(), and update_buildings().
QHBoxLayout* impr_info::layout |
Definition at line 261 of file citydlg.h.
Referenced by clear_layout(), impr_info(), init_layout(), and update_buildings().