Printing: use more appropriate font sizes

2-up and 6-up need different fonts.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-11 21:30:40 -07:00
parent a4d1163d21
commit 2552b027ae
3 changed files with 9 additions and 1 deletions

View file

@ -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 {