client: Highest sender prefix mode, migrate, fix
[quassel.git] / src / qtui / settingspages / chatviewsettingspage.ui
index 164b644..f0f1403 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>486</width>
-    <height>475</height>
+    <width>514</width>
+    <height>294</height>
    </rect>
   </property>
   <property name="windowTitle">
    <item>
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="QLabel" name="label_13">
+      <widget class="QCheckBox" name="customTimestampFormat">
+       <property name="toolTip">
+        <string>Use a custom format for the timestamp</string>
+       </property>
        <property name="text">
-        <string>Timestamp format:</string>
+        <string>Custom timestamp format:</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <bool>false</bool>
+       </property>
+       <property name="settingsKey" stdset="0">
+        <string notr="true">UseCustomTimestampFormat</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLineEdit" name="timestampFormat">
+       <property name="enabled">
+        <bool>false</bool>
+       </property>
+       <property name="toolTip">
+        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Usage examples:&lt;/p&gt;
+&lt;table cellpadding=&quot;2&quot;&gt;
+&lt;tr&gt;&lt;td&gt;dd.MM.yyyy&lt;/td&gt;&lt;td&gt;21.05.2001&lt;/td&gt;&lt;/tr&gt;
+&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;
+&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;
+&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;
+&lt;/table&gt;
+&lt;/body&gt;&lt;/html&gt;</string>
+       </property>
        <property name="text">
         <string/>
        </property>
        <property name="defaultValue" stdset="0">
-        <string>[hh:mm:ss]</string>
+        <string> hh:mm:ss</string>
        </property>
        <property name="settingsKey" stdset="0">
-        <string>TimestampFormat</string>
+        <string notr="true">TimestampFormat</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
-    <widget class="FontSelector" name="chatViewFont" native="true">
-     <property name="text" stdset="0">
-      <string>Chat window font:</string>
-     </property>
-     <property name="settingsKey" stdset="0">
-      <string>Font</string>
-     </property>
-     <property name="defaultValue" stdset="0">
-      <font>
-       <family>Monospace</family>
-      </font>
+    <widget class="QCheckBox" name="showSenderBrackets">
+     <property name="toolTip">
+      <string>Shows &lt;brackets&gt; around the names of senders</string>
      </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QCheckBox" name="allowMircColors">
      <property name="text">
-      <string>Allow colored text (mIRC color codes)</string>
+      <string>Show brackets around sender names</string>
      </property>
      <property name="checked">
-      <bool>true</bool>
+      <bool>false</bool>
      </property>
      <property name="defaultValue" stdset="0">
-      <bool>true</bool>
+      <bool>false</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>AllowMircColors</string>
+      <string notr="true">ShowSenderBrackets</string>
      </property>
     </widget>
    </item>
    <item>
-    <widget class="QCheckBox" name="showWebPreview_2">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <item>
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>Show sender modes before nicknames:</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QComboBox" name="senderPrefixComboBox">
+       <property name="toolTip">
+        <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot;font-weight:400; font-style:normal;&quot;&gt;
+&lt;p&gt;&lt;span style=&quot;font-weight:600;&quot;&gt;Sender modes:&lt;/span&gt;&lt;/p&gt;
+&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;No modes:&lt;/span&gt; Don't show any modes&lt;br/&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Example:&lt;/span&gt; &amp;lt;nickname&amp;gt;&lt;/p&gt;
+&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Highest mode:&lt;/span&gt; Show only the highest active mode&lt;br/&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Example:&lt;/span&gt; &amp;lt;@nickname&amp;gt;&lt;/p&gt;
+&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;All modes:&lt;/span&gt; Show all active modes&lt;br/&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Example:&lt;/span&gt; &amp;lt;@+nickname&amp;gt;&lt;/p&gt;
+&lt;/body&gt;&lt;/html&gt;</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <bool>1</bool>
+       </property>
+       <property name="settingsKey" stdset="0">
+        <string notr="true">SenderPrefixMode</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_2">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_3">
+     <item>
+      <widget class="QCheckBox" name="customChatViewFont">
+       <property name="text">
+        <string>Custom chat window font:</string>
+       </property>
+       <property name="checked">
+        <bool>false</bool>
+       </property>
+       <property name="settingsKey" stdset="0">
+        <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="FontSelector" name="chatViewFont" native="true">
+       <property name="enabled">
+        <bool>false</bool>
+       </property>
+       <property name="settingsKey" stdset="0">
+        <string notr="true">/QtUiStyle/Fonts/ChatView</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <font>
+         <family>Monospace</family>
+        </font>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <widget class="QCheckBox" name="showWebPreview">
      <property name="toolTip">
       <string>Show a website preview window when hovering the mouse over a web address</string>
      </property>
       <bool>true</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>ShowWebPreview</string>
