summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-01-18 13:32:47 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commit1ea7bde065f85298ee0a1ba5d94ec926137ef846 (patch)
tree6758da6c1a2483bae00d9ef97cffb2afc23a6caa /platform/qt/include/qmapboxgl.hpp
parentf83b8d8ea4631aa063d04e3194a84c75ba667dfd (diff)
downloadqtlocation-mapboxgl-1ea7bde065f85298ee0a1ba5d94ec926137ef846.tar.gz
[Qt] Add support for margins
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 0042a73dd2..65f038ad72 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -6,6 +6,7 @@
#include <QPointF>
class QImage;
+class QMargins;
class QSize;
class QString;
class QStringList;
@@ -170,6 +171,9 @@ public:
QPointF pixelForCoordinate(const Coordinate &) const;
Coordinate coordinateForPixel(const QPointF &) const;
+ void setMargins(const QMargins &margins);
+ QMargins margins() const;
+
public slots:
void render();
void connectionEstablished();