| 1 |
<ui version="4.0" > |
| 2 |
<author></author> |
| 3 |
<comment></comment> |
| 4 |
<exportmacro></exportmacro> |
| 5 |
<class>QSqlConnectionDialogUi</class> |
| 6 |
<widget class="QDialog" name="QSqlConnectionDialogUi" > |
| 7 |
<property name="geometry" > |
| 8 |
<rect> |
| 9 |
<x>0</x> |
| 10 |
<y>0</y> |
| 11 |
<width>315</width> |
| 12 |
<height>302</height> |
| 13 |
</rect> |
| 14 |
</property> |
| 15 |
<property name="windowTitle" > |
| 16 |
<string>Connect...</string> |
| 17 |
</property> |
| 18 |
<layout class="QVBoxLayout" > |
| 19 |
<property name="margin" > |
| 20 |
<number>8</number> |
| 21 |
</property> |
| 22 |
<property name="spacing" > |
| 23 |
<number>6</number> |
| 24 |
</property> |
| 25 |
<item> |
| 26 |
<widget class="QGroupBox" name="connGroupBox" > |
| 27 |
<property name="title" > |
| 28 |
<string>Connection settings</string> |
| 29 |
</property> |
| 30 |
<layout class="QGridLayout" > |
| 31 |
<property name="margin" > |
| 32 |
<number>8</number> |
| 33 |
</property> |
| 34 |
<property name="spacing" > |
| 35 |
<number>6</number> |
| 36 |
</property> |
| 37 |
<item row="0" column="1" > |
| 38 |
<widget class="QComboBox" name="comboDriver" /> |
| 39 |
</item> |
| 40 |
<item row="2" column="0" > |
| 41 |
<widget class="QLabel" name="textLabel4" > |
| 42 |
<property name="text" > |
| 43 |
<string>&Username:</string> |
| 44 |
</property> |
| 45 |
<property name="buddy" > |
| 46 |
<cstring>editUsername</cstring> |
| 47 |
</property> |
| 48 |
</widget> |
| 49 |
</item> |
| 50 |
<item row="0" column="0" > |
| 51 |
<widget class="QLabel" name="textLabel2" > |
| 52 |
<property name="text" > |
| 53 |
<string>D&river</string> |
| 54 |
</property> |
| 55 |
<property name="buddy" > |
| 56 |
<cstring>comboDriver</cstring> |
| 57 |
</property> |
| 58 |
</widget> |
| 59 |
</item> |
| 60 |
<item row="1" column="1" > |
| 61 |
<widget class="QLineEdit" name="editDatabase" /> |
| 62 |
</item> |
| 63 |
<item row="5" column="1" > |
| 64 |
<widget class="QSpinBox" name="portSpinBox" > |
| 65 |
<property name="specialValueText" > |
| 66 |
<string>Default</string> |
| 67 |
</property> |
| 68 |
<property name="maximum" > |
| 69 |
<number>65535</number> |
| 70 |
</property> |
| 71 |
<property name="minimum" > |
| 72 |
<number>-1</number> |
| 73 |
</property> |
| 74 |
<property name="value" > |
| 75 |
<number>-1</number> |
| 76 |
</property> |
| 77 |
</widget> |
| 78 |
</item> |
| 79 |
<item row="1" column="0" > |
| 80 |
<widget class="QLabel" name="textLabel3" > |
| 81 |
<property name="text" > |
| 82 |
<string>Database Name:</string> |
| 83 |
</property> |
| 84 |
<property name="buddy" > |
| 85 |
<cstring>editDatabase</cstring> |
| 86 |
</property> |
| 87 |
</widget> |
| 88 |
</item> |
| 89 |
<item row="3" column="1" > |
| 90 |
<widget class="QLineEdit" name="editPassword" > |
| 91 |
<property name="echoMode" > |
| 92 |
<enum>QLineEdit::Password</enum> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item row="2" column="1" > |
| 97 |
<widget class="QLineEdit" name="editUsername" /> |
| 98 |
</item> |
| 99 |
<item row="4" column="1" > |
| 100 |
<widget class="QLineEdit" name="editHostname" /> |
| 101 |
</item> |
| 102 |
<item row="4" column="0" > |
| 103 |
<widget class="QLabel" name="textLabel5" > |
| 104 |
<property name="text" > |
| 105 |
<string>&Hostname:</string> |
| 106 |
</property> |
| 107 |
<property name="buddy" > |
| 108 |
<cstring>editHostname</cstring> |
| 109 |
</property> |
| 110 |
</widget> |
| 111 |
</item> |
| 112 |
<item row="5" column="0" > |
| 113 |
<widget class="QLabel" name="textLabel5_2" > |
| 114 |
<property name="text" > |
| 115 |
<string>P&ort:</string> |
| 116 |
</property> |
| 117 |
<property name="buddy" > |
| 118 |
<cstring>portSpinBox</cstring> |
| 119 |
</property> |
| 120 |
</widget> |
| 121 |
</item> |
| 122 |
<item row="3" column="0" > |
| 123 |
<widget class="QLabel" name="textLabel4_2" > |
| 124 |
<property name="text" > |
| 125 |
<string>&Password:</string> |
| 126 |
</property> |
| 127 |
<property name="buddy" > |
| 128 |
<cstring>editPassword</cstring> |
| 129 |
</property> |
| 130 |
</widget> |
| 131 |
</item> |
| 132 |
</layout> |
| 133 |
</widget> |
| 134 |
</item> |
| 135 |
<item> |
| 136 |
<layout class="QHBoxLayout" > |
| 137 |
<property name="margin" > |
| 138 |
<number>0</number> |
| 139 |
</property> |
| 140 |
<property name="spacing" > |
| 141 |
<number>6</number> |
| 142 |
</property> |
| 143 |
<item> |
| 144 |
<spacer> |
| 145 |
<property name="orientation" > |
| 146 |
<enum>Qt::Horizontal</enum> |
| 147 |
</property> |
| 148 |
<property name="sizeHint" > |
| 149 |
<size> |
| 150 |
<width>40</width> |
| 151 |
<height>20</height> |
| 152 |
</size> |
| 153 |
</property> |
| 154 |
</spacer> |
| 155 |
</item> |
| 156 |
<item> |
| 157 |
<widget class="QCheckBox" name="dbCheckBox" > |
| 158 |
<property name="text" > |
| 159 |
<string>Us&e predefined in-memory database</string> |
| 160 |
</property> |
| 161 |
</widget> |
| 162 |
</item> |
| 163 |
</layout> |
| 164 |
</item> |
| 165 |
<item> |
| 166 |
<layout class="QHBoxLayout" > |
| 167 |
<property name="margin" > |
| 168 |
<number>0</number> |
| 169 |
</property> |
| 170 |
<property name="spacing" > |
| 171 |
<number>6</number> |
| 172 |
</property> |
| 173 |
<item> |
| 174 |
<spacer> |
| 175 |
<property name="orientation" > |
| 176 |
<enum>Qt::Horizontal</enum> |
| 177 |
</property> |
| 178 |
<property name="sizeType" > |
| 179 |
<enum>QSizePolicy::Expanding</enum> |
| 180 |
</property> |
| 181 |
<property name="sizeHint" > |
| 182 |
<size> |
| 183 |
<width>20</width> |
| 184 |
<height>20</height> |
| 185 |
</size> |
| 186 |
</property> |
| 187 |
</spacer> |
| 188 |
</item> |
| 189 |
<item> |
| 190 |
<widget class="QPushButton" name="okButton" > |
| 191 |
<property name="text" > |
| 192 |
<string>&OK</string> |
| 193 |
</property> |
| 194 |
<property name="default" > |
| 195 |
<bool>true</bool> |
| 196 |
</property> |
| 197 |
</widget> |
| 198 |
</item> |
| 199 |
<item> |
| 200 |
<widget class="QPushButton" name="cancelButton" > |
| 201 |
<property name="text" > |
| 202 |
<string>&Cancel</string> |
| 203 |
</property> |
| 204 |
</widget> |
| 205 |
</item> |
| 206 |
</layout> |
| 207 |
</item> |
| 208 |
</layout> |
| 209 |
</widget> |
| 210 |
<pixmapfunction></pixmapfunction> |
| 211 |
<tabstops> |
| 212 |
<tabstop>comboDriver</tabstop> |
| 213 |
<tabstop>editDatabase</tabstop> |
| 214 |
<tabstop>editUsername</tabstop> |
| 215 |
<tabstop>editPassword</tabstop> |
| 216 |
<tabstop>editHostname</tabstop> |
| 217 |
<tabstop>portSpinBox</tabstop> |
| 218 |
<tabstop>dbCheckBox</tabstop> |
| 219 |
<tabstop>okButton</tabstop> |
| 220 |
<tabstop>cancelButton</tabstop> |
| 221 |
</tabstops> |
| 222 |
<resources/> |
| 223 |
<connections/> |
| 224 |
</ui> |