|
Freeciv-3.1
|
#include <mapview.h>
Inheritance diagram for info_tile:Public Member Functions | |
| info_tile (struct tile *ptile, QWidget *parent=0) | |
Data Fields | |
| struct tile * | itile |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) |
| void | paint (QPainter *painter, QPaintEvent *event) |
Private Member Functions | |
| void | calc_size () |
| void | update_font (const QString &name, const QFont &font) |
Private Attributes | |
| QFont | info_font |
| QStringList | str_list |
| info_tile::info_tile | ( | struct tile * | ptile, |
| QWidget * | parent = 0 |
||
| ) |
Constructor for info_tile
Definition at line 1358 of file mapview.cpp.
|
private |
Calculates size of info_tile and moves it to be fully visible
Definition at line 1369 of file mapview.cpp.
Referenced by info_tile(), and update_font().
|
protected |
Redirected paint event for info_tile
Definition at line 1408 of file mapview.cpp.
Referenced by paintEvent().
|
protected |
Paint event for info_tile
Definition at line 1425 of file mapview.cpp.
|
private |
Updates fonts
Definition at line 1437 of file mapview.cpp.
|
private |
Definition at line 119 of file mapview.h.
Referenced by calc_size(), info_tile(), paint(), and update_font().
| struct tile* info_tile::itile |
Definition at line 122 of file mapview.h.
Referenced by calc_size(), and info_tile().
|
private |
Definition at line 127 of file mapview.h.
Referenced by calc_size(), and paint().