This commit is contained in:
Kovid Goyal 2010-09-17 13:10:18 -06:00
parent 228c648d5d
commit f16250c60d
2 changed files with 10 additions and 9 deletions

View File

@ -4,7 +4,7 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''Dialog to edit metadata in bulk'''
from threading import Thread
import os, re, shutil
import re
from PyQt4.Qt import QDialog, QGridLayout
from PyQt4 import QtGui
@ -203,6 +203,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
self.search_for.editTextChanged[str].connect(self.s_r_paint_results)
self.replace_with.editTextChanged[str].connect(self.s_r_paint_results)
self.test_text.editTextChanged[str].connect(self.s_r_paint_results)
self.central_widget.setCurrentIndex(0)
def s_r_field_changed(self, txt):
txt = unicode(txt)

View File

@ -39,7 +39,7 @@
<item>
<widget class="QTabWidget" name="central_widget">
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tabWidgetPage1">
<attribute name="title">
@ -329,16 +329,16 @@ Future conversion of these books will use the default settings.</string>
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="filler">
<property name="text">
<string> </string>
<string/>
</property>
</widget>
</item>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="xlabel_21">
<property name="text">
<string>Search &amp;field:</string>
</property>
@ -348,7 +348,7 @@ Future conversion of these books will use the default settings.</string>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="xlabel_2">
<property name="text">
<string>&amp;Search for:</string>
</property>
@ -358,7 +358,7 @@ Future conversion of these books will use the default settings.</string>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_4">
<widget class="QLabel" name="xlabel_4">
<property name="text">
<string>&amp;Replace with:</string>
</property>
@ -390,7 +390,7 @@ Future conversion of these books will use the default settings.</string>
<widget class="QComboBox" name="replace_func"/>
</item>
<item row="6" column="1">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="xlabel_3">
<property name="text">
<string>Test &amp;text</string>
</property>
@ -410,7 +410,7 @@ Future conversion of these books will use the default settings.</string>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="label_31">
<property name="text">
<string>Your test:</string>
</property>