Freeciv-3.2
|
#include <mapview.h>
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 |
Constructor for info_tile
Definition at line 1356 of file mapview.cpp.
|
private |
Calculates size of info_tile and moves it to be fully visible
Definition at line 1367 of file mapview.cpp.
Referenced by info_tile(), and update_font().
|
protected |
Redirected paint event for info_tile
Definition at line 1406 of file mapview.cpp.
Referenced by paintEvent().
|
protected |
Paint event for info_tile
Definition at line 1423 of file mapview.cpp.
Updates fonts
Definition at line 1435 of file mapview.cpp.
|
private |
Definition at line 119 of file mapview.h.
Referenced by calc_size(), info_tile(), paint(), and update_font().
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().