From 621905c62439f781285175f87669d6f063419b0a Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Wed, 28 Nov 2012 21:44:45 +0000 Subject: [PATCH] More settings window layout stuff. Added tooltips for id config fields git-svn-id: http://comictagger.googlecode.com/svn/trunk@117 6c5673fe-1810-88d6-992b-cd32ca31540c --- settingswindow.py | 18 +++++ settingswindow.ui | 163 ++++++++++++++++++++++------------------------ 2 files changed, 95 insertions(+), 86 deletions(-) diff --git a/settingswindow.py b/settingswindow.py index 843a3be..2161d6e 100644 --- a/settingswindow.py +++ b/settingswindow.py @@ -70,6 +70,24 @@ class SettingsWindow(QtGui.QDialog): elif platform.system() == "Darwin": self.lblRarHelp.setText( macRarHelp ) + nldtTip = ( + """ The Name Length Delta Threshold is for eliminating automatic + search matches that are too long compared to your series name search. The higher + it is, the more likely to have a good match, but each search will take longer and + use more bandwidth. Too low, and only the very closest lexical matches will be + explored.""" ) + + self.leNameLengthDeltaThresh.setToolTip(nldtTip) + + pblTip = ( + """ + The Publisher Blacklist is for eliminating automatic matches to certain publishers + that you know are incorrect. Useful for avoiding international re-prints with same + covers or series names. Enter publisher names separated by commas. + """ + ) + self.tePublisherBlacklist.setToolTip(pblTip) + self.settingsToForm() self.btnBrowseRar.clicked.connect(self.selectRar) diff --git a/settingswindow.ui b/settingswindow.ui index c04c2a5..1fd0baf 100644 --- a/settingswindow.ui +++ b/settingswindow.ui @@ -6,8 +6,8 @@ 0 0 - 701 - 475 + 679 + 437 @@ -35,66 +35,71 @@ - - - - - - 0 - 0 - - - - Default Settings - - - - - - - - 0 - 0 - - - - Revert to default settings - - - true - - - - - - - - 0 - 0 - - - - Clear Cache - - - - - - - - 0 - 0 - - - - If you need to free up the disk space, or the responses seems out of date, clear the online cache. - - - true - - - - + + + + + + + + + + 0 + 0 + + + + Default Settings + + + + + + + + 0 + 0 + + + + Revert to default settings + + + true + + + + + + + + 0 + 0 + + + + Clear Cache + + + + + + + + 0 + 0 + + + + If you need to free up the disk space, or the responses seems out of date, clear the online cache. + + + true + + + + + @@ -242,7 +247,7 @@ - <html><head/><body><p>These settings are for the automatic issue identifier which searches online for matches. They will not affect &quot;manual&quot; searching.</p></body></html> + <html><head/><body><p>These settings are for the automatic issue identifier which searches online for matches. They will not affect &quot;manual&quot; searching.</p><p>Hover the mouse over the entry field for more info.</p></body></html> true @@ -261,24 +266,17 @@ QFormLayout::AllNonFixedFieldsGrow - - - - <html><head/><body><p>The &quot;Name Length Delta Threshold&quot; is for eliminating automatic search matches that are too long compared to your series name search. The higher it is, the more likely to have a good match, but each search will take longer and use more bandwidth. Too low, and only the very closest lexical matches will be explored.</p></body></html> - - - true - - - - + + + + Name Length Delta Threshold: - + @@ -286,26 +284,19 @@ 0 - - - - - - <html><head/><body><p>The &quot;Publisher Blacklist&quot; is for eliminating automatic matches to certain publishers that you know are incorrect. Useful for avoiding international re-prints with same covers or series names. Enter publisher names separated by commas.</p></body></html> - - - true + + - + Publisher Blacklist: - +