Fixed up layouts, padding, etc.

bzr-revno: 101
This commit is contained in:
Raoul Snyman 2008-11-20 20:34:28 +00:00
parent 38442b0eb2
commit 7bc079274a
1 changed files with 198 additions and 161 deletions

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" >
<ui version="4.0"> <class>BibleImportDialog</class>
<class>Dialog</class> <widget class="QDialog" name="BibleImportDialog" >
<widget class="QDialog" name="Dialog"> <property name="geometry" >
<property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -10,211 +9,249 @@
<height>494</height> <height>494</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle" >
<string>Bible Registration</string> <string>Bible Registration</string>
</property> </property>
<widget class="QDialogButtonBox" name="buttonBox"> <layout class="QVBoxLayout" name="BibleImportLayout" >
<property name="geometry"> <property name="spacing" >
<rect> <number>8</number>
<x>110</x>
<y>450</y>
<width>341</width>
<height>32</height>
</rect>
</property> </property>
<property name="orientation"> <property name="margin" >
<enum>Qt::Horizontal</enum> <number>8</number>
</property> </property>
<property name="standardButtons"> <item>
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <widget class="QToolBox" name="ImportToolBox" >
</property> <property name="currentIndex" >
</widget>
<widget class="QToolBox" name="toolBox">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>361</width>
<height>391</height>
</rect>
</property>
<property name="currentIndex">
<number>2</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="CSVFileBibles"> <widget class="QWidget" name="CSVImportPage" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>361</width> <width>424</width>
<height>298</height> <height>343</height>
</rect> </rect>
</property> </property>
<property name="accessibleName"> <property name="accessibleName" >
<string/> <string/>
</property> </property>
<attribute name="label"> <attribute name="label" >
<string>CVS File Import</string> <string>CVS File Import</string>
</attribute> </attribute>
</widget> </widget>
<widget class="QWidget" name="page"> <widget class="QWidget" name="OSISImportPage" >
<attribute name="label"> <property name="geometry" >
<string>OSIS XML Bible Import</string>
</attribute>
</widget>
<widget class="QWidget" name="WebBibles">
<property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>361</width> <width>424</width>
<height>298</height> <height>343</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label" >
<string>OSIS XML Bible Import</string>
</attribute>
</widget>
<widget class="QWidget" name="WebBiblePage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>424</width>
<height>343</height>
</rect>
</property>
<attribute name="label" >
<string>Web Bible Download</string> <string>Web Bible Download</string>
</attribute> </attribute>
<widget class="QComboBox" name="comboBox"> <layout class="QVBoxLayout" name="WebBibleLayout" >
<property name="geometry"> <property name="spacing" >
<rect> <number>8</number>
<x>123</x>
<y>20</y>
<width>221</width>
<height>22</height>
</rect>
</property> </property>
</widget> <property name="margin" >
<widget class="QGroupBox" name="groupBox"> <number>8</number>
<property name="geometry">
<rect>
<x>50</x>
<y>140</y>
<width>271</width>
<height>121</height>
</rect>
</property> </property>
<property name="title">
<string>Web Access (Optional)</string>
</property>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>40</x>
<y>50</y>
<width>79</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>User Id</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>40</x>
<y>30</y>
<width>91</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Proxy Address</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>40</x>
<y>80</y>
<width>54</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Passord</string>
</property>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>150</x>
<y>20</y>
<width>112</width>
<height>83</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QLineEdit" name="lineEdit"/> <widget class="QGroupBox" name="OptionsGroupBox" >
<property name="title" >
<string>Download Options</string>
</property>
<layout class="QFormLayout" name="OptionsLayout" >
<property name="labelAlignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="formAlignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="horizontalSpacing" >
<number>8</number>
</property>
<property name="verticalSpacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="LocationLabel" >
<property name="text" >
<string>Location:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="LocationComboBox" >
<item>
<property name="text" >
<string>BibleGateway</string>
</property>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_2"/> <property name="text" >
<string>CrossWire</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="TypeLabel" >
<property name="text" >
<string>Type:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="TypeComboBox" >
<item>
<property name="text" >
<string>Download As Needed</string>
</property>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_3"/> <property name="text" >
<string>Download All</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="BibleLabel" >
<property name="text" >
<string>Bible:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="BibleComboBox" >
<item>
<property name="text" >
<string>NIV</string>
</property>
</item>
<item>
<property name="text" >
<string>KJV</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="ProxyGroupBox" >
<property name="title" >
<string>Proxy Settings (Optional)</string>
</property>
<layout class="QFormLayout" name="ProxySettingsLayout" >
<property name="horizontalSpacing" >
<number>8</number>
</property>
<property name="verticalSpacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="AddressLabel" >
<property name="text" >
<string>Proxy Address:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="AddressEdit" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="UsernameLabel" >
<property name="text" >
<string>Username:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="UsernameEdit" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="PasswordLabel" >
<property name="text" >
<string>Password:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLineEdit" name="PasswordEdit" />
</item>
</layout>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
<widget class="QCheckBox" name="checkBox"> </item>
<property name="geometry"> <item>
<rect> <widget class="QDialogButtonBox" name="BibleImportButtonBox" >
<x>120</x> <property name="orientation" >
<y>0</y> <enum>Qt::Horizontal</enum>
<width>111</width>
<height>21</height>
</rect>
</property> </property>
<property name="text"> <property name="standardButtons" >
<string>Download Now</string> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label"> </item>
<property name="geometry"> </layout>
<rect>
<x>10</x>
<y>20</y>
<width>91</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Avaliable Bibles</string>
</property>
</widget>
</widget>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>BibleImportButtonBox</sender>
<signal>accepted()</signal> <signal>accepted()</signal>
<receiver>Dialog</receiver> <receiver>BibleImportDialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel" >
<x>248</x> <x>248</x>
<y>254</y> <y>254</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel" >
<x>157</x> <x>157</x>
<y>274</y> <y>274</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
<connection> <connection>
<sender>buttonBox</sender> <sender>BibleImportButtonBox</sender>
<signal>rejected()</signal> <signal>rejected()</signal>
<receiver>Dialog</receiver> <receiver>BibleImportDialog</receiver>
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel" >
<x>316</x> <x>316</x>
<y>260</y> <y>260</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel" >
<x>286</x> <x>286</x>
<y>274</y> <y>274</y>
</hint> </hint>