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><qt><style>.bold { font-weight: bold; } .italic { font-style: italic; } .underline { text-decoration: underline; }</style>
108 <p><span class="bold">Sender modes:</span></p>
109 <p><span class="underline">No modes:</span> Don't show any modes<br/><span class="italic">Example:</span> &lt;nickname&gt;</p>
110 <p><span class="underline">Highest mode:</span> Show only the highest active mode<br/><span class="italic">Example:</span> &lt;@nickname&gt;</p>
111 <p><span class="underline">All modes:</span> Show all active modes<br/><span class="italic">Example:</span> &lt;@+nickname&gt;</p>
114 <property name="defaultValue" stdset="0">
117 <property name="settingsKey" stdset="0">
118 <string notr="true">SenderPrefixMode</string>
123 <spacer name="horizontalSpacer_2">
124 <property name="orientation">
125 <enum>Qt::Horizontal</enum>
127 <property name="sizeHint" stdset="0">
138 <layout class="QHBoxLayout" name="horizontalLayout_3">
140 <widget class="QCheckBox" name="customChatViewFont">
141 <property name="text">
142 <string>Custom chat window font:</string>
144 <property name="checked">
147 <property name="settingsKey" stdset="0">
148 <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
150 <property name="defaultValue" stdset="0">
156 <widget class="FontSelector" name="chatViewFont" native="true">
157 <property name="enabled">
160 <property name="settingsKey" stdset="0">
161 <string notr="true">/QtUiStyle/Fonts/ChatView</string>
163 <property name="defaultValue" stdset="0">
165 <family>Monospace</family>
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>
177 <property name="text">
178 <string>Show previews of webpages on URL hover</string>
180 <property name="checked">
183 <property name="defaultValue" stdset="0">
186 <property name="settingsKey" stdset="0">
187 <string notr="true">ShowWebPreview</string>
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>
196 <property name="text">
197 <string>Set marker line automatically when switching chats</string>
199 <property name="checked">
202 <property name="settingsKey" stdset="0">
203 <string notr="true">AutoMarkerLine</string>
205 <property name="defaultValue" stdset="0">
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>
215 <property name="text">
216 <string>Set marker line automatically when Quassel loses focus</string>
218 <property name="checked">
221 <property name="settingsKey" stdset="0">
222 <string notr="true">AutoMarkerLineOnLostFocus</string>
224 <property name="defaultValue" stdset="0">
230 <layout class="QHBoxLayout" name="horizontalLayout_4">
232 <widget class="QLabel" name="label_2">
233 <property name="text">
234 <string>Web Search URL:</string>
239 <widget class="QLineEdit" name="webSearchUrlFormat">
240 <property name="toolTip">
241 <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>
243 <property name="settingsKey" stdset="0">
244 <string notr="true">WebSearchUrlFormat</string>
246 <property name="defaultValue" stdset="0">
247 <string>https://www.google.com/search?q=%s</string>
254 <spacer name="verticalSpacer">
255 <property name="orientation">
256 <enum>Qt::Vertical</enum>
258 <property name="sizeHint" stdset="0">
270 <class>FontSelector</class>
271 <extends>QWidget</extends>
272 <header>fontselector.h</header>
273 <container>1</container>
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>
290 <sender>customChatViewFont</sender>
291 <signal>toggled(bool)</signal>
292 <receiver>chatViewFont</receiver>
293 <slot>setEnabled(bool)</slot>
295 <hint type="sourcelabel">
299 <hint type="destinationlabel">
306 <sender>customTimestampFormat</sender>
307 <signal>toggled(bool)</signal>
308 <receiver>timestampFormat</receiver>
309 <slot>setEnabled(bool)</slot>
311 <hint type="sourcelabel">
315 <hint type="destinationlabel">