+      <string notr="true">ShowWebPreview</string>
      </property>
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox_2">
-     <property name="title">
-      <string>Custom Colors</string>
+    <widget class="QCheckBox" name="autoMarkerLine">
+     <property name="toolTip">
+      <string>Set the marker line to the bottom of the current chat window when selecting another channel</string>
      </property>
-     <property name="checkable">
-      <bool>true</bool>
+     <property name="text">
+      <string>Set marker line automatically when switching chats</string>
      </property>
      <property name="checked">
-      <bool>false</bool>
+      <bool>true</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>Colors/UseChatViewColors</string>
+      <string notr="true">AutoMarkerLine</string>
      </property>
      <property name="defaultValue" stdset="0">
-      <bool>false</bool>
+      <bool>true</bool>
      </property>
-     <layout class="QGridLayout" name="gridLayout">
-      <item row="0" column="0">
-       <widget class="QLabel" name="label_10">
-        <property name="text">
-         <string>Action:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <widget class="ColorButton" name="actionMsgColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/ActionMsg</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>0</red>
-          <green>0</green>
-          <blue>255</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="3">
-       <widget class="QLabel" name="label_5">
-        <property name="text">
-         <string>Timestamp:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="4">
-       <widget class="ColorButton" name="timestampColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/Timestamp</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>112</red>
-          <green>124</green>
-          <blue>112</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0">
-       <widget class="QLabel" name="label_3">
-        <property name="text">
-         <string>Channel message:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="ColorButton" name="channelMsgColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/ChannelMsg</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>0</red>
-          <green>0</green>
-          <blue>0</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="2">
-       <spacer name="horizontalSpacer_2">
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>134</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="1" column="3">
-       <widget class="QLabel" name="label_7">
-        <property name="text">
-         <string>Highlight foreground:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="4">
-       <widget class="ColorButton" name="highlightColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/Highlight</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>0</red>
-          <green>0</green>
-          <blue>0</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="0">
-       <widget class="QLabel" name="label_6">
-        <property name="text">
-         <string>Command message:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="1">
-       <widget class="ColorButton" name="commandMsgColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/CommandMsg</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>150</red>
-          <green>0</green>
-          <blue>150</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="3">
-       <widget class="QLabel" name="label_12">
-        <property name="text">
-         <string>Highlight background:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="0">
-       <widget class="QLabel" name="label_4">
-        <property name="text">
-         <string>Server message:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="1">
-       <widget class="ColorButton" name="serverMsgColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/ServerMsg</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>145</red>
-          <green>100</green>
-          <blue>9</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="3">
-       <widget class="QLabel" name="label_11">
-        <property name="text">
-         <string>Marker line:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="4">
-       <widget class="ColorButton" name="markerLineColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/MarkerLine</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>255</red>
-          <green>0</green>
-          <blue>0</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="0">
-       <widget class="QLabel" name="label">
-        <property name="text">
-         <string>Error message:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="1">
-       <widget class="ColorButton" name="errorMsgColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/ErrorMsg</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>145</red>
-          <green>100</green>
-          <blue>9</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="3">
-       <widget class="QLabel" name="label_8">
-        <property name="text">
-         <string>Background:</string>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="4">
-       <widget class="ColorButton" name="backgroundColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/ChatViewBackground</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>255</red>
-          <green>255</green>
-          <blue>255</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="4">
-       <widget class="ColorButton" name="highlightBackgroundColor">
-        <property name="text">
-         <string>...</string>
-        </property>
-        <property name="settingsKey" stdset="0">
-         <string>Colors/HighlightBackground</string>
-        </property>
-        <property name="defaultValue" stdset="0">
-         <color>
-          <red>255</red>
-          <green>128</green>
-          <blue>0</blue>
-         </color>
-        </property>
-       </widget>
-      </item>
-     </layout>
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="useSenderColors">
-     <property name="title">
-      <string>Use Sender Coloring</string>
+    <widget class="QCheckBox" name="autoMarkerLineOnLostFocus">
+     <property name="toolTip">
+      <string>Set the marker line to the bottom of the current chat window when Quassel loses focus.</string>
      </property>
