5#ifndef MARBLE_PLACEMARKEDITHEADER_H
6#define MARBLE_PLACEMARKEDITHEADER_H
10#include "GeoDataCoordinates.h"
11#include "MarbleGlobal.h"
12#include "marble_export.h"
17class PlacemarkEditHeaderPrivate;
19class MARBLE_EXPORT PlacemarkEditHeader :
public QWidget
24 explicit PlacemarkEditHeader(
QWidget *parent =
nullptr,
25 GeoDataCoordinates::Notation notation = GeoDataCoordinates::DMS,
30 ~PlacemarkEditHeader()
override;
33 qreal latitude()
const;
34 qreal longitude()
const;
35 GeoDataCoordinates::Notation notation()
const;
36 bool positionVisible()
const;
39 bool isIdVisible()
const;
40 bool isIdValid()
const;
43 bool isTargetIdVisible()
const;
45 void setName(
const QString &name);
46 void setIconLink(
const QString &iconLink);
47 void setLatitude(qreal latitude);
48 void setLongitude(qreal longitude);
49 void setNotation(GeoDataCoordinates::Notation notation);
50 void setPositionVisible(
bool visible);
53 void setIdVisible(
bool visible);
54 void setTargetId(
const QString &targetId);
55 void setTargetIdList(
const QStringList &targetIdList);
56 void setTargetIdVisible(
bool visible);
58 void setReadOnly(
bool state);
65 PlacemarkEditHeaderPrivate *
const d;
66 Q_PRIVATE_SLOT(d,
void loadIconFile())
67 friend class PlacemarkEditHeaderPrivate;
QString name(StandardAction id)
QAction * selectAll(const QObject *recvr, const char *slot, QObject *parent)
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 Fri Dec 27 2024 11:51:00 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.