Added the GuiDocViewer class

This commit is contained in:
Veronica K. B. Olsen
2019-05-10 18:33:32 +02:00
parent 83169d9075
commit 7644df1c52
+35
View File
@@ -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