From b34673c408781c551e67e84d54f7bd4fd2e8ae5e Mon Sep 17 00:00:00 2001 From: Sergey Yershov Date: Wed, 20 Apr 2016 13:07:07 +0300 Subject: [PATCH] [desktop] Add showing countryId in place page --- qt/place_page_dialog.cpp | 6 ++++++ xcode/MapsMe/MapsMe.xcodeproj/project.pbxproj | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/qt/place_page_dialog.cpp b/qt/place_page_dialog.cpp index fdd886f5ea..4162fb4a54 100644 --- a/qt/place_page_dialog.cpp +++ b/qt/place_page_dialog.cpp @@ -34,6 +34,12 @@ PlacePageDialog::PlacePageDialog(QWidget * parent, place_page::Info const & info label->setTextInteractionFlags(Qt::TextSelectableByMouse); grid->addWidget(label, row++, 1); } + { + grid->addWidget(new QLabel("CountryId"), row, 0); + QLabel * label = new QLabel(QString::fromStdString(info.m_countryId)); + label->setTextInteractionFlags(Qt::TextSelectableByMouse); + grid->addWidget(label, row++, 1); + } // Title/Name/Custom Name. if (!info.GetTitle().empty()) { diff --git a/xcode/MapsMe/MapsMe.xcodeproj/project.pbxproj b/xcode/MapsMe/MapsMe.xcodeproj/project.pbxproj index 1706e80a6a..e2c82581c3 100644 --- a/xcode/MapsMe/MapsMe.xcodeproj/project.pbxproj +++ b/xcode/MapsMe/MapsMe.xcodeproj/project.pbxproj @@ -119,6 +119,7 @@ 67A461A71C2172C400B18739 /* 07_roboto_medium.ttf in CopyFiles */ = {isa = PBXBuildFile; fileRef = 67A461A61C2172C400B18739 /* 07_roboto_medium.ttf */; }; 67E8DC931BBC1D3F0053C5BA /* libagg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 67E8DC911BBC1D3F0053C5BA /* libagg.a */; }; 67E8DC941BBC1D3F0053C5BA /* liblodepng.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 67E8DC921BBC1D3F0053C5BA /* liblodepng.a */; }; + 67F4D3F51CC5400900C5D9BB /* cuisine-strings in Resources */ = {isa = PBXBuildFile; fileRef = 67F4D3F41CC5400900C5D9BB /* cuisine-strings */; }; 9D4AD1DD1B7388CD00EBDD27 /* 02_droidsans-fallback.ttf in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9DF792621B73884F00AF2D19 /* 02_droidsans-fallback.ttf */; }; 9DA46A201C47E9E200EF52BA /* drules_proto_legacy.bin in Resources */ = {isa = PBXBuildFile; fileRef = 9DA46A1A1C47E9E200EF52BA /* drules_proto_legacy.bin */; }; 9DA46A211C47E9E200EF52BA /* resources-hdpi_legacy in Resources */ = {isa = PBXBuildFile; fileRef = 9DA46A1B1C47E9E200EF52BA /* resources-hdpi_legacy */; }; @@ -307,6 +308,7 @@ 67A461A61C2172C400B18739 /* 07_roboto_medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = 07_roboto_medium.ttf; sourceTree = ""; }; 67E8DC911BBC1D3F0053C5BA /* libagg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libagg.a; path = "../../../omim-xcode-build/Debug/libagg.a"; sourceTree = ""; }; 67E8DC921BBC1D3F0053C5BA /* liblodepng.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liblodepng.a; path = "../../../omim-xcode-build/Debug/liblodepng.a"; sourceTree = ""; }; + 67F4D3F41CC5400900C5D9BB /* cuisine-strings */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "cuisine-strings"; sourceTree = ""; }; 9DA46A1A1C47E9E200EF52BA /* drules_proto_legacy.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; path = drules_proto_legacy.bin; sourceTree = ""; }; 9DA46A1B1C47E9E200EF52BA /* resources-hdpi_legacy */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "resources-hdpi_legacy"; sourceTree = ""; }; 9DA46A1C1C47E9E200EF52BA /* resources-ldpi_legacy */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "resources-ldpi_legacy"; sourceTree = ""; }; @@ -422,6 +424,7 @@ 6729A5C91A693045007D5872 /* Resources */ = { isa = PBXGroup; children = ( + 67F4D3F41CC5400900C5D9BB /* cuisine-strings */, 45B5B59D1CA422EE00D93E36 /* resources-6plus_dark */, 45B5B59E1CA422EE00D93E36 /* resources-hdpi_dark */, 45B5B59F1CA422EE00D93E36 /* resources-ldpi_dark */, @@ -632,6 +635,7 @@ 671182DC1C7F0D8C00CB8177 /* packed_polygons_obsolete.bin in Resources */, 45B5B5981CA422C800D93E36 /* resources-6plus_clear in Resources */, 671182DB1C7F0D8C00CB8177 /* countries_obsolete.txt in Resources */, + 67F4D3F51CC5400900C5D9BB /* cuisine-strings in Resources */, 9DA46A221C47E9E200EF52BA /* resources-ldpi_legacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0;