Implement sender matching for highlight rules
[quassel.git] / src / qtui / settingspages / corehighlightsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CoreHighlightSettingsPage</class>
4  <widget class="QWidget" name="CoreHighlightSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>438</width>
10     <height>404</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout">
17    <item>
18     <widget class="QGroupBox" name="groupBox">
19      <property name="title">
20       <string>Custom Highlights</string>
21      </property>
22      <layout class="QVBoxLayout" name="verticalLayout">
23       <item>
24        <widget class="QTableWidget" name="highlightTable">
25         <property name="toolTip">
26          <string/>
27         </property>
28         <property name="styleSheet">
29          <string notr="true"/>
30         </property>
31         <column>
32          <property name="text">
33           <string>Highlight</string>
34          </property>
35         </column>
36         <column>
37          <property name="text">
38           <string>RegEx</string>
39          </property>
40         </column>
41         <column>
42          <property name="text">
43           <string>CS</string>
44          </property>
45         </column>
46         <column>
47          <property name="text">
48           <string>Enable</string>
49          </property>
50         </column>
51         <column>
52          <property name="text">
53           <string>Inverse</string>
54          </property>
55         </column>
56         <column>
57          <property name="text">
58           <string>Sender</string>
59          </property>
60         </column>
61         <column>
62          <property name="text">
63           <string>Channel</string>
64          </property>
65         </column>
66        </widget>
67       </item>
68       <item>
69        <layout class="QHBoxLayout" name="horizontalLayout">
70         <property name="topMargin">
71          <number>0</number>
72         </property>
73         <property name="bottomMargin">
74          <number>0</number>
75         </property>
76         <item>
77          <widget class="QPushButton" name="add">
78           <property name="text">
79            <string>Add</string>
80           </property>
81          </widget>
82         </item>
83         <item>
84          <widget class="QPushButton" name="remove">
85           <property name="text">
86            <string>Remove</string>
87           </property>
88          </widget>
89         </item>
90         <item>
91          <spacer name="horizontalSpacer">
92           <property name="orientation">
93            <enum>Qt::Horizontal</enum>
94           </property>
95           <property name="sizeHint" stdset="0">
96            <size>
97             <width>40</width>
98             <height>20</height>
99            </size>
100           </property>
101          </spacer>
102         </item>
103        </layout>
104       </item>
105      </layout>
106     </widget>
107    </item>
108    <item>
109     <widget class="QGroupBox" name="groupBox_2">
110      <property name="title">
111       <string>Highlight Nicks</string>
112      </property>
113      <layout class="QVBoxLayout">
114       <item>
115        <widget class="QRadioButton" name="highlightAllNicks">
116         <property name="text">
117          <string>All nicks from identity</string>
118         </property>
119        </widget>
120       </item>
121       <item>
122        <widget class="QRadioButton" name="highlightCurrentNick">
123         <property name="text">
124          <string>Current nick</string>
125         </property>
126         <property name="checked">
127          <bool>true</bool>
128         </property>
129        </widget>
130       </item>
131       <item>
132        <widget class="QRadioButton" name="highlightNoNick">
133         <property name="text">
134          <string>None</string>
135         </property>
136        </widget>
137       </item>
138       <item>
139        <widget class="QCheckBox" name="nicksCaseSensitive">
140         <property name="text">
141          <string>Case sensitive</string>
142         </property>
143         <property name="checked">
144          <bool>true</bool>
145         </property>
146        </widget>
147       </item>
148      </layout>
149     </widget>
150    </item>
151   </layout>
152  </widget>
153  <resources/>
154  <connections>
155   <connection>
156    <sender>highlightNoNick</sender>
157    <signal>toggled(bool)</signal>
158    <receiver>nicksCaseSensitive</receiver>
159    <slot>setDisabled(bool)</slot>
160    <hints>
161     <hint type="sourcelabel">
162      <x>64</x>
163      <y>350</y>
164     </hint>
165     <hint type="destinationlabel">
166      <x>69</x>
167      <y>381</y>
168     </hint>
169    </hints>
170   </connection>
171  </connections>
172 </ui>