PageRenderTime 224ms CodeModel.GetById 140ms app.highlight 4ms RepoModel.GetById 77ms app.codeStats 0ms

/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>
203If you only want to post tweets, you're done.
204
205If 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!
206
207You can re-send a sync message at any time simply by sending another tweet using the button.</string>
208        </property>
209        <property name="wordWrap">
210         <bool>true</bool>
211        </property>
212       </widget>
213      </item>
214      <item>
215       <spacer name="verticalSpacer">
216        <property name="orientation">
217         <enum>Qt::Vertical</enum>
218        </property>
219        <property name="sizeType">
220         <enum>QSizePolicy::Expanding</enum>
221        </property>
222        <property name="sizeHint" stdset="0">
223         <size>
224          <width>20</width>
225          <height>40</height>
226         </size>
227        </property>
228       </spacer>
229      </item>
230      <item>
231       <layout class="QVBoxLayout" name="twitterTweetVLayout">
232        <property name="sizeConstraint">
233         <enum>QLayout::SetFixedSize</enum>
234        </property>
235        <item>
236         <widget class="QLabel" name="twitterGlobalTweetLabel">
237          <property name="sizePolicy">
238           <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
239            <horstretch>0</horstretch>
240            <verstretch>0</verstretch>
241           </sizepolicy>
242          </property>
243          <property name="text">
244           <string>Select the kind of tweet you would like, then press the button to post it:</string>
245          </property>
246         </widget>
247        </item>
248        <item>
249         <spacer name="verticalSpacer_2">
250          <property name="orientation">
251           <enum>Qt::Vertical</enum>
252          </property>
253          <property name="sizeType">
254           <enum>QSizePolicy::Fixed</enum>
255          </property>
256          <property name="sizeHint" stdset="0">
257           <size>
258            <width>20</width>
259            <height>10</height>
260           </size>
261          </property>
262         </spacer>
263        </item>
264        <item>
265         <layout class="QHBoxLayout" name="twitterGlobalTweetHLayout">
266          <item>
267           <widget class="QComboBox" name="twitterTweetComboBox">
268            <property name="sizePolicy">
269             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
270              <horstretch>0</horstretch>
271              <verstretch>0</verstretch>
272             </sizepolicy>
273            </property>
274            <item>
275             <property name="text">
276              <string>Global Tweet</string>
277             </property>
278            </item>
279            <item>
280             <property name="text">
281              <string>@Mention</string>
282             </property>
283            </item>
284            <item>
285             <property name="text">
286              <string>Direct Message</string>
287             </property>
288            </item>
289           </widget>
290          </item>
291          <item>
292           <spacer name="horizontalSpacer_4">
293            <property name="orientation">
294             <enum>Qt::Horizontal</enum>
295            </property>
296            <property name="sizeType">
297             <enum>QSizePolicy::Fixed</enum>
298            </property>
299            <property name="sizeHint" stdset="0">
300             <size>
301              <width>10</width>
302              <height>20</height>
303             </size>
304            </property>
305           </spacer>
306          </item>
307          <item>
308           <widget class="QLineEdit" name="twitterUserTweetLineEdit">
309            <property name="sizePolicy">
310             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
311              <horstretch>0</horstretch>
312              <verstretch>0</verstretch>
313             </sizepolicy>
314            </property>
315            <property name="minimumSize">
316             <size>
317              <width>250</width>
318              <height>0</height>
319             </size>
320            </property>
321            <property name="placeholderText">
322             <string>e.g. @tomahawk</string>
323            </property>
324           </widget>
325          </item>
326          <item>
327           <spacer name="horizontalSpacer_6">
328            <property name="orientation">
329             <enum>Qt::Horizontal</enum>
330            </property>
331            <property name="sizeType">
332             <enum>QSizePolicy::Fixed</enum>
333            </property>
334            <property name="sizeHint" stdset="0">
335             <size>
336              <width>10</width>
337              <height>20</height>
338             </size>
339            </property>
340           </spacer>
341          </item>
342          <item>
343           <widget class="QPushButton" name="twitterTweetGotTomahawkButton">
344            <property name="sizePolicy">
345             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
346              <horstretch>0</horstretch>
347              <verstretch>0</verstretch>
348             </sizepolicy>
349            </property>
350            <property name="text">
351             <string>Send Message</string>
352            </property>
353           </widget>
354          </item>
355          <item>
356           <spacer name="horizontalSpacer_5">
357            <property name="orientation">
358             <enum>Qt::Horizontal</enum>
359            </property>
360            <property name="sizeHint" stdset="0">
361             <size>
362              <width>40</width>
363              <height>20</height>
364             </size>
365            </property>
366           </spacer>
367          </item>
368         </layout>
369        </item>
370       </layout>
371      </item>
372     </layout>
373    </widget>
374   </item>
375  </layout>
376 </widget>
377 <resources>
378  <include location="resources.qrc"/>
379 </resources>
380 <connections/>
381</ui>