cmake: avoid de-duplication of user's CXXFLAGS
[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;
42          &lt;p&gt;Accepts Qt QDateTime Format.&lt;/p&gt;
43          &lt;p&gt;Examples:&lt;/p&gt;
44          &lt;table cellpadding=&quot;2&quot;&gt;
45          &lt;tr&gt;&lt;td&gt;dd.MM.yyyy&lt;/td&gt;&lt;td&gt;21.05.2001&lt;/td&gt;&lt;/tr&gt;
46          &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;
47          &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;
48          &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;
49          &lt;/table&gt;
50          &lt;/body&gt;&lt;/html&gt;</string>
51        </property>
52        <property name="text">
53         <string/>
54        </property>
55        <property name="defaultValue" stdset="0">
56         <string> hh:mm:ss</string>
57        </property>
58        <property name="settingsKey" stdset="0">
59         <string notr="true">TimestampFormat</string>
60        </property>
61       </widget>
62      </item>
63      <item>
64       <spacer name="horizontalSpacer">
65        <property name="orientation">
66         <enum>Qt::Horizontal</enum>
67        </property>
68        <property name="sizeHint" stdset="0">
69         <size>
70          <width>40</width>
71          <height>20</height>
72         </size>
73        </property>
74       </spacer>
75      </item>
76     </layout>
77    </item>
78    <item>
79     <widget class="QCheckBox" name="showSenderBrackets">
80      <property name="toolTip">
81       <string>Shows &lt;brackets&gt; around the names of senders</string>
82      </property>
83      <property name="text">
84       <string>Show brackets around sender names</string>
85      </property>
86      <property name="checked">
87       <bool>false</bool>
88      </property>
89      <property name="defaultValue" stdset="0">
90       <bool>false</bool>
91      </property>
92      <property name="settingsKey" stdset="0">
93       <string notr="true">ShowSenderBrackets</string>
94      </property>
95     </widget>
96    </item>
97    <item>
98     <layout class="QHBoxLayout" name="horizontalLayout_2">
99      <item>
100       <widget class="QLabel" name="label">
101        <property name="text">
102         <string>Show sender modes before nicknames:</string>
103        </property>
104       </widget>
105      </item>
106      <item>
107       <widget class="QComboBox" name="senderPrefixComboBox">
108        <property name="toolTip">
109         <string>&lt;qt&gt;&lt;style&gt;.bold { font-weight: bold; } .italic { font-style: italic; } .underline { text-decoration: underline; }&lt;/style&gt;
110 &lt;p&gt;&lt;span class=&quot;bold&quot;&gt;Sender modes:&lt;/span&gt;&lt;/p&gt;
111 &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;
112 &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;
113 &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;
114 &lt;/qt&gt;</string>
115        </property>
116        <property name="defaultValue" stdset="0">
117         <number>1</number>
118        </property>
119        <property name="settingsKey" stdset="0">
120         <string notr="true">SenderPrefixMode</string>
121        </property>
122       </widget>
123      </item>
124      <item>
125       <spacer name="horizontalSpacer_2">
126        <property name="orientation">
127         <enum>Qt::Horizontal</enum>
128        </property>
129        <property name="sizeHint" stdset="0">
130         <size>
131          <width>40</width>
132          <height>20</height>
133         </size>
134        </property>
135       </spacer>
136      </item>
137     </layout>
138    </item>
139    <item>
140     <layout class="QHBoxLayout" name="horizontalLayout_3">
141      <item>
142       <widget class="QCheckBox" name="customChatViewFont">
143        <property name="text">
144         <string>Custom chat window font:</string>
145        </property>
146        <property name="checked">
147         <bool>false</bool>
148        </property>
149        <property name="settingsKey" stdset="0">
150         <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
151        </property>
152        <property name="defaultValue" stdset="0">
153         <bool>false</bool>
154        </property>
155       </widget>
156      </item>
157      <item>
158       <widget class="FontSelector" name="chatViewFont" native="true">
159        <property name="enabled">
160         <bool>false</bool>
161        </property>
162        <property name="settingsKey" stdset="0">
163         <string notr="true">/QtUiStyle/Fonts/ChatView</string>
164        </property>
165        <property name="defaultValue" stdset="0">
166         <font>
167          <family>Monospace</family>
168         </font>
169        </property>
170       </widget>
171      </item>
172     </layout>
173    </item>
174    <item>
175     <widget class="QCheckBox" name="showWebPreview">
176      <property name="toolTip">
177       <string>Show a website preview window when hovering the mouse over a web address</string>
178      </property>
179      <property name="text">
180       <string>Show previews of webpages on URL hover</string>
181      </property>
182      <property name="checked">
183       <bool>false</bool>
184      </property>
185      <property name="defaultValue" stdset="0">
186       <bool>false</bool>
187      </property>
188      <property name="settingsKey" stdset="0">
189       <string notr="true">ShowWebPreview</string>
190      </property>
191     </widget>
192    </item>
193    <item>
194     <widget class="QCheckBox" name="autoMarkerLine">
195      <property name="toolTip">
196       <string>Set the marker line to the bottom of the current chat window when selecting another channel</string>
197      </property>
198      <property name="text">
199       <string>Set marker line automatically when switching chats</string>
200      </property>
201      <property name="checked">
202       <bool>true</bool>
203      </property>
204      <property name="settingsKey" stdset="0">
205       <string notr="true">AutoMarkerLine</string>
206      </property>
207      <property name="defaultValue" stdset="0">
208       <bool>true</bool>
209      </property>
210     </widget>
211    </item>
212    <item>
213     <widget class="QCheckBox" name="autoMarkerLineOnLostFocus">
214      <property name="toolTip">
215       <string>Set the marker line to the bottom of the current chat window when Quassel loses focus.</string>
216      </property>
217      <property name="text">
218       <string>Set marker line automatically when Quassel loses focus</string>
219      </property>
220      <property name="checked">
221       <bool>true</bool>
222      </property>
223      <property name="settingsKey" stdset="0">
224       <string notr="true">AutoMarkerLineOnLostFocus</string>
225      </property>
226      <property name="defaultValue" stdset="0">
227       <bool>true</bool>
228      </property>
229     </widget>
230    </item>
231    <item>
232     <layout class="QHBoxLayout" name="horizontalLayout_4">
233      <item>
234       <widget class="QLabel" name="label_2">
235        <property name="text">
236         <string>Web Search URL:</string>
237        </property>
238       </widget>
239      </item>
240      <item>
241       <widget class="QLineEdit" name="webSearchUrlFormat">
242        <property name="toolTip">
243         <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>
244        </property>
245        <property name="settingsKey" stdset="0">
246         <string notr="true">WebSearchUrlFormat</string>
247        </property>
248        <property name="defaultValue" stdset="0">
249         <string>https://www.google.com/search?q=%s</string>
250        </property>
251       </widget>
252      </item>
253     </layout>
254    </item>
255    <item>
256     <spacer name="verticalSpacer">
257      <property name="orientation">
258       <enum>Qt::Vertical</enum>
259      </property>
260      <property name="sizeHint" stdset="0">
261       <size>
262        <width>20</width>
263        <height>19</height>
264       </size>
265      </property>
266     </spacer>
267    </item>
268   </layout>
269  </widget>
270  <customwidgets>
271   <customwidget>
272    <class>FontSelector</class>
273    <extends>QWidget</extends>
274    <header>fontselector.h</header>
275    <container>1</container>
276   </customwidget>
277  </customwidgets>
278  <tabstops>
279   <tabstop>customTimestampFormat</tabstop>
280   <tabstop>timestampFormat</tabstop>
281   <tabstop>showSenderBrackets</tabstop>
282   <tabstop>senderPrefixComboBox</tabstop>
283   <tabstop>customChatViewFont</tabstop>
284   <tabstop>showWebPreview</tabstop>
285   <tabstop>autoMarkerLine</tabstop>
286   <tabstop>autoMarkerLineOnLostFocus</tabstop>
287   <tabstop>webSearchUrlFormat</tabstop>
288  </tabstops>
289  <resources/>
290  <connections>
291   <connection>
292    <sender>customChatViewFont</sender>
293    <signal>toggled(bool)</signal>
294    <receiver>chatViewFont</receiver>
295    <slot>setEnabled(bool)</slot>
296    <hints>
297     <hint type="sourcelabel">
298      <x>205</x>
299      <y>48</y>
300     </hint>
301     <hint type="destinationlabel">
302      <x>304</x>
303      <y>50</y>
304     </hint>
305    </hints>
306   </connection>
307   <connection>
308    <sender>customTimestampFormat</sender>
309    <signal>toggled(bool)</signal>
310    <receiver>timestampFormat</receiver>
311    <slot>setEnabled(bool)</slot>
312    <hints>
313     <hint type="sourcelabel">
314      <x>116</x>
315      <y>22</y>
316     </hint>
317     <hint type="destinationlabel">
318      <x>301</x>
319      <y>23</y>
320     </hint>
321    </hints>
322   </connection>
323  </connections>
324 </ui>