Search the web with selected text.
[quassel.git] / src / qtui / settingspages / chatviewsettingspage.ui
index 95e009f..073ae2d 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>486</width>
-    <height>475</height>
+    <height>492</height>
    </rect>
   </property>
   <property name="windowTitle">
      </item>
      <item>
       <widget class="QLineEdit" name="timestampFormat">
+       <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>
@@ -32,7 +42,7 @@
         <string>[hh:mm:ss]</string>
        </property>
        <property name="settingsKey" stdset="0">
-        <string>TimestampFormat</string>
+        <string notr="true">TimestampFormat</string>
        </property>
       </widget>
      </item>
@@ -62,7 +72,7 @@
         <bool>false</bool>
        </property>
        <property name="settingsKey" stdset="0">
-        <string>/QtUiStyle/Fonts/UseCustomChatViewFont</string>
+        <string notr="true">/QtUiStyle/Fonts/UseCustomChatViewFont</string>
        </property>
        <property name="defaultValue" stdset="0">
         <bool>false</bool>
@@ -75,7 +85,7 @@
         <bool>false</bool>
        </property>
        <property name="settingsKey" stdset="0">
-        <string>/QtUiStyle/Fonts/ChatView</string>
+        <string notr="true">/QtUiStyle/Fonts/ChatView</string>
        </property>
        <property name="defaultValue" stdset="0">
         <font>
@@ -88,6 +98,9 @@
    </item>
    <item>
     <widget class="QCheckBox" name="allowMircColors">
+     <property name="toolTip">
+      <string>Show colored text in the chat window</string>
+     </property>
      <property name="text">
       <string>Allow colored text (mIRC color codes)</string>
      </property>
       <bool>true</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>AllowMircColors</string>
+      <string notr="true">/UiStyle/AllowMircColors</string>
      </property>
     </widget>
    </item>
       <bool>true</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>ShowWebPreview</string>
+      <string notr="true">ShowWebPreview</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <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="text">
+      <string>Set marker line automatically when switching chats</string>
+     </property>
+     <property name="checked">
+      <bool>true</bool>
+     </property>
+     <property name="settingsKey" stdset="0">
+      <string notr="true">AutoMarkerLine</string>
+     </property>
+     <property name="defaultValue" stdset="0">
+      <bool>true</bool>
      </property>
     </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>WebSearchUrlFormat</string>
+       </property>
+       <property name="defaultValue" stdset="0">
+        <string>https://www.google.com/search?q=%s</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
    <item>
     <widget class="QGroupBox" name="useCustomColors">
      <property name="title">
       <bool>false</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>/QtUiStyle/Colors/UseChatViewColors</string>
+      <string notr="true">/QtUiStyle/Colors/UseChatViewColors</string>
      </property>
      <property name="defaultValue" stdset="0">
       <bool>false</bool>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/ActionMsg</string>
+         <string notr="true">/QtUiStyle/Colors/ActionMsg</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/Timestamp</string>
+         <string notr="true">/QtUiStyle/Colors/Timestamp</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/ChannelMsg</string>
+         <string notr="true">/QtUiStyle/Colors/ChannelMsg</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/Highlight</string>
+         <string notr="true">/QtUiStyle/Colors/Highlight</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/CommandMsg</string>
+         <string notr="true">/QtUiStyle/Colors/CommandMsg</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/ServerMsg</string>
+         <string notr="true">/QtUiStyle/Colors/ServerMsg</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/MarkerLine</string>
+         <string notr="true">/QtUiStyle/Colors/MarkerLine</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/ErrorMsg</string>
+         <string notr="true">/QtUiStyle/Colors/ErrorMsg</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/ChatViewBackground</string>
+         <string notr="true">/QtUiStyle/Colors/ChatViewBackground</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
          <string>...</string>
         </property>
         <property name="settingsKey" stdset="0">
-         <string>/QtUiStyle/Colors/HighlightBackground</string>
+         <string notr="true">/QtUiStyle/Colors/HighlightBackground</string>
         </property>
         <property name="defaultValue" stdset="0">
          <color>
       <bool>false</bool>
      </property>
      <property name="settingsKey" stdset="0">
-      <string>/QtUiStyle/Colors/UseSenderColors</string>
+      <string notr="true">/QtUiStyle/Colors/UseSenderColors</string>
      </property>
      <property name="defaultValue" stdset="0">
       <bool>false</bool>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender00</string>
+           <string notr="true">/QtUiStyle/Colors/Sender00</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender02</string>
+           <string notr="true">/QtUiStyle/Colors/Sender02</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender04</string>
+           <string notr="true">/QtUiStyle/Colors/Sender04</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender05</string>
+           <string notr="true">/QtUiStyle/Colors/Sender05</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender06</string>
+           <string notr="true">/QtUiStyle/Colors/Sender06</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender07</string>
+           <string notr="true">/QtUiStyle/Colors/Sender07</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender08</string>
+           <string notr="true">/QtUiStyle/Colors/Sender08</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender09</string>
+           <string notr="true">/QtUiStyle/Colors/Sender09</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender10</string>
+           <string notr="true">/QtUiStyle/Colors/Sender10</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender11</string>
+           <string notr="true">/QtUiStyle/Colors/Sender11</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender12</string>
+           <string notr="true">/QtUiStyle/Colors/Sender12</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender13</string>
+           <string notr="true">/QtUiStyle/Colors/Sender13</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender14</string>
+           <string notr="true">/QtUiStyle/Colors/Sender14</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender15</string>
+           <string notr="true">/QtUiStyle/Colors/Sender15</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender01</string>
+           <string notr="true">/QtUiStyle/Colors/Sender01</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/Sender03</string>
+           <string notr="true">/QtUiStyle/Colors/Sender03</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
            <string>...</string>
           </property>
           <property name="settingsKey" stdset="0">
-           <string>/QtUiStyle/Colors/SenderSelf</string>
+           <string notr="true">/QtUiStyle/Colors/SenderSelf</string>
           </property>
           <property name="defaultValue" stdset="0">
            <color>
  </customwidgets>
  <tabstops>
   <tabstop>timestampFormat</tabstop>
+  <tabstop>customChatViewFont</tabstop>
   <tabstop>allowMircColors</tabstop>
   <tabstop>showWebPreview</tabstop>
+  <tabstop>autoMarkerLine</tabstop>
   <tabstop>useCustomColors</tabstop>
   <tabstop>actionMsgColor</tabstop>
   <tabstop>channelMsgColor</tabstop>