/src/sip/twitter/twitterconfigwidget.ui

http://github.com/tomahawk-player/tomahawk · Unknown · 381 lines · 379 code · 2 blank · 0 comment · 0 complexity · 7e74f0f14dd5ab07a2acc2a647065313 MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TwitterConfigWidget</class>
  4. <widget class="QWidget" name="TwitterConfigWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>580</width>
  10. <height>390</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>580</width>
  22. <height>390</height>
  23. </size>
  24. </property>
  25. <layout class="QVBoxLayout" name="verticalLayout_4">
  26. <item>
  27. <layout class="QHBoxLayout" name="horizontalLayout">
  28. <item>
  29. <spacer name="horizontalSpacer">
  30. <property name="orientation">
  31. <enum>Qt::Horizontal</enum>
  32. </property>
  33. <property name="sizeHint" stdset="0">
  34. <size>
  35. <width>40</width>
  36. <height>0</height>
  37. </size>
  38. </property>
  39. </spacer>
  40. </item>
  41. <item>
  42. <widget class="QLabel" name="label_4">
  43. <property name="sizePolicy">
  44. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  45. <horstretch>0</horstretch>
  46. <verstretch>0</verstretch>
  47. </sizepolicy>
  48. </property>
  49. <property name="text">
  50. <string/>
  51. </property>
  52. <property name="pixmap">
  53. <pixmap resource="resources.qrc">:/twitter-icon.png</pixmap>
  54. </property>
  55. </widget>
  56. </item>
  57. <item>
  58. <widget class="QLabel" name="label">
  59. <property name="sizePolicy">
  60. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  61. <horstretch>0</horstretch>
  62. <verstretch>0</verstretch>
  63. </sizepolicy>
  64. </property>
  65. <property name="font">
  66. <font>
  67. <pointsize>11</pointsize>
  68. <weight>75</weight>
  69. <bold>true</bold>
  70. </font>
  71. </property>
  72. <property name="text">
  73. <string>Configure this Twitter account</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item>
  78. <spacer name="horizontalSpacer_2">
  79. <property name="orientation">
  80. <enum>Qt::Horizontal</enum>
  81. </property>
  82. <property name="sizeType">
  83. <enum>QSizePolicy::Expanding</enum>
  84. </property>
  85. <property name="sizeHint" stdset="0">
  86. <size>
  87. <width>40</width>
  88. <height>0</height>
  89. </size>
  90. </property>
  91. </spacer>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <spacer name="verticalSpacer_4">
  97. <property name="orientation">
  98. <enum>Qt::Vertical</enum>
  99. </property>
  100. <property name="sizeHint" stdset="0">
  101. <size>
  102. <width>20</width>
  103. <height>40</height>
  104. </size>
  105. </property>
  106. </spacer>
  107. </item>
  108. <item>
  109. <layout class="QVBoxLayout" name="verticalLayout">
  110. <item>
  111. <widget class="QLabel" name="twitterInfoLabel">
  112. <property name="sizePolicy">
  113. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  114. <horstretch>0</horstretch>
  115. <verstretch>0</verstretch>
  116. </sizepolicy>
  117. </property>
  118. <property name="text">
  119. <string>The Twitter plugin allows you to discover and play music from your Twitter friends running Tomahawk and post messages to your account.</string>
  120. </property>
  121. <property name="wordWrap">
  122. <bool>true</bool>
  123. </property>
  124. </widget>
  125. </item>
  126. <item>
  127. <layout class="QHBoxLayout" name="horizontalLayout_2">
  128. <item>
  129. <widget class="QLabel" name="twitterStatusLabel">
  130. <property name="sizePolicy">
  131. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  132. <horstretch>0</horstretch>
  133. <verstretch>0</verstretch>
  134. </sizepolicy>
  135. </property>
  136. <property name="text">
  137. <string>Status: No saved credentials</string>
  138. </property>
  139. <property name="textFormat">
  140. <enum>Qt::AutoText</enum>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <spacer name="horizontalSpacer_3">
  146. <property name="orientation">
  147. <enum>Qt::Horizontal</enum>
  148. </property>
  149. <property name="sizeHint" stdset="0">
  150. <size>
  151. <width>40</width>
  152. <height>20</height>
  153. </size>
  154. </property>
  155. </spacer>
  156. </item>
  157. <item>
  158. <widget class="QPushButton" name="twitterAuthenticateButton">
  159. <property name="sizePolicy">
  160. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  161. <horstretch>0</horstretch>
  162. <verstretch>0</verstretch>
  163. </sizepolicy>
  164. </property>
  165. <property name="text">
  166. <string>Authenticate with Twitter</string>
  167. </property>
  168. </widget>
  169. </item>
  170. </layout>
  171. </item>
  172. </layout>
  173. </item>
  174. <item>
  175. <spacer name="verticalSpacer_3">
  176. <property name="orientation">
  177. <enum>Qt::Vertical</enum>
  178. </property>
  179. <property name="sizeHint" stdset="0">
  180. <size>
  181. <width>20</width>
  182. <height>40</height>
  183. </size>
  184. </property>
  185. </spacer>
  186. </item>
  187. <item>
  188. <widget class="QGroupBox" name="twitterSyncGroupBox">
  189. <property name="sizePolicy">
  190. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="title">
  196. <string>Twitter Connections</string>
  197. </property>
  198. <layout class="QVBoxLayout" name="verticalLayout_3">
  199. <item>
  200. <widget class="QLabel" name="twitterInstructionsInfoLabel">
  201. <property name="text">
  202. <string>
  203. If you only want to post tweets, you're done.
  204. If you want to connect Tomahawk to your friends using Twitter, select the type of tweet and press the button below to send a sync message. You must both be following each other as Direct Messages are used. Then be (very) patient -- it can take several minutes!
  205. You can re-send a sync message at any time simply by sending another tweet using the button.</string>
  206. </property>
  207. <property name="wordWrap">
  208. <bool>true</bool>
  209. </property>
  210. </widget>
  211. </item>
  212. <item>
  213. <spacer name="verticalSpacer">
  214. <property name="orientation">
  215. <enum>Qt::Vertical</enum>
  216. </property>
  217. <property name="sizeType">
  218. <enum>QSizePolicy::Expanding</enum>
  219. </property>
  220. <property name="sizeHint" stdset="0">
  221. <size>
  222. <width>20</width>
  223. <height>40</height>
  224. </size>
  225. </property>
  226. </spacer>
  227. </item>
  228. <item>
  229. <layout class="QVBoxLayout" name="twitterTweetVLayout">
  230. <property name="sizeConstraint">
  231. <enum>QLayout::SetFixedSize</enum>
  232. </property>
  233. <item>
  234. <widget class="QLabel" name="twitterGlobalTweetLabel">
  235. <property name="sizePolicy">
  236. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  237. <horstretch>0</horstretch>
  238. <verstretch>0</verstretch>
  239. </sizepolicy>
  240. </property>
  241. <property name="text">
  242. <string>Select the kind of tweet you would like, then press the button to post it:</string>
  243. </property>
  244. </widget>
  245. </item>
  246. <item>
  247. <spacer name="verticalSpacer_2">
  248. <property name="orientation">
  249. <enum>Qt::Vertical</enum>
  250. </property>
  251. <property name="sizeType">
  252. <enum>QSizePolicy::Fixed</enum>
  253. </property>
  254. <property name="sizeHint" stdset="0">
  255. <size>
  256. <width>20</width>
  257. <height>10</height>
  258. </size>
  259. </property>
  260. </spacer>
  261. </item>
  262. <item>
  263. <layout class="QHBoxLayout" name="twitterGlobalTweetHLayout">
  264. <item>
  265. <widget class="QComboBox" name="twitterTweetComboBox">
  266. <property name="sizePolicy">
  267. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  268. <horstretch>0</horstretch>
  269. <verstretch>0</verstretch>
  270. </sizepolicy>
  271. </property>
  272. <item>
  273. <property name="text">
  274. <string>Global Tweet</string>
  275. </property>
  276. </item>
  277. <item>
  278. <property name="text">
  279. <string>@Mention</string>
  280. </property>
  281. </item>
  282. <item>
  283. <property name="text">
  284. <string>Direct Message</string>
  285. </property>
  286. </item>
  287. </widget>
  288. </item>
  289. <item>
  290. <spacer name="horizontalSpacer_4">
  291. <property name="orientation">
  292. <enum>Qt::Horizontal</enum>
  293. </property>
  294. <property name="sizeType">
  295. <enum>QSizePolicy::Fixed</enum>
  296. </property>
  297. <property name="sizeHint" stdset="0">
  298. <size>
  299. <width>10</width>
  300. <height>20</height>
  301. </size>
  302. </property>
  303. </spacer>
  304. </item>
  305. <item>
  306. <widget class="QLineEdit" name="twitterUserTweetLineEdit">
  307. <property name="sizePolicy">
  308. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  309. <horstretch>0</horstretch>
  310. <verstretch>0</verstretch>
  311. </sizepolicy>
  312. </property>
  313. <property name="minimumSize">
  314. <size>
  315. <width>250</width>
  316. <height>0</height>
  317. </size>
  318. </property>
  319. <property name="placeholderText">
  320. <string>e.g. @tomahawk</string>
  321. </property>
  322. </widget>
  323. </item>
  324. <item>
  325. <spacer name="horizontalSpacer_6">
  326. <property name="orientation">
  327. <enum>Qt::Horizontal</enum>
  328. </property>
  329. <property name="sizeType">
  330. <enum>QSizePolicy::Fixed</enum>
  331. </property>
  332. <property name="sizeHint" stdset="0">
  333. <size>
  334. <width>10</width>
  335. <height>20</height>
  336. </size>
  337. </property>
  338. </spacer>
  339. </item>
  340. <item>
  341. <widget class="QPushButton" name="twitterTweetGotTomahawkButton">
  342. <property name="sizePolicy">
  343. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  344. <horstretch>0</horstretch>
  345. <verstretch>0</verstretch>
  346. </sizepolicy>
  347. </property>
  348. <property name="text">
  349. <string>Send Message</string>
  350. </property>
  351. </widget>
  352. </item>
  353. <item>
  354. <spacer name="horizontalSpacer_5">
  355. <property name="orientation">
  356. <enum>Qt::Horizontal</enum>
  357. </property>
  358. <property name="sizeHint" stdset="0">
  359. <size>
  360. <width>40</width>
  361. <height>20</height>
  362. </size>
  363. </property>
  364. </spacer>
  365. </item>
  366. </layout>
  367. </item>
  368. </layout>
  369. </item>
  370. </layout>
  371. </widget>
  372. </item>
  373. </layout>
  374. </widget>
  375. <resources>
  376. <include location="resources.qrc"/>
  377. </resources>
  378. <connections/>
  379. </ui>