diff options
author | Alex Zolotarev <alex@maps.me> | 2016-02-18 15:39:43 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:50:49 +0300 |
commit | f57bc232e675ae628a4342463cfa620501e0dddb (patch) | |
tree | 0f11cb6be9900a9e51ebdc616dcc37f37c044b85 /qt/editor_dialog.hpp | |
parent | be91c4dfd116198489e0b9b5b7be21e6a316acac (diff) |
[qt] New Editor dialog.
Diffstat (limited to 'qt/editor_dialog.hpp')
-rw-r--r-- | qt/editor_dialog.hpp | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/qt/editor_dialog.hpp b/qt/editor_dialog.hpp index 040522d1d5..b93acdb84d 100644 --- a/qt/editor_dialog.hpp +++ b/qt/editor_dialog.hpp @@ -1,24 +1,20 @@ #pragma once -#include "indexer/feature_meta.hpp" - -#include "coding/multilang_utf8_string.hpp" - -#include "std/string.hpp" - #include <QtWidgets/QDialog> -class FeatureType; -class Framework; -class QLineEdit; +namespace osm +{ +class EditableMapObject; +} // namespace osm class EditorDialog : public QDialog { Q_OBJECT public: - EditorDialog(QWidget * parent, FeatureType & feature, Framework & frm); - StringUtf8Multilang GetEditedNames() const; - feature::Metadata GetEditedMetadata() const; - string GetEditedStreet() const; - string GetEditedHouseNumber() const; + EditorDialog(QWidget * parent, osm::EditableMapObject & emo); +private slots: + void OnSave(); + +private: + osm::EditableMapObject & m_feature; }; |