|
Freeciv-3.1
|
#include <citydlg.h>
Inheritance diagram for impr_info: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 471 of file citydlg.cpp.
| impr_info::~impr_info | ( | ) |
Improvement list destructor
Definition at line 494 of file citydlg.cpp.
| void impr_info::add_item | ( | impr_item * | item | ) |
Adds improvement item to list
Definition at line 502 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
| void impr_info::clear_layout | ( | ) |
Clears layout on improvement list
Definition at line 510 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
| void impr_info::init_layout | ( | ) |
Inits improvement list constructor
Definition at line 481 of file citydlg.cpp.
Referenced by impr_info().
| void impr_info::update_buildings | ( | ) |
Updates list of improvements
Definition at line 560 of file citydlg.cpp.
Referenced by city_dialog::update_improvements().
|
protected |
Mouse wheel event - send it to scrollbar
Definition at line 535 of file citydlg.cpp.
| QList<impr_item *> impr_info::impr_list |
Definition at line 261 of file citydlg.h.
Referenced by add_item(), clear_layout(), and update_buildings().
| QHBoxLayout* impr_info::layout |
Definition at line 260 of file citydlg.h.
Referenced by clear_layout(), impr_info(), init_layout(), and update_buildings().