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>
This commit is contained in:
Dirk Hohndel 2015-12-29 09:50:47 -08:00
parent 9df3835035
commit ef653b41f5
3 changed files with 13 additions and 2 deletions

View file

@ -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();