We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83169d9 commit 7644df1Copy full SHA for 7644df1
nw/gui/docviewer.py
@@ -0,0 +1,35 @@
1
+# -*- coding: utf-8 -*-
2
+"""novelWriter GUI Document Viewer
3
+
4
+ novelWriter – GUI Document Viewer
5
+===================================
6
+ Class holding the document html viewer
7
8
+ File History:
9
+ Created: 2019-05-10 [0.0.1]
10
11
+"""
12
13
+import logging
14
+import nw
15
16
+from PyQt5.QtWidgets import QTextBrowser
17
18
+logger = logging.getLogger(__name__)
19
20
+class GuiDocViewer(QTextBrowser):
21
22
+ def __init__(self, theParent):
23
+ QTextBrowser.__init__(self)
24
25
+ logger.debug("Initialising DocViewer ...")
26
27
+ # Class Variables
28
+ self.mainConf = nw.CONFIG
29
+ self.theParent = theParent
30
31
+ logger.debug("DocViewer initialisation complete")
32
33
+ return
34
35
+# END Class GuiDocViewer
0 commit comments