X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fchatviewsettingspage.ui;h=99f568a1b36774487822f59bc3f7c63df2df5962;hb=8426fae7e92dfb7608f66be926c68c304b97cb01;hp=164b644c521d06d30e8d7e9c811013d101bcbf65;hpb=5faebde94b5a6be7e0865c9e3ab90cbcb50ad9c3;p=quassel.git
diff --git a/src/qtui/settingspages/chatviewsettingspage.ui b/src/qtui/settingspages/chatviewsettingspage.ui
index 164b644c..99f568a1 100644
--- a/src/qtui/settingspages/chatviewsettingspage.ui
+++ b/src/qtui/settingspages/chatviewsettingspage.ui
@@ -6,8 +6,8 @@
0
0
- 486
- 475
+ 514
+ 306
@@ -17,22 +17,44 @@
-
-
-
+
+
+ Use a custom format for the timestamp
+
- Timestamp format:
+ Custom timestamp format:
+
+
+ false
+
+
+ UseCustomTimestampFormat
-
+
+ false
+
+
+ <html><head/><body><p>Usage examples:</p>
+<table cellpadding="2">
+<tr><td>dd.MM.yyyy</td><td>21.05.2001</td></tr>
+<tr><td>ddd MMMM d yy</td><td>Tue May 21 01</td></tr>
+<tr><td>hh:mm:ss.zzz</td><td>14:13:09.042</td></tr>
+<tr><td>h:m:s ap</td><td>2:13:9 pm</td></tr>
+</table>
+</body></html>
+
- [hh:mm:ss]
+ hh:mm:ss
- TimestampFormat
+ TimestampFormat
@@ -52,38 +74,103 @@
-
-
-
- Chat window font:
-
-
- Font
-
-
-
- Monospace
-
+
+
+ Shows <brackets> around the names of senders
-
-
- -
-
- Allow colored text (mIRC color codes)
+ Show brackets around sender names
- true
+ false
- true
+ false
- AllowMircColors
+ ShowSenderBrackets
-
-
+
+
-
+
+
+ Show sender modes before nicknames:
+
+
+
+ -
+
+
+ <qt><style>.bold { font-weight: bold; } .italic { font-style: italic; } .underline { text-decoration: underline; }</style>
+<p><span class="bold">Sender modes:</span></p>
+<p><span class="underline">No modes:</span> Don't show any modes<br/><span class="italic">Example:</span> <nickname></p>
+<p><span class="underline">Highest mode:</span> Show only the highest active mode<br/><span class="italic">Example:</span> <@nickname></p>
+<p><span class="underline">All modes:</span> Show all active modes<br/><span class="italic">Example:</span> <@+nickname></p>
+</qt>
+
+
+ 1
+
+
+ SenderPrefixMode
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Custom chat window font:
+
+
+ false
+
+
+ /QtUiStyle/Fonts/UseCustomChatViewFont
+
+
+ false
+
+
+
+ -
+
+
+ false
+
+
+ /QtUiStyle/Fonts/ChatView
+
+
+
+ Monospace
+
+
+
+
+
+
+ -
+
Show a website preview window when hovering the mouse over a web address
@@ -91,625 +178,78 @@
Show previews of webpages on URL hover
- true
+ false
- true
+ false
- ShowWebPreview
+ ShowWebPreview
-
-
-
- Custom Colors
+
+
+ Set the marker line to the bottom of the current chat window when selecting another channel
-
- true
+
+ Set marker line automatically when switching chats
- false
+ true
- Colors/UseChatViewColors
+ AutoMarkerLine
- false
+ true
-
-
-
-
-
- Action:
-
-
-
- -
-
-
- ...
-
-
- Colors/ActionMsg
-
-
-
- 0
- 0
- 255
-
-
-
-
- -
-
-
- Timestamp:
-
-
-
- -
-
-
- ...
-
-
- Colors/Timestamp
-
-
-
- 112
- 124
- 112
-
-
-
-
- -
-
-
- Channel message:
-
-
-
- -
-
-
- ...
-
-
- Colors/ChannelMsg
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 134
- 20
-
-
-
-
- -
-
-
- Highlight foreground:
-
-
-
- -
-
-
- ...
-
-
- Colors/Highlight
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- Command message:
-
-
-
- -
-
-
- ...
-
-
- Colors/CommandMsg
-
-
-
- 150
- 0
- 150
-
-
-
-
- -
-
-
- Highlight background:
-
-
-
- -
-
-
- Server message:
-
-
-
- -
-
-
- ...
-
-
- Colors/ServerMsg
-
-
-
- 145
- 100
- 9
-
-
-
-
- -
-
-
- Marker line:
-
-
-
- -
-
-
- ...
-
-
- Colors/MarkerLine
-
-
-
- 255
- 0
- 0
-
-
-
-
- -
-
-
- Error message:
-
-
-
- -
-
-
- ...
-
-
- Colors/ErrorMsg
-
-
-
- 145
- 100
- 9
-
-
-
-
- -
-
-
- Background:
-
-
-
- -
-
-
- ...
-
-
- Colors/ChatViewBackground
-
-
-
- 255
- 255
- 255
-
-
-
-
- -
-
-
- ...
-
-
- Colors/HighlightBackground
-
-
-
- 255
- 128
- 0
-
-
-
-
-
-
-
-
- Use Sender Coloring
+
+
+ Set the marker line to the bottom of the current chat window when Quassel loses focus.
-
+
+ Set marker line automatically when Quassel loses focus
+
+
true
- /Colors/UseSenderColors
+ AutoMarkerLineOnLostFocus
true
-
-
-
-
-
-
-
-
- ...
-
-
- Colors/Sender00
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender02
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender04
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender05
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender06
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender07
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender08
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender09
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender10
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender11
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender12
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender13
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender14
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender15
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender01
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- ...
-
-
- Colors/Sender03
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- -
-
-
-
-
-
- Own messages:
-
-
-
- -
-
-
- ...
-
-
- /Colors/SenderSelf
-
-
-
- 0
- 0
- 0
-
-
-
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
-
-
-
+ -
+
+
-
+
+
+ Web Search URL:
+
+
+
+ -
+
+
+ <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>
+
+
+ WebSearchUrlFormat
+
+
+ https://www.google.com/search?q=%s
+
+
+
+
+
-
@@ -726,11 +266,6 @@
-
- ColorButton
- QToolButton
-
-
FontSelector
QWidget
@@ -738,6 +273,50 @@
1
+
+ customTimestampFormat
+ timestampFormat
+ showSenderBrackets
+ senderPrefixComboBox
+ customChatViewFont
+ showWebPreview
+ autoMarkerLine
+ autoMarkerLineOnLostFocus
+ webSearchUrlFormat
+
-
+
+
+ customChatViewFont
+ toggled(bool)
+ chatViewFont
+ setEnabled(bool)
+
+
+ 205
+ 48
+
+
+ 304
+ 50
+
+
+
+
+ customTimestampFormat
+ toggled(bool)
+ timestampFormat
+ setEnabled(bool)
+
+
+ 116
+ 22
+
+
+ 301
+ 23
+
+
+
+