diff --git a/nw/gui/docviewer.py b/nw/gui/docviewer.py new file mode 100644 index 00000000..9aa654ab --- /dev/null +++ b/nw/gui/docviewer.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +"""novelWriter GUI Document Viewer + + novelWriter – GUI Document Viewer +=================================== + Class holding the document html viewer + + File History: + Created: 2019-05-10 [0.0.1] + +""" + +import logging +import nw + +from PyQt5.QtWidgets import QTextBrowser + +logger = logging.getLogger(__name__) + +class GuiDocViewer(QTextBrowser): + + def __init__(self, theParent): + QTextBrowser.__init__(self) + + logger.debug("Initialising DocViewer ...") + + # Class Variables + self.mainConf = nw.CONFIG + self.theParent = theParent + + logger.debug("DocViewer initialisation complete") + + return + +# END Class GuiDocViewer