Disable the highlights page when not connected
[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>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>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   </layout>
142  </widget>
143  <resources/>
144  <connections>
145   <connection>
146    <sender>highlightNoNick</sender>
147    <signal>toggled(bool)</signal>
148    <receiver>nicksCaseSensitive</receiver>
149    <slot>setDisabled(bool)</slot>
150    <hints>
151     <hint type="sourcelabel">
152      <x>64</x>
153      <y>350</y>
154     </hint>
155     <hint type="destinationlabel">
156      <x>69</x>
157      <y>381</y>
158     </hint>
159    </hints>
160   </connection>
161  </connections>
162 </ui>