Disable the highlights page when not connected
[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>294</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;&lt;p&gt;Usage examples:&lt;/p&gt;
42 &lt;table cellpadding=&quot;2&quot;&gt;
43 &lt;tr&gt;&lt;td&gt;dd.MM.yyyy&lt;/td&gt;&lt;td&gt;21.05.2001&lt;/td&gt;&lt;/tr&gt;
44 &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;
45 &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;
46 &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;
47 &lt;/table&gt;
48 &lt;/body&gt;&lt;/html&gt;</string>
49        </property>
50        <property name="text">
51         <string/>
52        </property>
53        <property name="defaultValue" stdset="0">
54         <string> hh:mm:ss</string>
55        </property>
56        <property name="settingsKey" stdset="0">
57         <string notr="true">TimestampFormat</string>
58        </property>
59       </widget>
60      </item>
61      <item>
62       <spacer name="horizontalSpacer">
63        <property name="orientation">
64         <enum>Qt::Horizontal</enum>
65        </property>
66        <property name="sizeHint" stdset="0">
67         <size>
68          <width>40</width>
69          <height>20</height>
70         </size>
71        </property>
72       </spacer>
73      </item>
74     </layout>
75    </item>
76    <item>
77     <widget class="QCheckBox" name="showSenderBrackets">
78      <property name="toolTip">
79       <string>Shows &lt;brackets&gt; around the names of senders</string>
80      </property>
81      <property name="text">
82       <string>Show brackets around sender names</string>
83      </property>
84      <property name="checked">
85       <bool>false</bool>
86      </property>
87      <property name="defaultValue" stdset="0">
88       <bool>false</bool>
89      </property>
90      <property name="settingsKey" stdset="0">
91       <string notr="true">ShowSenderBrackets</string>
92      </property>
93     </widget>
94    </item>
95    <item>
96     <widget class="QCheckBox" name="showSenderPrefixes">
97      <property name="toolTip">
98       <string>Shows the modes of senders before their name (e.g. @, +)</string>
99      </property>
100      <property name="text">
101       <string>Show sendermodes in front of nicknames</string>
102      </property>
103      <property name="checked">
104       <bool>true</bool>
105      </property>
106      <property name="defaultValue" stdset="0">
107       <bool>true</bool>
108      </property>
109      <property name="settingsKey" stdset="0">
110       <string notr="true">ShowSenderPrefixes</string>
111      </property>
112     </widget>
113    </item>
114    <item>
115     <layout class="QHBoxLayout" name="horizontalLayout_3">
116      <item>
117       <widget class="QCheckBox" name="customChatViewFont">
118        <property name="text">
119         <string>Custom chat window font:</string>
120        </property>
121        <property name="checked">
122         <bool>false</bool>
123        </property>
124        <property name="settingsKey" stdset="0">
125         <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
126        </property>
127        <property name="defaultValue" stdset="0">
128         <bool>false</bool>
129        </property>
130       </widget>
131      </item>
132      <item>
133       <widget class="FontSelector" name="chatViewFont" native="true">
134        <property name="enabled">
135         <bool>false</bool>
136        </property>
137        <property name="settingsKey" stdset="0">
138         <string notr="true">/QtUiStyle/Fonts/ChatView</string>
139        </property>
140        <property name="defaultValue" stdset="0">
141         <font>
142          <family>Monospace</family>
143         </font>
144        </property>
145       </widget>
146      </item>
147     </layout>
148    </item>
149    <item>
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>
153      </property>
154      <property name="text">
155       <string>Show previews of webpages on URL hover</string>
156      </property>
157      <property name="checked">
158       <bool>true</bool>
159      </property>
160      <property name="defaultValue" stdset="0">
161       <bool>true</bool>
162      </property>
163      <property name="settingsKey" stdset="0">
164       <string notr="true">ShowWebPreview</string>
165      </property>
166     </widget>
167    </item>
168    <item>
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>
172      </property>
173      <property name="text">
174       <string>Set marker line automatically when switching chats</string>
175      </property>
176      <property name="checked">
177       <bool>true</bool>
178      </property>
179      <property name="settingsKey" stdset="0">
180       <string notr="true">AutoMarkerLine</string>
181      </property>
182      <property name="defaultValue" stdset="0">
183       <bool>true</bool>
184      </property>
185     </widget>
186    </item>
187    <item>
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>
191      </property>
192      <property name="text">
193       <string>Set marker line automatically when Quassel loses focus</string>
194      </property>
195      <property name="checked">
196       <bool>true</bool>
197      </property>
198      <property name="settingsKey" stdset="0">
199       <string notr="true">AutoMarkerLineOnLostFocus</string>
200      </property>
201      <property name="defaultValue" stdset="0">
202       <bool>true</bool>
203      </property>
204     </widget>
205    </item>
206    <item>
207     <layout class="QHBoxLayout" name="horizontalLayout_4">
208      <item>
209       <widget class="QLabel" name="label_2">
210        <property name="text">
211         <string>Web Search URL:</string>
212        </property>
213       </widget>
214      </item>
215      <item>
216       <widget class="QLineEdit" name="webSearchUrlFormat">
217        <property name="toolTip">
218         <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>
219        </property>
220        <property name="settingsKey" stdset="0">
221         <string notr="true">WebSearchUrlFormat</string>
222        </property>
223        <property name="defaultValue" stdset="0">
224         <string>https://www.google.com/search?q=%s</string>
225        </property>
226       </widget>
227      </item>
228     </layout>
229    </item>
230    <item>
231     <spacer name="verticalSpacer">
232      <property name="orientation">
233       <enum>Qt::Vertical</enum>
234      </property>
235      <property name="sizeHint" stdset="0">
236       <size>
237        <width>20</width>
238        <height>19</height>
239       </size>
240      </property>
241     </spacer>
242    </item>
243   </layout>
244  </widget>
245  <customwidgets>
246   <customwidget>
247    <class>FontSelector</class>
248    <extends>QWidget</extends>
249    <header>fontselector.h</header>
250    <container>1</container>
251   </customwidget>
252  </customwidgets>
253  <tabstops>
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>
262  </tabstops>
263  <resources/>
264  <connections>
265   <connection>
266    <sender>customChatViewFont</sender>
267    <signal>toggled(bool)</signal>
268    <receiver>chatViewFont</receiver>
269    <slot>setEnabled(bool)</slot>
270    <hints>
271     <hint type="sourcelabel">
272      <x>205</x>
273      <y>48</y>
274     </hint>
275     <hint type="destinationlabel">
276      <x>304</x>
277      <y>50</y>
278     </hint>
279    </hints>
280   </connection>
281   <connection>
282    <sender>customTimestampFormat</sender>
283    <signal>toggled(bool)</signal>
284    <receiver>timestampFormat</receiver>
285    <slot>setEnabled(bool)</slot>
286    <hints>
287     <hint type="sourcelabel">
288      <x>116</x>
289      <y>22</y>
290     </hint>
291     <hint type="destinationlabel">
292      <x>301</x>
293      <y>23</y>
294     </hint>
295    </hints>
296   </connection>
297  </connections>
298 </ui>