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>
42 <p>Accepts Qt QDateTime Format.</p>
43 <p>Examples:</p>
44 <table cellpadding="2">
45 <tr><td>dd.MM.yyyy</td><td>21.05.2001</td></tr>
46 <tr><td>ddd MMMM d yy</td><td>Tue May 21 01</td></tr>
47 <tr><td>hh:mm:ss.zzz</td><td>14:13:09.042</td></tr>
48 <tr><td>h:m:s ap</td><td>2:13:9 pm</td></tr>
50 </body></html></string>
52 <property name="text">
55 <property name="defaultValue" stdset="0">
56 <string> hh:mm:ss</string>
58 <property name="settingsKey" stdset="0">
59 <string notr="true">TimestampFormat</string>
64 <spacer name="horizontalSpacer">
65 <property name="orientation">
66 <enum>Qt::Horizontal</enum>
68 <property name="sizeHint" stdset="0">
79 <widget class="QCheckBox" name="showSenderBrackets">
80 <property name="toolTip">
81 <string>Shows <brackets> around the names of senders</string>
83 <property name="text">
84 <string>Show brackets around sender names</string>
86 <property name="checked">
89 <property name="defaultValue" stdset="0">
92 <property name="settingsKey" stdset="0">
93 <string notr="true">ShowSenderBrackets</string>
98 <layout class="QHBoxLayout" name="horizontalLayout_2">
100 <widget class="QLabel" name="label">
101 <property name="text">
102 <string>Show sender modes before nicknames:</string>
107 <widget class="QComboBox" name="senderPrefixComboBox">
108 <property name="toolTip">
109 <string><qt><style>.bold { font-weight: bold; } .italic { font-style: italic; } .underline { text-decoration: underline; }</style>
110 <p><span class="bold">Sender modes:</span></p>
111 <p><span class="underline">No modes:</span> Don't show any modes<br/><span class="italic">Example:</span> &lt;nickname&gt;</p>
112 <p><span class="underline">Highest mode:</span> Show only the highest active mode<br/><span class="italic">Example:</span> &lt;@nickname&gt;</p>
113 <p><span class="underline">All modes:</span> Show all active modes<br/><span class="italic">Example:</span> &lt;@+nickname&gt;</p>
116 <property name="defaultValue" stdset="0">
119 <property name="settingsKey" stdset="0">
120 <string notr="true">SenderPrefixMode</string>
125 <spacer name="horizontalSpacer_2">
126 <property name="orientation">
127 <enum>Qt::Horizontal</enum>
129 <property name="sizeHint" stdset="0">
140 <layout class="QHBoxLayout" name="horizontalLayout_3">
142 <widget class="QCheckBox" name="customChatViewFont">
143 <property name="text">
144 <string>Custom chat window font:</string>
146 <property name="checked">
149 <property name="settingsKey" stdset="0">
150 <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
152 <property name="defaultValue" stdset="0">
158 <widget class="FontSelector" name="chatViewFont" native="true">
159 <property name="enabled">
162 <property name="settingsKey" stdset="0">
163 <string notr="true">/QtUiStyle/Fonts/ChatView</string>
165 <property name="defaultValue" stdset="0">
167 <family>Monospace</family>
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>
179 <property name="text">
180 <string>Show previews of webpages on URL hover</string>
182 <property name="checked">
185 <property name="defaultValue" stdset="0">
188 <property name="settingsKey" stdset="0">
189 <string notr="true">ShowWebPreview</string>
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>
198 <property name="text">
199 <string>Set marker line automatically when switching chats</string>
201 <property name="checked">
204 <property name="settingsKey" stdset="0">
205 <string notr="true">AutoMarkerLine</string>
207 <property name="defaultValue" stdset="0">
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>
217 <property name="text">
218 <string>Set marker line automatically when Quassel loses focus</string>
220 <property name="checked">
223 <property name="settingsKey" stdset="0">
224 <string notr="true">AutoMarkerLineOnLostFocus</string>
226 <property name="defaultValue" stdset="0">
232 <layout class="QHBoxLayout" name="horizontalLayout_4">
234 <widget class="QLabel" name="label_2">
235 <property name="text">
236 <string>Web Search URL:</string>
241 <widget class="QLineEdit" name="webSearchUrlFormat">
242 <property name="toolTip">
243 <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>
245 <property name="settingsKey" stdset="0">
246 <string notr="true">WebSearchUrlFormat</string>
248 <property name="defaultValue" stdset="0">
249 <string>https://www.google.com/search?q=%s</string>
256 <spacer name="verticalSpacer">
257 <property name="orientation">
258 <enum>Qt::Vertical</enum>
260 <property name="sizeHint" stdset="0">
272 <class>FontSelector</class>
273 <extends>QWidget</extends>
274 <header>fontselector.h</header>
275 <container>1</container>
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>
292 <sender>customChatViewFont</sender>
293 <signal>toggled(bool)</signal>
294 <receiver>chatViewFont</receiver>
295 <slot>setEnabled(bool)</slot>
297 <hint type="sourcelabel">
301 <hint type="destinationlabel">
308 <sender>customTimestampFormat</sender>
309 <signal>toggled(bool)</signal>
310 <receiver>timestampFormat</receiver>
311 <slot>setEnabled(bool)</slot>
313 <hint type="sourcelabel">
317 <hint type="destinationlabel">