Marble

OsmRelationEditorDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2015 Stanciu Marius-Valeriu <stanciumarius94@gmail.com>
4//
5
6#ifndef MARBLE_OSMRELATIONEDITORDIALOG_H
7#define MARBLE_OSMRELATIONEDITORDIALOG_H
8
9#include "marble_export.h"
10
11#include <QDialog>
12
13class QLineEdit;
15
16namespace Marble
17{
18
19class OsmRelationEditorDialogPrivate;
20class OsmTagEditorWidget;
21class OsmPlacemarkData;
22class GeoDataPlacemark;
23
24/**
25 * @brief The OsmRelationEditorDialog class small dialog that is used to edit relations
26 * The dialog has a line edit for name input, and a OsmTagEditorWidget for tag editing
27 */
28class MARBLE_EXPORT OsmRelationEditorDialog : public QDialog
29{
30 Q_OBJECT
31
32public:
33 explicit OsmRelationEditorDialog(OsmPlacemarkData *relationData, QWidget *parent = nullptr);
34 ~OsmRelationEditorDialog() override;
35
36private Q_SLOTS:
37 void checkFields();
38
39private:
40 void finish();
41 friend class OsmRelationEditorDialogPrivate;
42 QDialogButtonBox *m_buttonBox;
43 QLineEdit *m_nameLineEdit;
44 OsmTagEditorWidget *m_tagEditor;
45 GeoDataPlacemark *m_dummyPlacemark;
46 OsmPlacemarkData *m_relationData;
47};
48
49}
50
51#endif
a class representing a point of interest on the map
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
The OsmRelationEditorDialog class small dialog that is used to edit relations The dialog has a line e...
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 Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.