Make gui class debug messages consistent
This commit is contained in:
@@ -44,7 +44,7 @@ class GuiLipsum(QDialog):
|
||||
def __init__(self, mainGui):
|
||||
super().__init__(parent=mainGui)
|
||||
|
||||
logger.debug("Initialising GuiLipsum ...")
|
||||
logger.debug("Create: GuiLipsum")
|
||||
self.setObjectName("GuiLipsum")
|
||||
|
||||
self.mainGui = mainGui
|
||||
@@ -107,10 +107,14 @@ class GuiLipsum(QDialog):
|
||||
self.outerBox.setSpacing(CONFIG.pxInt(16))
|
||||
self.setLayout(self.outerBox)
|
||||
|
||||
logger.debug("GuiLipsum initialisation complete")
|
||||
logger.debug("Ready: GuiLipsum")
|
||||
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Delete: GuiLipsum")
|
||||
return
|
||||
|
||||
##
|
||||
# Slots
|
||||
##
|
||||
|
||||
@@ -35,8 +35,18 @@ class GuiManuscriptBuild(QDialog):
|
||||
|
||||
def __init__(self, parent: QWidget):
|
||||
super().__init__(parent=parent)
|
||||
|
||||
logger.debug("Create: GuiManuscriptBuild")
|
||||
self.setObjectName("GuiManuscriptBuild")
|
||||
|
||||
self._parent = parent
|
||||
|
||||
logger.debug("Ready: GuiManuscriptBuild")
|
||||
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Delete: GuiManuscriptBuild")
|
||||
return
|
||||
|
||||
# END Class GuiManuscriptBuild
|
||||
|
||||
@@ -56,7 +56,7 @@ class GuiManuscript(QDialog):
|
||||
def __init__(self, mainGui: GuiMain):
|
||||
super().__init__(parent=mainGui)
|
||||
|
||||
logger.debug("Created: GuiManuscript")
|
||||
logger.debug("Create: GuiManuscript")
|
||||
self.setObjectName("GuiManuscript")
|
||||
|
||||
self.mainGui = mainGui
|
||||
@@ -166,7 +166,7 @@ class GuiManuscript(QDialog):
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Deleted: GuiManuscript")
|
||||
logger.debug("Delete: GuiManuscript")
|
||||
return
|
||||
|
||||
def loadContent(self):
|
||||
|
||||
@@ -68,7 +68,7 @@ class GuiBuildSettings(QDialog):
|
||||
def __init__(self, parent: QWidget, mainGui: GuiMain, build: BuildSettings):
|
||||
super().__init__(parent=parent)
|
||||
|
||||
logger.debug("Created: GuiBuildSettings")
|
||||
logger.debug("Create: GuiBuildSettings")
|
||||
self.setObjectName("GuiBuildSettings")
|
||||
|
||||
self.mainGui = mainGui
|
||||
@@ -164,7 +164,7 @@ class GuiBuildSettings(QDialog):
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Deleted: GuiBuildSettings")
|
||||
logger.debug("Delete: GuiBuildSettings")
|
||||
|
||||
def loadContent(self):
|
||||
"""Populate the child widgets.
|
||||
|
||||
@@ -50,7 +50,7 @@ class GuiProjectWizard(QWizard):
|
||||
def __init__(self, mainGui):
|
||||
super().__init__(parent=mainGui)
|
||||
|
||||
logger.debug("Initialising GuiProjectWizard ...")
|
||||
logger.debug("Create: GuiProjectWizard")
|
||||
self.setObjectName("GuiProjectWizard")
|
||||
|
||||
self.mainGui = mainGui
|
||||
@@ -76,10 +76,14 @@ class GuiProjectWizard(QWizard):
|
||||
|
||||
self.setOption(QWizard.NoBackButtonOnStartPage, True)
|
||||
|
||||
logger.debug("GuiProjectWizard initialisation complete")
|
||||
logger.debug("Ready: GuiProjectWizard")
|
||||
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Delete: GuiProjectWizard")
|
||||
return
|
||||
|
||||
# END Class GuiProjectWizard
|
||||
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class GuiWritingStats(QDialog):
|
||||
def __init__(self, mainGui):
|
||||
super().__init__(parent=mainGui)
|
||||
|
||||
logger.debug("Initialising GuiWritingStats ...")
|
||||
logger.debug("Create: GuiWritingStats")
|
||||
self.setObjectName("GuiWritingStats")
|
||||
|
||||
self.mainGui = mainGui
|
||||
@@ -286,10 +286,14 @@ class GuiWritingStats(QDialog):
|
||||
|
||||
self.setLayout(self.outerBox)
|
||||
|
||||
logger.debug("GuiWritingStats initialisation complete")
|
||||
logger.debug("Ready: GuiWritingStats")
|
||||
|
||||
return
|
||||
|
||||
def __del__(self):
|
||||
logger.debug("Delete: GuiWritingStats")
|
||||
return
|
||||
|
||||
def populateGUI(self):
|
||||
"""Populate list box with data from the log file.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user