7#ifndef MARBLE_EDITBOOKMARKDIALOG_H
8#define MARBLE_EDITBOOKMARKDIALOG_H
12#include "marble_export.h"
19class EditBookmarkDialogPrivate;
22class GeoDataCoordinates;
23class GeoDataPlacemark;
26class MARBLE_EXPORT EditBookmarkDialog :
public QDialog
31 explicit EditBookmarkDialog(BookmarkManager *manager,
QWidget *parent =
nullptr);
34 ~EditBookmarkDialog()
override;
36 void setMarbleWidget(MarbleWidget *widget);
38 GeoDataPlacemark bookmark()
const;
42 GeoDataFolder *folder()
const;
46 GeoDataCoordinates coordinates()
const;
52 void setName(
const QString &name);
53 void setReverseGeocodeName();
55 void setCoordinates(
const GeoDataCoordinates &coordinates);
57 void setRange(qreal range);
59 void setDescription(
const QString &text);
61 void setFolderName(
const QString &name);
63 void setIconLink(
const QString &iconLink);
66 Q_PRIVATE_SLOT(d,
void openNewFolderDialog())
68 Q_PRIVATE_SLOT(d,
void retrieveGeocodeResult(const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark))
70 Q_PRIVATE_SLOT(d,
void updateCoordinates())
72 Q_DISABLE_COPY(EditBookmarkDialog)
73 EditBookmarkDialogPrivate *const d;
74 friend class EditBookmarkDialogPrivate;
QString name(StandardAction id)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.