Add some new options

git-svn-id: http://comictagger.googlecode.com/svn/trunk@370 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-01-30 18:38:30 +00:00
parent c46dda4540
commit 9503d0fef4
2 changed files with 22 additions and 3 deletions

View File

@ -40,11 +40,14 @@ class AutoTagStartWindow(QtGui.QDialog):
self.cbxSaveOnLowConfidence.setCheckState( QtCore.Qt.Unchecked )
self.cbxDontUseYear.setCheckState( QtCore.Qt.Unchecked )
self.cbxAssumeIssueOne.setCheckState( QtCore.Qt.Unchecked )
self.cbxIgnoreLeadingDigitsInFilename.setCheckState( QtCore.Qt.Unchecked )
self.cbxRemoveAfterSuccess.setCheckState( QtCore.Qt.Unchecked )
self.autoSaveOnLow = False
self.dontUseYear = False
self.assumeIssueOne = False
self.ignoreLeadingDigitsInFilename = False
self.removeAfterSuccess = False
def accept( self ):
QtGui.QDialog.accept(self)
@ -52,4 +55,6 @@ class AutoTagStartWindow(QtGui.QDialog):
self.autoSaveOnLow = self.cbxSaveOnLowConfidence.isChecked()
self.dontUseYear = self.cbxDontUseYear.isChecked()
self.assumeIssueOne = self.cbxAssumeIssueOne.isChecked()
self.ignoreLeadingDigitsInFilename = self.cbxIgnoreLeadingDigitsInFilename.isChecked()
self.removeAfterSuccess = self.cbxRemoveAfterSuccess.isChecked()

View File

@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>524</width>
<height>248</height>
<width>530</width>
<height>299</height>
</rect>
</property>
<property name="windowTitle">
@ -70,6 +70,20 @@
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="cbxIgnoreLeadingDigitsInFilename">
<property name="text">
<string>Ignore leading (sequence) numbers in filename</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="cbxRemoveAfterSuccess">
<property name="text">
<string>Remove archives from list after successful tagging</string>
</property>
</widget>
</item>
</layout>
</item>
<item>