aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlprofile.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 09:50:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 09:50:47 -0800
commitef653b41f5959bbbe0f405e765844a9b388ae805 (patch)
treed667c35b8efba58eaabc5baccc952ce0e34d5615 /qt-mobile/qmlprofile.h
parent9df3835035f016231d02e95968c02bd5f100ee1a (diff)
downloadsubsurface-ef653b41f5959bbbe0f405e765844a9b388ae805.tar.gz
QML UI: obtain a reasonable margin from QML
This will be used later in the positioning of the profile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlprofile.h')
-rw-r--r--qt-mobile/qmlprofile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qmlprofile.h b/qt-mobile/qmlprofile.h
index 6cbdd62ff..8a1c63fe6 100644
--- a/qt-mobile/qmlprofile.h
+++ b/qt-mobile/qmlprofile.h
@@ -17,9 +17,11 @@ public:
QString diveId() const;
void setDiveId(const QString &diveId);
-
+public slots:
+ void setMargin(int margin);
private:
QString m_diveId;
+ int m_margin;
ProfileWidget2 *m_profileWidget;
signals:
void rightAlignedChanged();