1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>ChatViewSettingsPage</class>
4 <widget class="QWidget" name="ChatViewSettingsPage">
5 <property name="geometry">
13 <property name="windowTitle">
16 <layout class="QVBoxLayout" name="verticalLayout_2">
18 <layout class="QHBoxLayout" name="horizontalLayout">
20 <widget class="QCheckBox" name="customTimestampFormat">
21 <property name="toolTip">
22 <string>Use a custom format for the timestamp</string>
24 <property name="text">
25 <string>Custom timestamp format:</string>
27 <property name="defaultValue" stdset="0">
30 <property name="settingsKey" stdset="0">
31 <string notr="true">UseCustomTimestampFormat</string>
36 <widget class="QLineEdit" name="timestampFormat">
37 <property name="enabled">
40 <property name="toolTip">
41 <string><html><head/><body><p>Usage examples:</p>
42 <table cellpadding="2">
43 <tr><td>dd.MM.yyyy</td><td>21.05.2001</td></tr>
44 <tr><td>ddd MMMM d yy</td><td>Tue May 21 01</td></tr>
45 <tr><td>hh:mm:ss.zzz</td><td>14:13:09.042</td></tr>
46 <tr><td>h:m:s ap</td><td>2:13:9 pm</td></tr>
48 </body></html></string>
50 <property name="text">
53 <property name="defaultValue" stdset="0">
54 <string> hh:mm:ss</string>
56 <property name="settingsKey" stdset="0">
57 <string notr="true">TimestampFormat</string>
62 <spacer name="horizontalSpacer">
63 <property name="orientation">
64 <enum>Qt::Horizontal</enum>
66 <property name="sizeHint" stdset="0">
77 <widget class="QCheckBox" name="showSenderBrackets">
78 <property name="toolTip">
79 <string>Shows <brackets> around the names of senders</string>
81 <property name="text">
82 <string>Show brackets around sender names</string>
84 <property name="checked">
87 <property name="defaultValue" stdset="0">
90 <property name="settingsKey" stdset="0">
91 <string notr="true">ShowSenderBrackets</string>
96 <layout class="QHBoxLayout" name="horizontalLayout_2">
98 <widget class="QLabel" name="label">
99 <property name="text">
100 <string>Show sender modes before nicknames:</string>
105 <widget class="QComboBox" name="senderPrefixComboBox">
106 <property name="toolTip">
107 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
108 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
109 p, li { white-space: pre-wrap; }
110 </style></head><body style="font-weight:400; font-style:normal;">
111 <p><span style="font-weight:600;">Sender modes:</span></p>
112 <p><span style="text-decoration: underline;">No modes:</span> Don't show any modes<br/><span style="font-style: italic;">Example:</span> &lt;nickname&gt;</p>
113 <p><span style="text-decoration: underline;">Highest mode:</span> Show only the highest active mode<br/><span style="font-style: italic;">Example:</span> &lt;@nickname&gt;</p>
114 <p><span style="text-decoration: underline;">All modes:</span> Show all active modes<br/><span style="font-style: italic;">Example:</span> &lt;@+nickname&gt;</p>
115 </body></html></string>
117 <property name="defaultValue" stdset="0">
120 <property name="settingsKey" stdset="0">
121 <string notr="true">SenderPrefixMode</string>
126 <spacer name="horizontalSpacer_2">
127 <property name="orientation">
128 <enum>Qt::Horizontal</enum>
130 <property name="sizeHint" stdset="0">
141 <layout class="QHBoxLayout" name="horizontalLayout_3">
143 <widget class="QCheckBox" name="customChatViewFont">
144 <property name="text">
145 <string>Custom chat window font:</string>
147 <property name="checked">
150 <property name="settingsKey" stdset="0">
151 <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
153 <property name="defaultValue" stdset="0">
159 <widget class="FontSelector" name="chatViewFont" native="true">
160 <property name="enabled">
163 <property name="settingsKey" stdset="0">
164 <string notr="true">/QtUiStyle/Fonts/ChatView</string>
166 <property name="defaultValue" stdset="0">
168 <family>Monospace</family>
176 <widget class="QCheckBox" name="showWebPreview">
177 <property name="toolTip">
178 <string>Show a website preview window when hovering the mouse over a web address</string>
180 <property name="text">
181 <string>Show previews of webpages on URL hover</string>
183 <property name="checked">
186 <property name="defaultValue" stdset="0">
189 <property name="settingsKey" stdset="0">
190 <string notr="true">ShowWebPreview</string>
195 <widget class="QCheckBox" name="autoMarkerLine">
196 <property name="toolTip">
197 <string>Set the marker line to the bottom of the current chat window when selecting another channel</string>
199 <property name="text">
200 <string>Set marker line automatically when switching chats</string>
202 <property name="checked">
205 <property name="settingsKey" stdset="0">
206 <string notr="true">AutoMarkerLine</string>
208 <property name="defaultValue" stdset="0">
214 <widget class="QCheckBox" name="autoMarkerLineOnLostFocus">
215 <property name="toolTip">
216 <string>Set the marker line to the bottom of the current chat window when Quassel loses focus.</string>
218 <property name="text">
219 <string>Set marker line automatically when Quassel loses focus</string>
221 <property name="checked">
224 <property name="settingsKey" stdset="0">
225 <string notr="true">AutoMarkerLineOnLostFocus</string>
227 <property name="defaultValue" stdset="0">
233 <layout class="QHBoxLayout" name="horizontalLayout_4">
235 <widget class="QLabel" name="label_2">
236 <property name="text">
237 <string>Web Search URL:</string>
242 <widget class="QLineEdit" name="webSearchUrlFormat">
243 <property name="toolTip">
244 <string><html><head/><body><p>The URL to open with the selected text as the parameter. Place <span style=" font-weight:600;">%s</span> where selected text should go.</p><p>Eg:</p><p>https://www.google.com/search?q=<span style=" font-weight:600;">%s<br/></span>https://duckduckgo.com/?q=<span style=" font-weight:600;">%s</span></p></body></html></string>
246 <property name="settingsKey" stdset="0">
247 <string notr="true">WebSearchUrlFormat</string>
249 <property name="defaultValue" stdset="0">
250 <string>https://www.google.com/search?q=%s</string>
257 <spacer name="verticalSpacer">
258 <property name="orientation">
259 <enum>Qt::Vertical</enum>
261 <property name="sizeHint" stdset="0">
273 <class>FontSelector</class>
274 <extends>QWidget</extends>
275 <header>fontselector.h</header>
276 <container>1</container>
280 <tabstop>customTimestampFormat</tabstop>
281 <tabstop>timestampFormat</tabstop>
282 <tabstop>showSenderBrackets</tabstop>
283 <tabstop>senderPrefixComboBox</tabstop>
284 <tabstop>customChatViewFont</tabstop>
285 <tabstop>showWebPreview</tabstop>
286 <tabstop>autoMarkerLine</tabstop>
287 <tabstop>autoMarkerLineOnLostFocus</tabstop>
288 <tabstop>webSearchUrlFormat</tabstop>
293 <sender>customChatViewFont</sender>
294 <signal>toggled(bool)</signal>
295 <receiver>chatViewFont</receiver>
296 <slot>setEnabled(bool)</slot>
298 <hint type="sourcelabel">
302 <hint type="destinationlabel">
309 <sender>customTimestampFormat</sender>
310 <signal>toggled(bool)</signal>
311 <receiver>timestampFormat</receiver>
312 <slot>setEnabled(bool)</slot>
314 <hint type="sourcelabel">
318 <hint type="destinationlabel">