Remove debug code
This commit is contained in:
@@ -117,18 +117,6 @@ class GuiDocViewer(QTextBrowser):
|
|||||||
self.theHandle = tHandle
|
self.theHandle = tHandle
|
||||||
self.theProject.setLastViewed(tHandle)
|
self.theProject.setLastViewed(tHandle)
|
||||||
|
|
||||||
print("")
|
|
||||||
print("*"*140)
|
|
||||||
print("")
|
|
||||||
print(aDoc.theResult)
|
|
||||||
print("")
|
|
||||||
print("*"*140)
|
|
||||||
print("")
|
|
||||||
print(self.toHtml())
|
|
||||||
print("")
|
|
||||||
print("*"*140)
|
|
||||||
print("")
|
|
||||||
|
|
||||||
self.theParent.docMeta.refreshReferences(tHandle)
|
self.theParent.docMeta.refreshReferences(tHandle)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
@@ -183,8 +171,8 @@ class GuiDocViewer(QTextBrowser):
|
|||||||
|
|
||||||
styleSheet = (
|
styleSheet = (
|
||||||
"body {{"
|
"body {{"
|
||||||
" font-size: {textSize:.1f}pt;"
|
|
||||||
" color: rgb({tColR},{tColG},{tColB});"
|
" color: rgb({tColR},{tColG},{tColB});"
|
||||||
|
" font-size: {textSize:.1f}pt;"
|
||||||
"}}\n"
|
"}}\n"
|
||||||
"h1, h2, h3, h4 {{"
|
"h1, h2, h3, h4 {{"
|
||||||
" color: rgb({hColR},{hColG},{hColB});"
|
" color: rgb({hColR},{hColG},{hColB});"
|
||||||
@@ -233,8 +221,6 @@ class GuiDocViewer(QTextBrowser):
|
|||||||
)
|
)
|
||||||
self.qDocument.setDefaultStyleSheet(styleSheet)
|
self.qDocument.setDefaultStyleSheet(styleSheet)
|
||||||
|
|
||||||
print(styleSheet)
|
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# END Class GuiDocViewer
|
# END Class GuiDocViewer
|
||||||
|
|||||||
Reference in New Issue
Block a user