mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add scroll bar. Increase number of books to 10
This commit is contained in:
parent
633ee05d19
commit
acec240ef8
@ -190,7 +190,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
|||||||
self.destination_field.addItems(fields)
|
self.destination_field.addItems(fields)
|
||||||
self.destination_field.setMaxVisibleItems(min(len(fields), 20))
|
self.destination_field.setMaxVisibleItems(min(len(fields), 20))
|
||||||
offset = 10
|
offset = 10
|
||||||
self.s_r_number_of_books = min(7, len(self.ids))
|
self.s_r_number_of_books = min(10, len(self.ids))
|
||||||
for i in range(1,self.s_r_number_of_books+1):
|
for i in range(1,self.s_r_number_of_books+1):
|
||||||
w = QtGui.QLabel(self.tabWidgetPage3)
|
w = QtGui.QLabel(self.tabWidgetPage3)
|
||||||
w.setText(_('Book %d:')%i)
|
w.setText(_('Book %d:')%i)
|
||||||
|
@ -319,7 +319,7 @@ Future conversion of these books will use the default settings.</string>
|
|||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>&Search and replace (experimental)</string>
|
<string>&Search and replace (experimental)</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="testgrid">
|
<layout class="QGridLayout" name="vargrid">
|
||||||
<property name="sizeConstraint">
|
<property name="sizeConstraint">
|
||||||
<enum>QLayout::SetMinimumSize</enum>
|
<enum>QLayout::SetMinimumSize</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -406,6 +406,12 @@ Future conversion of these books will use the default settings.</string>
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Enter the what you are looking for, either plain text or a regular expression, depending on the mode</string>
|
<string>Enter the what you are looking for, either plain text or a regular expression, depending on the mode</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>100</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="2">
|
<item row="4" column="2">
|
||||||
@ -558,19 +564,33 @@ nothing should be put between the original text and the inserted text</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="0">
|
<item row="9" column="0" colspan="4">
|
||||||
<widget class="QLabel" name="label_31">
|
<widget class="QScrollArea" name="scrollArea11">
|
||||||
<property name="text">
|
<property name="frameShape">
|
||||||
<string>Your test:</string>
|
<enum>QFrame::NoFrame</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="widgetResizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="gridLayoutWidget_2">
|
||||||
|
<layout class="QGridLayout" name="testgrid">
|
||||||
|
<item row="8" column="0">
|
||||||
|
<widget class="QLabel" name="label_31">
|
||||||
|
<property name="text">
|
||||||
|
<string>Your test:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="8" column="1">
|
||||||
|
<widget class="HistoryLineEdit" name="test_text"/>
|
||||||
|
</item>
|
||||||
|
<item row="8" column="2">
|
||||||
|
<widget class="QLineEdit" name="test_result"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="1">
|
|
||||||
<widget class="HistoryLineEdit" name="test_text"/>
|
|
||||||
</item>
|
|
||||||
<item row="8" column="2">
|
|
||||||
<widget class="QLineEdit" name="test_result"/>
|
|
||||||
</item>
|
|
||||||
<item row="20" column="1">
|
<item row="20" column="1">
|
||||||
<spacer name="verticalSpacer">
|
<spacer name="verticalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user