mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Print: show column titles for table print
Patch does: - set individual column width and name (held in tableColumnNames, tableColumnWidths) - reduce font size in the table - more small tweaks in the style sheet TODO: finish printing all dive data Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
af1c55c29d
commit
eab31855f5
2 changed files with 65 additions and 8 deletions
|
|
@ -23,12 +23,17 @@ private:
|
|||
qreal scaleX, scaleY;
|
||||
QRect pageRect;
|
||||
|
||||
QStringList tableColumnNames;
|
||||
QStringList tableColumnWidths;
|
||||
|
||||
void setup();
|
||||
void printSixDives();
|
||||
void printTwoDives();
|
||||
void printTable();
|
||||
QString insertTableHeadingRow();
|
||||
QString insertTableDataRow(struct dive *dive);
|
||||
QString insertTableHeadingCol(int);
|
||||
QString insertTableDataRow(struct dive *);
|
||||
QString insertTableDataCol(QString);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue