diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-02-16 22:44:37 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-20 09:42:29 -0800 |
commit | 4f2a7dc972cc6c4bb9a22950b49a6877313a0bb1 (patch) | |
tree | 56bb3092efd11438bb4819018b2d9edf02ea853e /scripts | |
parent | 8bf804a764aecaa4a6c5636f62ba5ef61f8262d3 (diff) | |
download | subsurface-4f2a7dc972cc6c4bb9a22950b49a6877313a0bb1.tar.gz |
Remove default stylesheet from planner output
Remove the default stylesheet ("Courier" 13pt) from the planner output QTextEdit.
Remove the content of the html property of the QTextEdit because we overwrite it when doing setHtml.
After printing copy the original dive notes string displayed_dive.notes back to the QTextEdit
Advantages:
Display is according to font settings.
ctrl - mousewheel for zoom always works.
Drawbacks:
Printing font is same as display font but can be adjusted by zooming before.
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions