Reworking highlighting a bit
[quassel.git] / src / qtui / settingspages / highlightsettingspage.ui
index 3d83985..1929460 100644 (file)
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Highlight list</string>
+      <string>Custom Highlights</string>
      </property>
      <layout class="QGridLayout" >
       <item rowspan="3" row="0" column="0" >
        <widget class="QTableWidget" name="highlightTable" >
-        <property name="styleSheet" >
+        <property name="toolTip" >
          <string/>
         </property>
+        <property name="styleSheet" >
+         <string notr="true" />
+        </property>
         <column>
          <property name="text" >
-          <string>RexEx</string>
+          <string>Highlight</string>
          </property>
         </column>
         <column>
          <property name="text" >
-          <string>Highlight</string>
+          <string>RegEx</string>
+         </property>
+        </column>
+        <column>
+         <property name="text" >
+          <string>CS</string>
          </property>
         </column>
         <column>
@@ -60,7 +68,7 @@
         <property name="orientation" >
          <enum>Qt::Vertical</enum>
         </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0" >
          <size>
           <width>20</width>
           <height>40</height>
     </widget>
    </item>
    <item>
-    <widget class="QCheckBox" name="highlightCurrentNick" >
-     <property name="text" >
-      <string>Highlight current nick</string>
-     </property>
-     <property name="checked" >
-      <bool>true</bool>
+    <widget class="QGroupBox" name="groupBox_2" >
+     <property name="title" >
+      <string>Highlight Nicks</string>
      </property>
+     <layout class="QVBoxLayout" >
+      <item>
+       <widget class="QRadioButton" name="highlightAllNicks" >
+        <property name="text" >
+         <string>All nicks from identity</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="highlightCurrentNick" >
+        <property name="text" >
+         <string>Current nick</string>
+        </property>
+        <property name="checked" >
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="highlightNoNick" >
+        <property name="text" >
+         <string>None</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="nicksCaseSensitive" >
+        <property name="text" >
+         <string>Case sensitive</string>
+        </property>
+        <property name="checked" >
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+     </layout>
     </widget>
    </item>
   </layout>
  </widget>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>highlightNoNick</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>nicksCaseSensitive</receiver>
+   <slot>setDisabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>64</x>
+     <y>350</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>69</x>
+     <y>381</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>