1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>RemoteControlSettings</class>
4 <widget class="QDialog" name="RemoteControlSettings">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>314</width>
10    <height>269</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Gqrx remote control settings</string>
15  </property>
16  <property name="windowIcon">
17   <iconset resource="../../../resources/icons.qrc">
18    <normaloff>:/icons/icons/settings.svg</normaloff>:/icons/icons/settings.svg</iconset>
19  </property>
20  <layout class="QVBoxLayout" name="verticalLayout">
21   <item>
22    <layout class="QGridLayout" name="gridLayout">
23     <item row="0" column="0">
24      <widget class="QLabel" name="portLabel">
25       <property name="toolTip">
26        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select which port to listen on&lt;/p&gt;&lt;p&gt;(0 selects a random port)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
27       </property>
28       <property name="text">
29        <string>Listen on port</string>
30       </property>
31      </widget>
32     </item>
33     <item row="0" column="1">
34      <widget class="QSpinBox" name="portSpinBox">
35       <property name="minimumSize">
36        <size>
37         <width>75</width>
38         <height>0</height>
39        </size>
40       </property>
41       <property name="toolTip">
42        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select which port to listen on&lt;/p&gt;&lt;p&gt;(0 selects a random port)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
43       </property>
44       <property name="minimum">
45        <number>0</number>
46       </property>
47       <property name="maximum">
48        <number>65535</number>
49       </property>
50       <property name="value">
51        <number>7356</number>
52       </property>
53      </widget>
54     </item>
55     <item row="0" column="2">
56      <spacer name="horizontalSpacer">
57       <property name="orientation">
58        <enum>Qt::Horizontal</enum>
59       </property>
60       <property name="sizeHint" stdset="0">
61        <size>
62         <width>40</width>
63         <height>20</height>
64        </size>
65       </property>
66      </spacer>
67     </item>
68     <item row="1" column="0">
69      <widget class="QLabel" name="hostLabel">
70       <property name="toolTip">
71        <string>List of IP addresses where gqrx should accept connections from</string>
72       </property>
73       <property name="text">
74        <string>Allowed hosts</string>
75       </property>
76      </widget>
77     </item>
78     <item row="1" column="1" rowspan="3" colspan="2">
79      <widget class="QListWidget" name="hostListWidget">
80       <property name="toolTip">
81        <string>List of IP addresses where gqrx should accept connections from</string>
82       </property>
83       <property name="selectionMode">
84        <enum>QAbstractItemView::ExtendedSelection</enum>
85       </property>
86       <property name="resizeMode">
87        <enum>QListView::Fixed</enum>
88       </property>
89      </widget>
90     </item>
91     <item row="2" column="0">
92      <layout class="QHBoxLayout" name="horizontalLayout">
93       <item>
94        <widget class="QPushButton" name="hostAddButton">
95         <property name="maximumSize">
96          <size>
97           <width>56</width>
98           <height>16777215</height>
99          </size>
100         </property>
101         <property name="toolTip">
102          <string>Add a new host to the list</string>
103         </property>
104         <property name="text">
105          <string>Add</string>
106         </property>
107        </widget>
108       </item>
109       <item>
110        <widget class="QPushButton" name="hostDelButton">
111         <property name="maximumSize">
112          <size>
113           <width>56</width>
114           <height>16777215</height>
115          </size>
116         </property>
117         <property name="toolTip">
118          <string>Delete the selected host from the list</string>
119         </property>
120         <property name="text">
121          <string>Del</string>
122         </property>
123        </widget>
124       </item>
125      </layout>
126     </item>
127     <item row="3" column="0">
128      <spacer name="verticalSpacer">
129       <property name="orientation">
130        <enum>Qt::Vertical</enum>
131       </property>
132       <property name="sizeHint" stdset="0">
133        <size>
134         <width>20</width>
135         <height>40</height>
136        </size>
137       </property>
138      </spacer>
139     </item>
140    </layout>
141   </item>
142   <item>
143    <widget class="Line" name="line">
144     <property name="orientation">
145      <enum>Qt::Horizontal</enum>
146     </property>
147    </widget>
148   </item>
149   <item>
150    <widget class="QDialogButtonBox" name="buttonBox">
151     <property name="orientation">
152      <enum>Qt::Horizontal</enum>
153     </property>
154     <property name="standardButtons">
155      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
156     </property>
157    </widget>
158   </item>
159  </layout>
160 </widget>
161 <resources>
162  <include location="../../../resources/icons.qrc"/>
163 </resources>
164 <connections>
165  <connection>
166   <sender>buttonBox</sender>
167   <signal>accepted()</signal>
168   <receiver>RemoteControlSettings</receiver>
169   <slot>accept()</slot>
170   <hints>
171    <hint type="sourcelabel">
172     <x>248</x>
173     <y>254</y>
174    </hint>
175    <hint type="destinationlabel">
176     <x>157</x>
177     <y>274</y>
178    </hint>
179   </hints>
180  </connection>
181  <connection>
182   <sender>buttonBox</sender>
183   <signal>rejected()</signal>
184   <receiver>RemoteControlSettings</receiver>
185   <slot>reject()</slot>
186   <hints>
187    <hint type="sourcelabel">
188     <x>316</x>
189     <y>260</y>
190    </hint>
191    <hint type="destinationlabel">
192     <x>286</x>
193     <y>274</y>
194    </hint>
195   </hints>
196  </connection>
197 </connections>
198</ui>
199