summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlprofile.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 19:33:19 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:50:47 -0800
commitf7981328627666dd0df51c0ac296e2fa7511238f (patch)
treea8cd3d95716beb39c588e265a824d245372e84bd /qt-mobile/qmlprofile.h
parent7f99d9e9c3d8fbfd4178ed57ee792832b6a81f51 (diff)
downloadsubsurface-f7981328627666dd0df51c0ac296e2fa7511238f.tar.gz
QMLProfile: correctly track the device pixel ratio
And set the font size accordingly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlprofile.h')
-rw-r--r--qt-mobile/qmlprofile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qmlprofile.h b/qt-mobile/qmlprofile.h
index 35332ce8d..c8a77d700 100644
--- a/qt-mobile/qmlprofile.h
+++ b/qt-mobile/qmlprofile.h
@@ -24,11 +24,13 @@ public:
public slots:
void setMargin(int margin);
+ void screenChanged(QScreen *screen);
private:
QString m_diveId;
qreal m_devicePixelRatio;
int m_margin;
ProfileWidget2 *m_profileWidget;
+
signals:
void rightAlignedChanged();
void diveIdChanged();