/src/sip/jabber/configwidget.ui

http://github.com/tomahawk-player/tomahawk · Unknown · 318 lines · 318 code · 0 blank · 0 comment · 0 complexity · cc40e393cbb474cb475447d9f35422ea MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>JabberConfig</class>
  4. <widget class="QWidget" name="JabberConfig">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>451</width>
  10. <height>335</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Jabber Configuration</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <item>
  20. <spacer name="horizontalSpacer">
  21. <property name="orientation">
  22. <enum>Qt::Horizontal</enum>
  23. </property>
  24. <property name="sizeHint" stdset="0">
  25. <size>
  26. <width>40</width>
  27. <height>20</height>
  28. </size>
  29. </property>
  30. </spacer>
  31. </item>
  32. <item>
  33. <widget class="QLabel" name="logoLabel">
  34. <property name="text">
  35. <string/>
  36. </property>
  37. <property name="pixmap">
  38. <pixmap resource="resources.qrc">:/jabber-icon.png</pixmap>
  39. </property>
  40. </widget>
  41. </item>
  42. <item>
  43. <widget class="QLabel" name="headerLabel">
  44. <property name="font">
  45. <font>
  46. <pointsize>11</pointsize>
  47. <weight>75</weight>
  48. <bold>true</bold>
  49. </font>
  50. </property>
  51. <property name="text">
  52. <string>Configure this Jabber account</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item>
  57. <spacer name="horizontalSpacer_2">
  58. <property name="orientation">
  59. <enum>Qt::Horizontal</enum>
  60. </property>
  61. <property name="sizeHint" stdset="0">
  62. <size>
  63. <width>40</width>
  64. <height>20</height>
  65. </size>
  66. </property>
  67. </spacer>
  68. </item>
  69. </layout>
  70. </item>
  71. <item>
  72. <layout class="QHBoxLayout" name="horizontalLayout_2">
  73. <item>
  74. <spacer name="horizontalSpacer_3">
  75. <property name="orientation">
  76. <enum>Qt::Horizontal</enum>
  77. </property>
  78. <property name="sizeHint" stdset="0">
  79. <size>
  80. <width>40</width>
  81. <height>20</height>
  82. </size>
  83. </property>
  84. </spacer>
  85. </item>
  86. <item>
  87. <widget class="QLabel" name="jabberBlurb">
  88. <property name="text">
  89. <string>Enter your Jabber login to connect with your friends using Tomahawk!</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <spacer name="horizontalSpacer_4">
  95. <property name="orientation">
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="sizeHint" stdset="0">
  99. <size>
  100. <width>40</width>
  101. <height>20</height>
  102. </size>
  103. </property>
  104. </spacer>
  105. </item>
  106. </layout>
  107. </item>
  108. <item>
  109. <widget class="QGroupBox" name="groupBox">
  110. <property name="title">
  111. <string>Login Information</string>
  112. </property>
  113. <layout class="QVBoxLayout" name="verticalLayout">
  114. <item>
  115. <layout class="QHBoxLayout" name="horizontalLayout_8">
  116. <item>
  117. <widget class="QLabel" name="emailLabel">
  118. <property name="sizePolicy">
  119. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  120. <horstretch>0</horstretch>
  121. <verstretch>0</verstretch>
  122. </sizepolicy>
  123. </property>
  124. <property name="minimumSize">
  125. <size>
  126. <width>0</width>
  127. <height>0</height>
  128. </size>
  129. </property>
  130. <property name="text">
  131. <string>Jabber ID:</string>
  132. </property>
  133. <property name="buddy">
  134. <cstring>jabberUsername</cstring>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QLineEdit" name="jabberUsername">
  140. <property name="sizePolicy">
  141. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  142. <horstretch>0</horstretch>
  143. <verstretch>0</verstretch>
  144. </sizepolicy>
  145. </property>
  146. <property name="placeholderText">
  147. <string>e.g. user@example.com</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item>
  152. <widget class="QLabel" name="label_4">
  153. <property name="sizePolicy">
  154. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  155. <horstretch>0</horstretch>
  156. <verstretch>0</verstretch>
  157. </sizepolicy>
  158. </property>
  159. <property name="text">
  160. <string>Password:</string>
  161. </property>
  162. <property name="buddy">
  163. <cstring>jabberPassword</cstring>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="QLineEdit" name="jabberPassword">
  169. <property name="sizePolicy">
  170. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  171. <horstretch>0</horstretch>
  172. <verstretch>0</verstretch>
  173. </sizepolicy>
  174. </property>
  175. <property name="inputMask">
  176. <string/>
  177. </property>
  178. <property name="echoMode">
  179. <enum>QLineEdit::Password</enum>
  180. </property>
  181. </widget>
  182. </item>
  183. </layout>
  184. </item>
  185. <item>
  186. <widget class="QLabel" name="jidExistsLabel">
  187. <property name="text">
  188. <string>An account with this name already exists!</string>
  189. </property>
  190. <property name="alignment">
  191. <set>Qt::AlignCenter</set>
  192. </property>
  193. </widget>
  194. </item>
  195. </layout>
  196. </widget>
  197. </item>
  198. <item>
  199. <widget class="QGroupBox" name="groupBoxJabberAdvanced">
  200. <property name="enabled">
  201. <bool>true</bool>
  202. </property>
  203. <property name="sizePolicy">
  204. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  205. <horstretch>0</horstretch>
  206. <verstretch>0</verstretch>
  207. </sizepolicy>
  208. </property>
  209. <property name="title">
  210. <string>Advanced Jabber Settings</string>
  211. </property>
  212. <layout class="QHBoxLayout" name="horizontalLayout_5">
  213. <item>
  214. <layout class="QHBoxLayout" name="horizontalLayout_3">
  215. <item>
  216. <widget class="QLabel" name="labelJabberServer">
  217. <property name="sizePolicy">
  218. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  219. <horstretch>0</horstretch>
  220. <verstretch>0</verstretch>
  221. </sizepolicy>
  222. </property>
  223. <property name="minimumSize">
  224. <size>
  225. <width>50</width>
  226. <height>0</height>
  227. </size>
  228. </property>
  229. <property name="text">
  230. <string>Server:</string>
  231. </property>
  232. <property name="alignment">
  233. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  234. </property>
  235. <property name="buddy">
  236. <cstring>jabberServer</cstring>
  237. </property>
  238. </widget>
  239. </item>
  240. <item>
  241. <widget class="QLineEdit" name="jabberServer">
  242. <property name="sizePolicy">
  243. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  244. <horstretch>0</horstretch>
  245. <verstretch>0</verstretch>
  246. </sizepolicy>
  247. </property>
  248. </widget>
  249. </item>
  250. <item>
  251. <widget class="QLabel" name="labelJabberPort">
  252. <property name="text">
  253. <string>Port:</string>
  254. </property>
  255. <property name="alignment">
  256. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  257. </property>
  258. </widget>
  259. </item>
  260. <item>
  261. <widget class="QSpinBox" name="jabberPort">
  262. <property name="sizePolicy">
  263. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  264. <horstretch>0</horstretch>
  265. <verstretch>0</verstretch>
  266. </sizepolicy>
  267. </property>
  268. <property name="minimumSize">
  269. <size>
  270. <width>90</width>
  271. <height>0</height>
  272. </size>
  273. </property>
  274. <property name="maximumSize">
  275. <size>
  276. <width>90</width>
  277. <height>16777215</height>
  278. </size>
  279. </property>
  280. <property name="alignment">
  281. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  282. </property>
  283. <property name="minimum">
  284. <number>1</number>
  285. </property>
  286. <property name="maximum">
  287. <number>65535</number>
  288. </property>
  289. <property name="value">
  290. <number>5222</number>
  291. </property>
  292. </widget>
  293. </item>
  294. </layout>
  295. </item>
  296. </layout>
  297. </widget>
  298. </item>
  299. <item>
  300. <spacer name="verticalSpacer">
  301. <property name="orientation">
  302. <enum>Qt::Vertical</enum>
  303. </property>
  304. <property name="sizeHint" stdset="0">
  305. <size>
  306. <width>20</width>
  307. <height>5</height>
  308. </size>
  309. </property>
  310. </spacer>
  311. </item>
  312. </layout>
  313. </widget>
  314. <resources>
  315. <include location="resources.qrc"/>
  316. </resources>
  317. <connections/>
  318. </ui>