a07e0c8437fb8c79f812fc5eb0d1ebca79fa9449
[quassel.git] / src / qtui / settingspages / highlightsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>HighlightSettingsPage</class>
4  <widget class="QWidget" name="HighlightSettingsPage">
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>Enabled</string>
34          </property>
35         </column>
36         <column>
37          <property name="text">
38           <string>Highlight</string>
39          </property>
40         </column>
41         <column>
42          <property name="text">
43           <string>RegEx</string>
44          </property>
45         </column>
46         <column>
47          <property name="text">
48           <string>CS</string>
49          </property>
50         </column>
51         <column>
52          <property name="text">
53           <string>Channel</string>
54          </property>
55         </column>
56        </widget>
57       </item>
58       <item>
59        <layout class="QHBoxLayout" name="horizontalLayout">
60         <property name="topMargin">
61          <number>0</number>
62         </property>
63         <property name="bottomMargin">
64          <number>0</number>
65         </property>
66         <item>
67          <widget class="QPushButton" name="add">
68           <property name="text">
69            <string>Add</string>
70           </property>
71          </widget>
72         </item>
73         <item>
74          <widget class="QPushButton" name="remove">
75           <property name="text">
76            <string>Remove</string>
77           </property>
78          </widget>
79         </item>
80         <item>
81          <spacer name="horizontalSpacer">
82           <property name="orientation">
83            <enum>Qt::Horizontal</enum>
84           </property>
85           <property name="sizeHint" stdset="0">
86            <size>
87             <width>40</width>
88             <height>20</height>
89            </size>
90           </property>
91          </spacer>
92         </item>
93        </layout>
94       </item>
95      </layout>
96     </widget>
97    </item>
98    <item>
99     <widget class="QGroupBox" name="groupBox_2">
100      <property name="title">
101       <string>Highlight Nicks</string>
102      </property>
103      <layout class="QVBoxLayout">
104       <item>
105        <widget class="QRadioButton" name="highlightAllNicks">
106         <property name="text">
107          <string>All nicks from identity</string>
108         </property>
109        </widget>
110       </item>
111       <item>
112        <widget class="QRadioButton" name="highlightCurrentNick">
113         <property name="text">
114          <string>Current nick</string>
115         </property>
116         <property name="checked">
117          <bool>true</bool>
118         </property>
119        </widget>
120       </item>
121       <item>
122        <widget class="QRadioButton" name="highlightNoNick">
123         <property name="text">
124          <string>None</string>
125         </property>
126        </widget>
127       </item>
128       <item>
129        <widget class="QCheckBox" name="nicksCaseSensitive">
130         <property name="text">
131          <string>Case sensitive</string>
132         </property>
133         <property name="checked">
134          <bool>true</bool>
135         </property>
136        </widget>
137       </item>
138      </layout>
139     </widget>
140    </item>
141    <item>
142     <layout class="QHBoxLayout">
143      <item>
144       <widget class="QLabel" name="localHighlightsIcon">
145        <property name="text">
146         <string notr="true">[icon]</string>
147        </property>
148       </widget>
149      </item>
150      <item>
151       <widget class="QLabel" name="localHighlightsLabel">
152        <property name="sizePolicy">
153         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
154          <horstretch>0</horstretch>
155          <verstretch>0</verstretch>
156         </sizepolicy>
157        </property>
158        <property name="text">
159         <string>Local Highlights apply to this device only</string>
160        </property>
161       </widget>
162      </item>
163      <item>
164       <widget class="QPushButton" name="localHighlightsDetails">
165        <property name="text">
166         <string>Details...</string>
167        </property>
168       </widget>
169      </item>
170     </layout>
171    </item>
172   </layout>
173  </widget>
174  <resources/>
175  <connections>
176   <connection>
177    <sender>highlightNoNick</sender>
178    <signal>toggled(bool)</signal>
179    <receiver>nicksCaseSensitive</receiver>
180    <slot>setDisabled(bool)</slot>
181    <hints>
182     <hint type="sourcelabel">
183      <x>64</x>
184      <y>350</y>
185     </hint>
186     <hint type="destinationlabel">
187      <x>69</x>
188      <y>381</y>
189     </hint>
190    </hints>
191   </connection>
192  </connections>
193 </ui>