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 <widget class="QCheckBox" name="showSenderPrefixes">
97 <property name="toolTip">
98 <string>Shows the modes of senders before their name (e.g. @, +)</string>
100 <property name="text">
101 <string>Show sendermodes in front of nicknames</string>
103 <property name="checked">
106 <property name="defaultValue" stdset="0">
109 <property name="settingsKey" stdset="0">
110 <string notr="true">ShowSenderPrefixes</string>
115 <layout class="QHBoxLayout" name="horizontalLayout_3">
117 <widget class="QCheckBox" name="customChatViewFont">
118 <property name="text">
119 <string>Custom chat window font:</string>
121 <property name="checked">
124 <property name="settingsKey" stdset="0">
125 <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
127 <property name="defaultValue" stdset="0">
133 <widget class="FontSelector" name="chatViewFont" native="true">
134 <property name="enabled">
137 <property name="settingsKey" stdset="0">
138 <string notr="true">/QtUiStyle/Fonts/ChatView</string>
140 <property name="defaultValue" stdset="0">
142 <family>Monospace</family>
150 <widget class="QCheckBox" name="showWebPreview">
151 <property name="toolTip">
152 <string>Show a website preview window when hovering the mouse over a web address</string>
154 <property name="text">
155 <string>Show previews of webpages on URL hover</string>
157 <property name="checked">
160 <property name="defaultValue" stdset="0">
163 <property name="settingsKey" stdset="0">
164 <string notr="true">ShowWebPreview</string>
169 <widget class="QCheckBox" name="autoMarkerLine">
170 <property name="toolTip">
171 <string>Set the marker line to the bottom of the current chat window when selecting another channel</string>
173 <property name="text">
174 <string>Set marker line automatically when switching chats</string>
176 <property name="checked">
179 <property name="settingsKey" stdset="0">
180 <string notr="true">AutoMarkerLine</string>
182 <property name="defaultValue" stdset="0">
188 <widget class="QCheckBox" name="autoMarkerLineOnLostFocus">
189 <property name="toolTip">
190 <string>Set the marker line to the bottom of the current chat window when Quassel loses focus.</string>
192 <property name="text">
193 <string>Set marker line automatically when Quassel loses focus</string>
195 <property name="checked">
198 <property name="settingsKey" stdset="0">
199 <string notr="true">AutoMarkerLineOnLostFocus</string>
201 <property name="defaultValue" stdset="0">
207 <layout class="QHBoxLayout" name="horizontalLayout_4">
209 <widget class="QLabel" name="label_2">
210 <property name="text">
211 <string>Web Search URL:</string>
216 <widget class="QLineEdit" name="webSearchUrlFormat">
217 <property name="toolTip">
218 <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>
220 <property name="settingsKey" stdset="0">
221 <string notr="true">WebSearchUrlFormat</string>
223 <property name="defaultValue" stdset="0">
224 <string>https://www.google.com/search?q=%s</string>
231 <spacer name="verticalSpacer">
232 <property name="orientation">
233 <enum>Qt::Vertical</enum>
235 <property name="sizeHint" stdset="0">
247 <class>FontSelector</class>
248 <extends>QWidget</extends>
249 <header>fontselector.h</header>
250 <container>1</container>
254 <tabstop>customTimestampFormat</tabstop>
255 <tabstop>timestampFormat</tabstop>
256 <tabstop>showSenderBrackets</tabstop>
257 <tabstop>customChatViewFont</tabstop>
258 <tabstop>showWebPreview</tabstop>
259 <tabstop>autoMarkerLine</tabstop>
260 <tabstop>autoMarkerLineOnLostFocus</tabstop>
261 <tabstop>webSearchUrlFormat</tabstop>
266 <sender>customChatViewFont</sender>
267 <signal>toggled(bool)</signal>
268 <receiver>chatViewFont</receiver>
269 <slot>setEnabled(bool)</slot>
271 <hint type="sourcelabel">
275 <hint type="destinationlabel">
282 <sender>customTimestampFormat</sender>
283 <signal>toggled(bool)</signal>
284 <receiver>timestampFormat</receiver>
285 <slot>setEnabled(bool)</slot>
287 <hint type="sourcelabel">
291 <hint type="destinationlabel">