#include <ngqpoint.h>
|
| NGQPoint (struct gui_priv *this_, struct point *p, NGQPointTypes type=MapPoint, QObject *parent=NULL) |
|
| NGQPoint (struct gui_priv *this_, struct coord *c, NGQPointTypes type=Bookmark, QObject *parent=NULL) |
|
| NGQPoint (struct gui_priv *this_, struct pcoord *pc, NGQPointTypes type=Bookmark, QObject *parent=NULL) |
|
| NGQPoint (struct gui_priv *this_, struct coord *c, QString name, NGQPointTypes type=Bookmark, QObject *parent=NULL) |
|
struct pcoord * | pc () |
|
◆ NGQPoint() [1/4]
References _coordName(), _coordString(), c, co, g, item::map, name, gui_priv::nav, navit_get_trans(), object, p, pcoord::pro, transform_get_projection(), transform_reverse(), transform_to_geo(), type, coord::x, pcoord::x, point::x, coord::y, pcoord::y, and point::y.
◆ NGQPoint() [2/4]
References _coordName(), _coordString(), c, co, g, item::map, name, gui_priv::nav, navit_get_trans(), object, transform_get_projection(), transform_to_geo(), type, coord::x, pcoord::x, coord::y, and pcoord::y.
◆ NGQPoint() [3/4]
References _coordName(), _coordString(), c, co, g, item::map, name, pcoord::pro, transform_to_geo(), type, coord::x, pcoord::x, coord::y, and pcoord::y.
◆ NGQPoint() [4/4]
References _coordString(), c, co, g, item::map, name, gui_priv::nav, navit_get_trans(), object, transform_get_projection(), transform_to_geo(), type, coord::x, pcoord::x, coord::y, and pcoord::y.
◆ _coordName()
QString NGQPoint::_coordName |
( |
| ) |
|
|
inlineprotected |
References _setUrl(), c, map_selection::c_rect, co, data, g, item, item_attr_get(), item_range_all, item_to_name(), label, coord_rect::lu, map_convert_free(), map_convert_string(), map_rect_destroy(), map_rect_get_item(), map_rect_new(), mapset_close(), mapset_next(), mapset_open(), gui_priv::nav, navit_get_mapset(), navit_get_trans(), map_selection::next, object, map_selection::order, transformation::pro, map_selection::range, coord_rect::rl, attr::str, street_data_free(), street_get_data(), transform_from_geo(), transform_get_projection(), transform_within_dist_item(), item::type, attr::u, map_selection::u, coord::x, pcoord::x, coord::y, and pcoord::y.
Referenced by NGQPoint(), and setNewPoint().
◆ _coordString()
QString NGQPoint::_coordString |
( |
| ) |
|
|
inlineprotected |
◆ _fieldValueHelper()
QDomElement NGQPoint::_fieldValueHelper |
( |
QDomDocument |
doc, |
|
|
QString |
field, |
|
|
QString |
value |
|
) |
| |
|
inlineprotected |
◆ _setUrl()
void NGQPoint::_setUrl |
( |
struct item * |
item | ) |
|
|
inlineprotected |
◆ coordString
QString NGQPoint::coordString |
( |
| ) |
|
|
inlineslot |
◆ getInformation
QString NGQPoint::getInformation |
( |
| ) |
|
|
inlineslot |
References _fieldValueHelper(), attr_to_name(), attr_to_text(), Bookmark, entries, item::id_hi, item, item_attr_get(), item::map, map_rect_destroy(), map_rect_get_item_byid(), map_rect_new(), attr::type, and type.
◆ getPOI
QString NGQPoint::getPOI |
( |
const QString & |
attr_name | ) |
|
|
inlineslot |
References c, map_selection::c_rect, center, coord_rect_contains(), dbg, entries, get_direction(), gui_priv::gui, gui_get_attr(), item, item_attr_get(), item_coord_get_pro(), item_to_name(), label, lvl_info, map_convert_free(), map_convert_string(), map_projection(), map_rect_get_item(), map_rect_new(), map_selection_destroy(), map_selection_dup_pro(), map_selection_rect_new(), mapset_close(), mapset_next(), mapset_open(), gui_priv::nav, navit_get_mapset(), attr::num, object, pcoord::pro, attr::str, transform_distance(), transform_get_angle_delta(), item::type, attr::u, map_selection::u, pcoord::x, coord::y, and pcoord::y.
◆ pc()
struct pcoord* NGQPoint::pc |
( |
| ) |
|
|
inline |
◆ pointName
QString NGQPoint::pointName |
( |
| ) |
|
|
inlineslot |
◆ pointType
QString NGQPoint::pointType |
( |
| ) |
|
|
inlineslot |
◆ pointUrl
QUrl NGQPoint::pointUrl |
( |
| ) |
|
|
inlineslot |
◆ setNewPoint
References _coordName(), _coordString(), c, co, g, item::map, name, gui_priv::nav, navit_get_trans(), object, pcoord::pro, transform_get_projection(), transform_to_geo(), type, coord::x, pcoord::x, coord::y, and pcoord::y.
◆ co
struct coord NGQPoint::co |
|
private |
◆ coord
◆ item
struct item NGQPoint::item |
|
private |
◆ name
◆ object
◆ type
◆ url
◆ coordString
QString NGQPoint::coordString |
|
read |
◆ pointName
QString NGQPoint::pointName |
|
read |
◆ pointType
QString NGQPoint::pointType |
|
read |
◆ pointUrl
The documentation for this class was generated from the following file: