Print: setup for a new profile table layout

- Adjust the new rows and column count
- Set new row and column spans

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2013-11-30 14:38:54 +02:00
parent d668f5dc8e
commit 3b7500fd33
2 changed files with 15 additions and 24 deletions

View file

@ -1593,12 +1593,12 @@ void ProfilePrintModel::setDive(struct dive *divePtr)
int ProfilePrintModel::rowCount(const QModelIndex &parent) const
{
return 11;
return 12;
}
int ProfilePrintModel::columnCount(const QModelIndex &parent) const
{
return 7;
return 5;
}
QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const