Add test coverage of GuiManuscriptBuild tool
This commit is contained in:
@@ -229,7 +229,7 @@ class GuiManuscriptBuild(QDialog):
|
||||
self.btnReset.clicked.connect(self._doResetBuildName)
|
||||
self.btnBrowse.clicked.connect(self._doSelectPath)
|
||||
self.dlgButtons.clicked.connect(self._dialogButtonClicked)
|
||||
self.listFormats.itemSelectionChanged.connect(self._formatSelectionChanged)
|
||||
self.listFormats.itemSelectionChanged.connect(self._resetProgress)
|
||||
|
||||
logger.debug("Ready: GuiManuscriptBuild")
|
||||
|
||||
@@ -256,12 +256,6 @@ class GuiManuscriptBuild(QDialog):
|
||||
# Private Slots
|
||||
##
|
||||
|
||||
@pyqtSlot(str, bool)
|
||||
def _applyBuildOptions(self, key: str, state: bool):
|
||||
"""Set the build options for the build."""
|
||||
self._build.setValue(key, state)
|
||||
return
|
||||
|
||||
@pyqtSlot("QAbstractButton*")
|
||||
def _dialogButtonClicked(self, button: QAbstractButton):
|
||||
"""Handle button clicks from the dialog button box."""
|
||||
@@ -292,14 +286,6 @@ class GuiManuscriptBuild(QDialog):
|
||||
self._build.setLastBuildName(bName)
|
||||
return
|
||||
|
||||
@pyqtSlot()
|
||||
def _formatSelectionChanged(self):
|
||||
"""The user selected a different format, so we reset the
|
||||
progress bar.
|
||||
"""
|
||||
self.buildProgress.setValue(0)
|
||||
return
|
||||
|
||||
@pyqtSlot()
|
||||
def _resetProgress(self):
|
||||
"""Set the progress bar back to 0."""
|
||||
|
||||
Reference in New Issue
Block a user