![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QObject>
Include dependency graph for tooltips.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fc_tooltip |
Functions | |
| QString | get_tooltip (const QVariant &qvar) |
| Returns shortened help for given universal ( stored in qvar ) More... | |
| QString | get_tooltip_improvement (const impr_type *building, struct city *pcity=nullptr, bool ext=false) |
| Returns improvement properties to append in tooltip ext is used to get extra info from help. More... | |
| QString | get_tooltip_unit (const struct unit_type *utype, bool ext=false) |
| Returns unit properties to append in tooltip ext is used to get extra info from help. More... | |
| QString | bold (const QString &text) |
| 'text' is assumed to have already been HTML-escaped if necessary More... | |
| QString bold | ( | const QString & | text | ) |
'text' is assumed to have already been HTML-escaped if necessary
Definition at line 76 of file tooltips.cpp.
Referenced by configure_font(), and get_tooltip_unit().
| QString get_tooltip | ( | const QVariant & | qvar | ) |
Returns shortened help for given universal ( stored in qvar )
Definition at line 215 of file tooltips.cpp.
Referenced by city_production_model::data().
| QString get_tooltip_improvement | ( | const impr_type * | building, |
| struct city * | pcity = nullptr, |
||
| bool | ext = false |
||
| ) |
Returns improvement properties to append in tooltip ext is used to get extra info from help.
Definition at line 82 of file tooltips.cpp.
Referenced by get_tooltip(), freeciv::upkeep_widget::refresh(), and city_dialog::update_improvements().
| QString get_tooltip_unit | ( | const struct unit_type * | utype, |
| bool | ext = false |
||
| ) |
Returns unit properties to append in tooltip ext is used to get extra info from help.
Definition at line 144 of file tooltips.cpp.
Referenced by get_tooltip(), and city_dialog::update_improvements().