qa: Avoid deprecation warnings for QList/QSet conversions
[quassel.git] / src / qtui / settingspages / chatviewsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ChatViewSettingsPage</class>
4  <widget class="QWidget" name="ChatViewSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>514</width>
10     <height>306</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout">
19      <item>
20       <widget class="QCheckBox" name="customTimestampFormat">
21        <property name="toolTip">
22         <string>Use a custom format for the timestamp</string>
23        </property>
24        <property name="text">
25         <string>Custom timestamp format:</string>
26        </property>
27        <property name="defaultValue" stdset="0">
28         <bool>false</bool>
29        </property>
30        <property name="settingsKey" stdset="0">
31         <string notr="true">UseCustomTimestampFormat</string>
32        </property>
33       </widget>
34      </item>
35      <item>
36       <widget class="QLineEdit" name="timestampFormat">
37        <property name="enabled">
38         <bool>false</bool>
39        </property>
40        <property name="toolTip">
41         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Usage examples:&lt;/p&gt;
42 &lt;table cellpadding=&quot;2&quot;&gt;
43 &lt;tr&gt;&lt;td&gt;dd.MM.yyyy&lt;/td&gt;&lt;td&gt;21.05.2001&lt;/td&gt;&lt;/tr&gt;
44 &lt;tr&gt;&lt;td&gt;ddd MMMM d yy&lt;/td&gt;&lt;td&gt;Tue May 21 01&lt;/td&gt;&lt;/tr&gt;
45 &lt;tr&gt;&lt;td&gt;hh:mm:ss.zzz&lt;/td&gt;&lt;td&gt;14:13:09.042&lt;/td&gt;&lt;/tr&gt;
46 &lt;tr&gt;&lt;td&gt;h:m:s ap&lt;/td&gt;&lt;td&gt;2:13:9 pm&lt;/td&gt;&lt;/tr&gt;
47 &lt;/table&gt;
48 &lt;/body&gt;&lt;/html&gt;</string>
49        </property>
50        <property name="text">
51         <string/>
52        </property>
53        <property name="defaultValue" stdset="0">
54         <string> hh:mm:ss</string>
55        </property>
56        <property name="settingsKey" stdset="0">
57         <string notr="true">TimestampFormat</string>
58        </property>
59       </widget>
60      </item>
61      <item>
62       <spacer name="horizontalSpacer">
63        <property name="orientation">
64         <enum>Qt::Horizontal</enum>
65        </property>
66        <property name="sizeHint" stdset="0">
67         <size>
68          <width>40</width>
69          <height>20</height>
70         </size>
71        </property>
72       </spacer>
73      </item>
74     </layout>
75    </item>
76    <item>
77     <widget class="QCheckBox" name="showSenderBrackets">
78      <property name="toolTip">
79       <string>Shows &lt;brackets&gt; around the names of senders</string>
80      </property>
81      <property name="text">
82       <string>Show brackets around sender names</string>
83      </property>
84      <property name="checked">
85       <bool>false</bool>
86      </property>
87      <property name="defaultValue" stdset="0">
88       <bool>false</bool>
89      </property>
90      <property name="settingsKey" stdset="0">
91       <string notr="true">ShowSenderBrackets</string>
92      </property>
93     </widget>
94    </item>
95    <item>
96     <layout class="QHBoxLayout" name="horizontalLayout_2">
97      <item>
98       <widget class="QLabel" name="label">
99        <property name="text">
100         <string>Show sender modes before nicknames:</string>
101        </property>
102       </widget>
103      </item>
104      <item>
105       <widget class="QComboBox" name="senderPrefixComboBox">
106        <property name="toolTip">
107         <string>&lt;qt&gt;&lt;style&gt;.bold { font-weight: bold; } .italic { font-style: italic; } .underline { text-decoration: underline; }&lt;/style&gt;
108 &lt;p&gt;&lt;span class=&quot;bold&quot;&gt;Sender modes:&lt;/span&gt;&lt;/p&gt;
109 &lt;p&gt;&lt;span class=&quot;underline&quot;&gt;No modes:&lt;/span&gt; Don't show any modes&lt;br/&gt;&lt;span class=&quot;italic&quot;&gt;Example:&lt;/span&gt; &amp;lt;nickname&amp;gt;&lt;/p&gt;
110 &lt;p&gt;&lt;span class=&quot;underline&quot;&gt;Highest mode:&lt;/span&gt; Show only the highest active mode&lt;br/&gt;&lt;span class=&quot;italic&quot;&gt;Example:&lt;/span&gt; &amp;lt;@nickname&amp;gt;&lt;/p&gt;
111 &lt;p&gt;&lt;span class=&quot;underline&quot;&gt;All modes:&lt;/span&gt; Show all active modes&lt;br/&gt;&lt;span class=&quot;italic&quot;&gt;Example:&lt;/span&gt; &amp;lt;@+nickname&amp;gt;&lt;/p&gt;
112 &lt;/qt&gt;</string>
113        </property>
114        <property name="defaultValue" stdset="0">
115         <number>1</number>
116        </property>
117        <property name="settingsKey" stdset="0">
118         <string notr="true">SenderPrefixMode</string>
119        </property>
120       </widget>
121      </item>
122      <item>
123       <spacer name="horizontalSpacer_2">
124        <property name="orientation">
125         <enum>Qt::Horizontal</enum>
126        </property>
127        <property name="sizeHint" stdset="0">
128         <size>
129          <width>40</width>
130          <height>20</height>
131         </size>
132        </property>
133       </spacer>
134      </item>
135     </layout>
136    </item>
137    <item>
138     <layout class="QHBoxLayout" name="horizontalLayout_3">
139      <item>
140       <widget class="QCheckBox" name="customChatViewFont">
141        <property name="text">
142         <string>Custom chat window font:</string>
143        </property>
144        <property name="checked">
145         <bool>false</bool>
146        </property>
147        <property name="settingsKey" stdset="0">
148         <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
149        </property>
150        <property name="defaultValue" stdset="0">
151         <bool>false</bool>
152        </property>
153       </widget>
154      </item>
155      <item>
156       <widget class="FontSelector" name="chatViewFont" native="true">
157        <property name="enabled">
158         <bool>false</bool>
159        </property>
160        <property name="settingsKey" stdset="0">
161         <string notr="true">/QtUiStyle/Fonts/ChatView</string>
162        </property>
163        <property name="defaultValue" stdset="0">
164         <font>
165          <family>Monospace</family>
166         </font>
167        </property>
168       </widget>
169      </item>
170     </layout>
171    </item>
172    <item>
173     <widget class="QCheckBox" name="showWebPreview">
174      <property name="toolTip">
175       <string>Show a website preview window when hovering the mouse over a web address</string>
176      </property>
177      <property name="text">
178       <string>Show previews of webpages on URL hover</string>
179      </property>
180      <property name="checked">
181       <bool>false</bool>
182      </property>
183      <property name="defaultValue" stdset="0">
184       <bool>false</bool>
185      </property>
186      <property name="settingsKey" stdset="0">
187       <string notr="true">ShowWebPreview</string>
188      </property>
189     </widget>
190    </item>
191    <item>
192     <widget class="QCheckBox" name="autoMarkerLine">
193      <property name="toolTip">
194       <string>Set the marker line to the bottom of the current chat window when selecting another channel</string>
195      </property>
196      <property name="text">
197       <string>Set marker line automatically when switching chats</string>
198      </property>
199      <property name="checked">
200       <bool>true</bool>
201      </property>
202      <property name="settingsKey" stdset="0">
203       <string notr="true">AutoMarkerLine</string>
204      </property>
205      <property name="defaultValue" stdset="0">
206       <bool>true</bool>
207      </property>
208     </widget>
209    </item>
210    <item>
211     <widget class="QCheckBox" name="autoMarkerLineOnLostFocus">
212      <property name="toolTip">
213       <string>Set the marker line to the bottom of the current chat window when Quassel loses focus.</string>
214      </property>
215      <property name="text">
216       <string>Set marker line automatically when Quassel loses focus</string>
217      </property>
218      <property name="checked">
219       <bool>true</bool>
220      </property>
221      <property name="settingsKey" stdset="0">
222       <string notr="true">AutoMarkerLineOnLostFocus</string>
223      </property>
224      <property name="defaultValue" stdset="0">
225       <bool>true</bool>
226      </property>
227     </widget>
228    </item>
229    <item>
230     <layout class="QHBoxLayout" name="horizontalLayout_4">
231      <item>
232       <widget class="QLabel" name="label_2">
233        <property name="text">
234         <string>Web Search URL:</string>
235        </property>
236       </widget>
237      </item>
238      <item>
239       <widget class="QLineEdit" name="webSearchUrlFormat">
240        <property name="toolTip">
241         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The URL to open with the selected text as the parameter. Place &lt;span style=&quot; font-weight:600;&quot;&gt;%s&lt;/span&gt; where selected text should go.&lt;/p&gt;&lt;p&gt;Eg:&lt;/p&gt;&lt;p&gt;https://www.google.com/search?q=&lt;span style=&quot; font-weight:600;&quot;&gt;%s&lt;br/&gt;&lt;/span&gt;https://duckduckgo.com/?q=&lt;span style=&quot; font-weight:600;&quot;&gt;%s&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
242        </property>
243        <property name="settingsKey" stdset="0">
244         <string notr="true">WebSearchUrlFormat</string>
245        </property>
246        <property name="defaultValue" stdset="0">
247         <string>https://www.google.com/search?q=%s</string>
248        </property>
249       </widget>
250      </item>
251     </layout>
252    </item>
253    <item>
254     <spacer name="verticalSpacer">
255      <property name="orientation">
256       <enum>Qt::Vertical</enum>
257      </property>
258      <property name="sizeHint" stdset="0">
259       <size>
260        <width>20</width>
261        <height>19</height>
262       </size>
263      </property>
264     </spacer>
265    </item>
266   </layout>
267  </widget>
268  <customwidgets>
269   <customwidget>
270    <class>FontSelector</class>
271    <extends>QWidget</extends>
272    <header>fontselector.h</header>
273    <container>1</container>
274   </customwidget>
275  </customwidgets>
276  <tabstops>
277   <tabstop>customTimestampFormat</tabstop>
278   <tabstop>timestampFormat</tabstop>
279   <tabstop>showSenderBrackets</tabstop>
280   <tabstop>senderPrefixComboBox</tabstop>
281   <tabstop>customChatViewFont</tabstop>
282   <tabstop>showWebPreview</tabstop>
283   <tabstop>autoMarkerLine</tabstop>
284   <tabstop>autoMarkerLineOnLostFocus</tabstop>
285   <tabstop>webSearchUrlFormat</tabstop>
286  </tabstops>
287  <resources/>
288  <connections>
289   <connection>
290    <sender>customChatViewFont</sender>
291    <signal>toggled(bool)</signal>
292    <receiver>chatViewFont</receiver>
293    <slot>setEnabled(bool)</slot>
294    <hints>
295     <hint type="sourcelabel">
296      <x>205</x>
297      <y>48</y>
298     </hint>
299     <hint type="destinationlabel">
300      <x>304</x>
301      <y>50</y>
302     </hint>
303    </hints>
304   </connection>
305   <connection>
306    <sender>customTimestampFormat</sender>
307    <signal>toggled(bool)</signal>
308    <receiver>timestampFormat</receiver>
309    <slot>setEnabled(bool)</slot>
310    <hints>
311     <hint type="sourcelabel">
312      <x>116</x>
313      <y>22</y>
314     </hint>
315     <hint type="destinationlabel">
316      <x>301</x>
317      <y>23</y>
318     </hint>
319    </hints>
320   </connection>
321  </connections>
322 </ui>