-     <property name="checkable">
+     <property name="text">
+      <string>Set marker line automatically when Quassel loses focus</string>
+     </property>
+     <property name="checked">
       <bool>true</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>/Colors/UseSenderColors</string>
+      <string notr="true">AutoMarkerLineOnLostFocus</string>
      </property>
      <property name="defaultValue" stdset="0">
       <bool>true</bool>
      </property>
-     <layout class="QVBoxLayout" name="verticalLayout">
-      <item>
-       <layout class="QGridLayout" name="gridLayout_3">
-        <item row="0" column="0">
-         <widget class="ColorButton" name="senderColor00">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender00</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="2">
-         <widget class="ColorButton" name="senderColor02">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender02</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="4">
-         <widget class="ColorButton" name="senderColor04">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender04</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="5">
-         <widget class="ColorButton" name="senderColor05">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender05</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="6">
-         <widget class="ColorButton" name="senderColor06">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender06</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="7">
-         <widget class="ColorButton" name="senderColor07">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender07</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="0">
-         <widget class="ColorButton" name="senderColor08">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender08</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="1">
-         <widget class="ColorButton" name="senderColor09">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender09</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="2">
-         <widget class="ColorButton" name="senderColor10">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender10</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="3">
-         <widget class="ColorButton" name="senderColor11">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender11</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="4">
-         <widget class="ColorButton" name="senderColor12">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender12</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="5">
-         <widget class="ColorButton" name="senderColor13">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender13</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="6">
-         <widget class="ColorButton" name="senderColor14">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender14</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="7">
-         <widget class="ColorButton" name="senderColor15">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender15</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="1">
-         <widget class="ColorButton" name="senderColor01">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender01</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="3">
-         <widget class="ColorButton" name="senderColor03">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>Colors/Sender03</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item>
-       <layout class="QHBoxLayout" name="horizontalLayout_2">
-        <item>
-         <widget class="QLabel" name="label_9">
-          <property name="text">
-           <string>Own messages:</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="ColorButton" name="senderColorSelf">
-          <property name="text">
-           <string>...</string>
-          </property>
-          <property name="settingsKey" stdset="0">
-           <string>/Colors/SenderSelf</string>
-          </property>
-          <property name="defaultValue" stdset="0">
-           <color>
-            <red>0</red>
-            <green>0</green>
-            <blue>0</blue>
-           </color>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer name="horizontalSpacer_3">
-          <property name="orientation">
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" stdset="0">
-           <size>
-            <width>40</width>
-            <height>20</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-       </layout>
-      </item>
-     </layout>
     </widget>
    </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_4">
+     <item>
+      <widget class="QLabel" name="label_2">
+       <property name="text">
+        <string>Web Search URL:</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QLineEdit" name="webSearchUrlFormat">
+       <property name="toolTip">
+        <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>
+       </property>
+       <property name="settingsKey" stdset="0">
+        <string notr="true">WebSearchUrlFormat</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <string>https://www.google.com/search?q=%s</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
    <item>
     <spacer name="verticalSpacer">
      <property name="orientation">
   </layout>
  </widget>
  <customwidgets>
-  <customwidget>
-   <class>ColorButton</class>
-   <extends>QToolButton</extends>
-   <header>colorbutton.h</header>
-  </customwidget>
   <customwidget>
    <class>FontSelector</class>
    <extends>QWidget</extends>
    <container>1</container>
   </customwidget>
  </customwidgets>
+ <tabstops>
+  <tabstop>customTimestampFormat</tabstop>
+  <tabstop>timestampFormat</tabstop>
+  <tabstop>showSenderBrackets</tabstop>
+  <tabstop>senderPrefixComboBox</tabstop>
+  <tabstop>customChatViewFont</tabstop>
+  <tabstop>showWebPreview</tabstop>
+  <tabstop>autoMarkerLine</tabstop>
+  <tabstop>autoMarkerLineOnLostFocus</tabstop>
+  <tabstop>webSearchUrlFormat</tabstop>
+ </tabstops>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>customChatViewFont</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>chatViewFont</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>205</x>
+     <y>48</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>304</x>
+     <y>50</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>customTimestampFormat</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>timestampFormat</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>116</x>
+     <y>22</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>301</x>
+     <y>23</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>