diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 21:30:40 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 21:30:40 -0700 |
commit | 2552b027aea21a222b4087d5616c452a4bca1dde (patch) | |
tree | 73dd512863a379db1dbbc0e5058c4f5fd8df2009 /qt-ui/models.h | |
parent | a4d1163d21c5347ac69eee98def182a104db490b (diff) | |
download | subsurface-2552b027aea21a222b4087d5616c452a4bca1dde.tar.gz |
Printing: use more appropriate font sizes
2-up and 6-up need different fonts.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r-- | qt-ui/models.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h index bb73c4f61..0eca7c1b4 100644 --- a/qt-ui/models.h +++ b/qt-ui/models.h @@ -380,6 +380,7 @@ class ProfilePrintModel : public QAbstractTableModel { private: int diveId; + double fontSize; QString truncateString(char *str, const int maxlen) const; public: @@ -388,6 +389,7 @@ public: int columnCount(const QModelIndex &parent = QModelIndex()) const; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; void setDive(struct dive *divePtr); + void setFontsize(double size); }; class GasSelectionModel : public QStringListModel { |