Fix Page flips options box in viewer preferences bot being laid out properly

This commit is contained in:
Kovid Goyal 2017-06-11 17:09:47 +05:30
parent 00be7b7e66
commit d9d4b25da2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -68,7 +68,7 @@ QToolBox::tab:hover {
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>799</width>
<height>370</height> <height>354</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -240,8 +240,8 @@ QToolBox::tab:hover {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>371</width>
<height>370</height> <height>312</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -414,8 +414,8 @@ QToolBox::tab:hover {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>395</width>
<height>370</height> <height>212</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -516,8 +516,8 @@ QToolBox::tab:hover {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>349</width>
<height>370</height> <height>76</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@ -596,179 +596,149 @@ QToolBox::tab:hover {
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>799</width>
<height>370</height> <height>354</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
<string>Page fl&amp;ip/scrolling options</string> <string>Page fl&amp;ip/scrolling options</string>
</attribute> </attribute>
<widget class="QLabel" name="label_11"> <layout class="QVBoxLayout" name="vlayout123">
<property name="geometry"> <item>
<rect> <layout class="QFormLayout" name="formLayout_4">
<x>9</x> <item row="0" column="0">
<y>9</y> <widget class="QLabel" name="label_11">
<width>111</width> <property name="text">
<height>16</height> <string>Page flip &amp;duration:</string>
</rect> </property>
</property> <property name="buddy">
<property name="text"> <cstring>opt_page_flip_duration</cstring>
<string>Page flip &amp;duration:</string> </property>
</property> </widget>
<property name="buddy"> </item>
<cstring>opt_page_flip_duration</cstring> <item row="0" column="1">
</property> <widget class="QDoubleSpinBox" name="opt_page_flip_duration">
</widget> <property name="specialValueText">
<widget class="QDoubleSpinBox" name="opt_page_flip_duration"> <string>disabled</string>
<property name="geometry"> </property>
<rect> <property name="suffix">
<x>251</x> <string> secs</string>
<y>9</y> </property>
<width>76</width> <property name="decimals">
<height>22</height> <number>1</number>
</rect> </property>
</property> <property name="minimum">
<property name="specialValueText"> <double>0.100000000000000</double>
<string>disabled</string> </property>
</property> <property name="maximum">
<property name="suffix"> <double>3.000000000000000</double>
<string> secs</string> </property>
</property> <property name="singleStep">
<property name="decimals"> <double>0.100000000000000</double>
<number>1</number> </property>
</property> <property name="value">
<property name="minimum"> <double>0.500000000000000</double>
<double>0.100000000000000</double> </property>
</property> </widget>
<property name="maximum"> </item>
<double>3.000000000000000</double> <item row="1" column="0">
</property> <widget class="QCheckBox" name="opt_tap_flips_pages">
<property name="singleStep"> <property name="text">
<double>0.100000000000000</double> <string>&amp;Tapping on the page flips pages</string>
</property> </property>
<property name="value"> </widget>
<double>0.500000000000000</double> </item>
</property> <item row="2" column="0">
</widget> <widget class="QCheckBox" name="opt_wheel_flips_pages">
<widget class="QGroupBox" name="groupBox"> <property name="text">
<property name="geometry"> <string>Mouse &amp;wheel flips pages</string>
<rect> </property>
<x>9</x> </widget>
<y>115</y> </item>
<width>374</width> <item row="3" column="0">
<height>91</height> <widget class="QCheckBox" name="opt_line_scrolling_stops_on_pagebreaks">
</rect> <property name="text">
</property> <string>Line &amp;scrolling stops at page breaks</string>
<property name="title"> </property>
<string>Scrolling in flow mode</string> </widget>
</property> </item>
<layout class="QFormLayout" name="formLayout_3"> <item row="4" column="0" colspan="2">
<item row="0" column="0"> <widget class="QGroupBox" name="groupBox">
<widget class="QLabel" name="label_29"> <property name="title">
<property name="text"> <string>Scrolling in flow mode</string>
<string>Control the amount the mouse &amp;wheel scrolls:</string> </property>
</property> <layout class="QFormLayout" name="formLayout_3">
<property name="buddy"> <item row="0" column="0">
<cstring>opt_wheel_scroll_fraction</cstring> <widget class="QLabel" name="label_29">
</property> <property name="text">
</widget> <string>Control the amount the mouse &amp;wheel scrolls:</string>
</item> </property>
<item row="0" column="1"> <property name="buddy">
<widget class="QSpinBox" name="opt_wheel_scroll_fraction"> <cstring>opt_wheel_scroll_fraction</cstring>
<property name="toolTip"> </property>
<string>This is a percentage, by making it less than 100 you can decrease the amount the wheel scrolls by, by making it more than 100 you can increase the scroll amount.</string> </widget>
</property> </item>
<property name="suffix"> <item row="0" column="1">
<string> %</string> <widget class="QSpinBox" name="opt_wheel_scroll_fraction">
</property> <property name="toolTip">
<property name="minimum"> <string>This is a percentage, by making it less than 100 you can decrease the amount the wheel scrolls by, by making it more than 100 you can increase the scroll amount.</string>
<number>1</number> </property>
</property> <property name="suffix">
<property name="maximum"> <string> %</string>
<number>2000</number> </property>
</property> <property name="minimum">
<property name="singleStep"> <number>1</number>
<number>5</number> </property>
</property> <property name="maximum">
</widget> <number>100</number>
</item> </property>
<item row="1" column="0"> <property name="singleStep">
<widget class="QLabel" name="label_30"> <number>5</number>
<property name="text"> </property>
<string>Control the amount the arrow &amp;keys scroll:</string> </widget>
</property> </item>
<property name="buddy"> <item row="1" column="0">
<cstring>opt_line_scroll_fraction</cstring> <widget class="QLabel" name="label_30">
</property> <property name="text">
</widget> <string>Control the amount the arrow &amp;keys scroll:</string>
</item> </property>
<item row="1" column="1"> <property name="buddy">
<widget class="QSpinBox" name="opt_line_scroll_fraction"> <cstring>opt_line_scroll_fraction</cstring>
<property name="toolTip"> </property>
<string>This is a percentage, by making it less than 100 you can decrease the amount the arrow keys scroll by, by making it more than 100 you can increase the scroll amount.</string> </widget>
</property> </item>
<property name="suffix"> <item row="1" column="1">
<string> %</string> <widget class="QSpinBox" name="opt_line_scroll_fraction">
</property> <property name="toolTip">
<property name="minimum"> <string>This is a percentage, by making it less than 100 you can decrease the amount the arrow keys scroll by, by making it more than 100 you can increase the scroll amount.</string>
<number>1</number> </property>
</property> <property name="suffix">
<property name="maximum"> <string> %</string>
<number>2000</number> </property>
</property> <property name="minimum">
<property name="singleStep"> <number>1</number>
<number>5</number> </property>
</property> <property name="maximum">
</widget> <number>100</number>
</item> </property>
</layout> <property name="singleStep">
</widget> <number>5</number>
<widget class="QCheckBox" name="opt_tap_flips_pages"> </property>
<property name="geometry"> </widget>
<rect> </item>
<x>9</x> </layout>
<y>37</y> </widget>
<width>219</width> </item>
<height>20</height> </layout>
</rect> </item>
</property> </layout>
<property name="text">
<string>&amp;Tapping on the page flips pages</string>
</property>
</widget>
<widget class="QCheckBox" name="opt_wheel_flips_pages">
<property name="geometry">
<rect>
<x>9</x>
<y>63</y>
<width>174</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Mouse &amp;wheel flips pages</string>
</property>
</widget>
<widget class="QCheckBox" name="opt_line_scrolling_stops_on_pagebreaks">
<property name="geometry">
<rect>
<x>9</x>
<y>89</y>
<width>236</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Line &amp;scrolling stops at page breaks</string>
</property>
</widget>
</widget> </widget>
<widget class="QWidget" name="page_4"> <widget class="QWidget" name="page_4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>799</width> <width>505</width>
<height>370</height> <height>304</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">