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> <number>2</number>
<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>
</property>
<widget class="QWidget" name="CSVFileBibles">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>361</width>
<height>298</height>
</rect>
</property>
<property name="accessibleName">
<string/>
</property>
<attribute name="label">
<string>CVS File Import</string>
</attribute>
</widget>
<widget class="QWidget" name="page">
<attribute name="label">
<string>OSIS XML Bible Import</string>
</attribute>
</widget>
<widget class="QWidget" name="WebBibles">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>361</width>
<height>298</height>
</rect>
</property>
<attribute name="label">
<string>Web Bible Download</string>
</attribute>
<widget class="QComboBox" name="comboBox">
<property name="geometry">
<rect>
<x>123</x>
<y>20</y>
<width>221</width>
<height>22</height>
</rect>
</property> </property>
</widget> <widget class="QWidget" name="CSVImportPage" >
<widget class="QGroupBox" name="groupBox"> <property name="geometry" >
<property name="geometry">
<rect>
<x>50</x>
<y>140</y>
<width>271</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Web Access (Optional)</string>
</property>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect> <rect>
<x>40</x> <x>0</x>
<y>50</y> <y>0</y>
<width>79</width> <width>424</width>
<height>17</height> <height>343</height>
</rect> </rect>
</property> </property>
<property name="text"> <property name="accessibleName" >
<string>User Id</string> <string/>
</property> </property>
<attribute name="label" >
<string>CVS File Import</string>
</attribute>
</widget> </widget>
<widget class="QLabel" name="label_2"> <widget class="QWidget" name="OSISImportPage" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>40</x> <x>0</x>
<y>30</y> <y>0</y>
<width>91</width> <width>424</width>
<height>20</height> <height>343</height>
</rect> </rect>
</property> </property>
<property name="text"> <attribute name="label" >
<string>Proxy Address</string> <string>OSIS XML Bible Import</string>
</property> </attribute>
</widget> </widget>
<widget class="QLabel" name="label_4"> <widget class="QWidget" name="WebBiblePage" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>40</x> <x>0</x>
<y>80</y> <y>0</y>
<width>54</width> <width>424</width>
<height>17</height> <height>343</height>
</rect> </rect>
</property> </property>
<property name="text"> <attribute name="label" >
<string>Passord</string> <string>Web Bible Download</string>
</property> </attribute>
</widget> <layout class="QVBoxLayout" name="WebBibleLayout" >
<widget class="QWidget" name=""> <property name="spacing" >
<property name="geometry"> <number>8</number>
<rect> </property>
<x>150</x> <property name="margin" >
<y>20</y> <number>8</number>
<width>112</width> </property>
<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>
<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>
<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>
<item> <item>
<widget class="QLineEdit" name="lineEdit_2"/> <widget class="QGroupBox" name="ProxyGroupBox" >
</item> <property name="title" >
<item> <string>Proxy Settings (Optional)</string>
<widget class="QLineEdit" name="lineEdit_3"/> </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>