]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/tray-monitor/main-conf.ui
Add new tray-monitor files that were omitted in the backport from Enterprise
[bacula/bacula] / bacula / src / qt-console / tray-monitor / main-conf.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Conf</class>
4  <widget class="QDialog" name="Conf">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>556</width>
10     <height>337</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Configuration</string>
15   </property>
16   <layout class="QHBoxLayout" name="horizontalLayout">
17    <item>
18     <widget class="QTabWidget" name="tabWidget">
19      <property name="currentIndex">
20       <number>0</number>
21      </property>
22      <widget class="QWidget" name="tabMonitor">
23       <attribute name="title">
24        <string>Monitor Configuration</string>
25       </attribute>
26       <layout class="QVBoxLayout" name="verticalLayout">
27        <item>
28         <layout class="QFormLayout" name="formLayout">
29          <property name="fieldGrowthPolicy">
30           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
31          </property>
32          <item row="0" column="0">
33           <widget class="QLabel" name="label">
34            <property name="toolTip">
35             <string>The Monitor name will be used during the authentication phase.</string>
36            </property>
37            <property name="text">
38             <string>Name:</string>
39            </property>
40           </widget>
41          </item>
42          <item row="0" column="1">
43           <widget class="QLineEdit" name="editName">
44            <property name="toolTip">
45             <string>The Monitor name will be used during the authentication phase.</string>
46            </property>
47            <property name="maxLength">
48             <number>127</number>
49            </property>
50           </widget>
51          </item>
52          <item row="1" column="0">
53           <widget class="QLabel" name="label_2">
54            <property name="text">
55             <string>Refresh Interval:</string>
56            </property>
57           </widget>
58          </item>
59          <item row="1" column="1">
60           <widget class="QSpinBox" name="spinRefresh">
61            <property name="minimum">
62             <number>5</number>
63            </property>
64            <property name="maximum">
65             <number>9999</number>
66            </property>
67            <property name="value">
68             <number>120</number>
69            </property>
70           </widget>
71          </item>
72          <item row="2" column="0">
73           <widget class="QLabel" name="label_3">
74            <property name="toolTip">
75             <string>Specify the &quot;Command Directory&quot; where the tray-monitor program will check regularly for jobs to run</string>
76            </property>
77            <property name="text">
78             <string>Command Directory:</string>
79            </property>
80           </widget>
81          </item>
82          <item row="2" column="1">
83           <layout class="QHBoxLayout" name="horizontalLayout_2">
84            <item>
85             <widget class="QLineEdit" name="editCommandDir">
86              <property name="toolTip">
87               <string>Specify the &quot;Command Directory&quot; where the tray-monitor program will check regularly for jobs to run</string>
88              </property>
89             </widget>
90            </item>
91            <item>
92             <widget class="QToolButton" name="bpCommandDir">
93              <property name="text">
94               <string>...</string>
95              </property>
96             </widget>
97            </item>
98           </layout>
99          </item>
100          <item row="3" column="0">
101           <widget class="QLabel" name="label_4">
102            <property name="toolTip">
103             <string>Display or Hide advanced options in the &quot;Run Job&quot; window</string>
104            </property>
105            <property name="text">
106             <string>Display Advanced Options:</string>
107            </property>
108           </widget>
109          </item>
110          <item row="3" column="1">
111           <widget class="QCheckBox" name="cbDspAdvanced">
112            <property name="toolTip">
113             <string>Display or Hide advanced options in the &quot;Run Job&quot; window</string>
114            </property>
115            <property name="text">
116             <string/>
117            </property>
118           </widget>
119          </item>
120         </layout>
121        </item>
122       </layout>
123      </widget>
124     </widget>
125    </item>
126    <item>
127     <layout class="QVBoxLayout" name="verticalLayout_2">
128      <item>
129       <widget class="QPushButton" name="bpSave">
130        <property name="toolTip">
131         <string>Save and Apply the changes</string>
132        </property>
133        <property name="text">
134         <string>Save</string>
135        </property>
136        <property name="icon">
137         <iconset resource="../main.qrc">
138          <normaloff>:/images/label.png</normaloff>:/images/label.png</iconset>
139        </property>
140       </widget>
141      </item>
142      <item>
143       <widget class="QPushButton" name="bpCancel">
144        <property name="text">
145         <string>Cancel</string>
146        </property>
147        <property name="icon">
148         <iconset resource="../main.qrc">
149          <normaloff>:/images/A.png</normaloff>:/images/A.png</iconset>
150        </property>
151       </widget>
152      </item>
153      <item>
154       <spacer name="verticalSpacer">
155        <property name="orientation">
156         <enum>Qt::Vertical</enum>
157        </property>
158        <property name="sizeHint" stdset="0">
159         <size>
160          <width>20</width>
161          <height>40</height>
162         </size>
163        </property>
164       </spacer>
165      </item>
166      <item>
167       <widget class="QPushButton" name="bpStrip">
168        <property name="toolTip">
169         <string>Show/Hide Passwords</string>
170        </property>
171        <property name="text">
172         <string>Password</string>
173        </property>
174        <property name="icon">
175         <iconset resource="../main.qrc">
176          <normaloff>:/images/zoom.png</normaloff>:/images/zoom.png</iconset>
177        </property>
178       </widget>
179      </item>
180      <item>
181       <widget class="QPushButton" name="bpAddClient">
182        <property name="toolTip">
183         <string>Add Client resource to monitor</string>
184        </property>
185        <property name="text">
186         <string>Client   </string>
187        </property>
188        <property name="icon">
189         <iconset resource="../main.qrc">
190          <normaloff>:/images/mark.png</normaloff>:/images/mark.png</iconset>
191        </property>
192       </widget>
193      </item>
194      <item>
195       <widget class="QPushButton" name="bpAddStorage">
196        <property name="toolTip">
197         <string>Add Storage resource to monitor</string>
198        </property>
199        <property name="text">
200         <string>Storage</string>
201        </property>
202        <property name="icon">
203         <iconset resource="../main.qrc">
204          <normaloff>:/images/mark.png</normaloff>:/images/mark.png</iconset>
205        </property>
206       </widget>
207      </item>
208      <item>
209       <widget class="QPushButton" name="bpAddDir">
210        <property name="toolTip">
211         <string>Add Director resource to monitor</string>
212        </property>
213        <property name="text">
214         <string> Director</string>
215        </property>
216        <property name="icon">
217         <iconset resource="../main.qrc">
218          <normaloff>:/images/mark.png</normaloff>:/images/mark.png</iconset>
219        </property>
220       </widget>
221      </item>
222     </layout>
223    </item>
224   </layout>
225  </widget>
226  <resources>
227   <include location="../main.qrc"/>
228  </resources>
229  <connections>
230   <connection>
231    <sender>bpSave</sender>
232    <signal>clicked()</signal>
233    <receiver>Conf</receiver>
234    <slot>accept()</slot>
235    <hints>
236     <hint type="sourcelabel">
237      <x>511</x>
238      <y>30</y>
239     </hint>
240     <hint type="destinationlabel">
241      <x>521</x>
242      <y>46</y>
243     </hint>
244    </hints>
245   </connection>
246   <connection>
247    <sender>bpCancel</sender>
248    <signal>clicked()</signal>
249    <receiver>Conf</receiver>
250    <slot>close()</slot>
251    <hints>
252     <hint type="sourcelabel">
253      <x>511</x>
254      <y>76</y>
255     </hint>
256     <hint type="destinationlabel">
257      <x>521</x>
258      <y>159</y>
259     </hint>
260    </hints>
261   </connection>
262   <connection>
263    <sender>bpStrip</sender>
264    <signal>clicked()</signal>
265    <receiver>Conf</receiver>
266    <slot>togglePassword()</slot>
267    <hints>
268     <hint type="sourcelabel">
269      <x>511</x>
270      <y>178</y>
271     </hint>
272     <hint type="destinationlabel">
273      <x>496</x>
274      <y>142</y>
275     </hint>
276    </hints>
277   </connection>
278   <connection>
279    <sender>bpAddClient</sender>
280    <signal>clicked()</signal>
281    <receiver>Conf</receiver>
282    <slot>addClient()</slot>
283    <hints>
284     <hint type="sourcelabel">
285      <x>511</x>
286      <y>239</y>
287     </hint>
288     <hint type="destinationlabel">
289      <x>521</x>
290      <y>245</y>
291     </hint>
292    </hints>
293   </connection>
294   <connection>
295    <sender>bpAddStorage</sender>
296    <signal>clicked()</signal>
297    <receiver>Conf</receiver>
298    <slot>addStore()</slot>
299    <hints>
300     <hint type="sourcelabel">
301      <x>511</x>
302      <y>272</y>
303     </hint>
304     <hint type="destinationlabel">
305      <x>521</x>
306      <y>289</y>
307     </hint>
308    </hints>
309   </connection>
310   <connection>
311    <sender>bpAddDir</sender>
312    <signal>clicked()</signal>
313    <receiver>Conf</receiver>
314    <slot>addDir()</slot>
315    <hints>
316     <hint type="sourcelabel">
317      <x>511</x>
318      <y>313</y>
319     </hint>
320     <hint type="destinationlabel">
321      <x>521</x>
322      <y>331</y>
323     </hint>
324    </hints>
325   </connection>
326   <connection>
327    <sender>bpCommandDir</sender>
328    <signal>clicked()</signal>
329    <receiver>Conf</receiver>
330    <slot>selectCommandDir()</slot>
331    <hints>
332     <hint type="sourcelabel">
333      <x>405</x>
334      <y>135</y>
335     </hint>
336     <hint type="destinationlabel">
337      <x>466</x>
338      <y>112</y>
339     </hint>
340    </hints>
341   </connection>
342  </connections>
343  <slots>
344   <slot>togglePassword()</slot>
345   <slot>addClient()</slot>
346   <slot>addStore()</slot>
347   <slot>addDir()</slot>
348   <slot>selectCommandDir()</slot>
349  </slots>
350 </ui>