X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fchatviewsettingspage.ui;h=99f568a1b36774487822f59bc3f7c63df2df5962;hp=93d141e1842ee102008bf49833c1df6dfdb91170;hb=4d1f020e4e993bb72f08e6cf32d5e5a0eba51c9e;hpb=34c691d6f61f3d7a5de569045814274311ebc240 diff --git a/src/qtui/settingspages/chatviewsettingspage.ui b/src/qtui/settingspages/chatviewsettingspage.ui index 93d141e1..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 @@ -51,6 +73,67 @@ + + + + Shows <brackets> around the names of senders + + + Show brackets around sender names + + + false + + + false + + + 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> &lt;nickname&gt;</p> +<p><span class="underline">Highest mode:</span> Show only the highest active mode<br/><span class="italic">Example:</span> &lt;@nickname&gt;</p> +<p><span class="underline">All modes:</span> Show all active modes<br/><span class="italic">Example:</span> &lt;@+nickname&gt;</p> +</qt> + + + 1 + + + SenderPrefixMode + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + @@ -62,7 +145,7 @@ false - /QtUiStyle/Fonts/UseCustomChatViewFont + /QtUiStyle/Fonts/UseCustomChatViewFont false @@ -71,8 +154,11 @@ + + false + - /QtUiStyle/Fonts/ChatView + /QtUiStyle/Fonts/ChatView @@ -83,22 +169,6 @@ - - - - Allow colored text (mIRC color codes) - - - true - - - true - - - AllowMircColors - - - @@ -108,628 +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 - /QtUiStyle/Colors/UseChatViewColors + AutoMarkerLine - false + true - - - - - Action: - - - - - - - ... - - - /QtUiStyle/Colors/ActionMsg - - - - 0 - 0 - 255 - - - - - - - - Timestamp: - - - - - - - ... - - - /QtUiStyle/Colors/Timestamp - - - - 112 - 124 - 112 - - - - - - - - Channel message: - - - - - - - ... - - - /QtUiStyle/Colors/ChannelMsg - - - - 0 - 0 - 0 - - - - - - - - Qt::Horizontal - - - - 134 - 20 - - - - - - - - Highlight foreground: - - - - - - - ... - - - /QtUiStyle/Colors/Highlight - - - - 0 - 0 - 0 - - - - - - - - Command message: - - - - - - - ... - - - /QtUiStyle/Colors/CommandMsg - - - - 150 - 0 - 150 - - - - - - - - Highlight background: - - - - - - - Server message: - - - - - - - ... - - - /QtUiStyle/Colors/ServerMsg - - - - 145 - 100 - 9 - - - - - - - - Marker line: - - - - - - - ... - - - /QtUiStyle/Colors/MarkerLine - - - - 255 - 0 - 0 - - - - - - - - Error message: - - - - - - - ... - - - /QtUiStyle/Colors/ErrorMsg - - - - 145 - 100 - 9 - - - - - - - - Background: - - - - - - - ... - - - /QtUiStyle/Colors/ChatViewBackground - - - - 255 - 255 - 255 - - - - - - - - ... - - - /QtUiStyle/Colors/HighlightBackground - - - - 255 - 128 - 0 - - - - - - - - Use Sender Coloring + + + Set the marker line to the bottom of the current chat window when Quassel loses focus. - - true + + Set marker line automatically when Quassel loses focus - false + true - /QtUiStyle/Colors/UseSenderColors + AutoMarkerLineOnLostFocus - false + true - - - - - - - ... - - - /QtUiStyle/Colors/Sender00 - - - - 233 - 13 - 127 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender02 - - - - 179 - 14 - 14 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender04 - - - - 88 - 175 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender05 - - - - 157 - 84 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender06 - - - - 179 - 151 - 117 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender07 - - - - 49 - 118 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender08 - - - - 233 - 13 - 127 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender09 - - - - 142 - 85 - 233 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender10 - - - - 179 - 14 - 14 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender11 - - - - 23 - 179 - 57 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender12 - - - - 88 - 175 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender13 - - - - 157 - 84 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender14 - - - - 179 - 151 - 117 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender15 - - - - 49 - 118 - 179 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender01 - - - - 142 - 85 - 233 - - - - - - - - ... - - - /QtUiStyle/Colors/Sender03 - - - - 23 - 179 - 57 - - - - - - - - - - - - Own messages: - - - - - - - ... - - - /QtUiStyle/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 + + + + + @@ -746,11 +266,6 @@ - - ColorButton - QToolButton -
colorbutton.h
-
FontSelector QWidget @@ -759,38 +274,15 @@
+ customTimestampFormat timestampFormat - allowMircColors + showSenderBrackets + senderPrefixComboBox + customChatViewFont showWebPreview - useCustomColors - actionMsgColor - channelMsgColor - commandMsgColor - serverMsgColor - errorMsgColor - timestampColor - highlightColor - highlightBackgroundColor - markerLineColor - backgroundColor - useSenderColors - senderColor00 - senderColor01 - senderColor02 - senderColor03 - senderColor04 - senderColor05 - senderColor06 - senderColor07 - senderColor08 - senderColor09 - senderColor10 - senderColor11 - senderColor12 - senderColor13 - senderColor14 - senderColor15 - senderColorSelf + autoMarkerLine + autoMarkerLineOnLostFocus + webSearchUrlFormat @@ -810,5 +302,21 @@ + + customTimestampFormat + toggled(bool) + timestampFormat + setEnabled(bool) + + + 116 + 22 + + + 301 + 23 + + +