Hide clone button for now
[ipypbx] / ui / layout.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>400</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>IPyPBX</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <widget class="QTabWidget" name="tabWidget">
18     <property name="geometry">
19      <rect>
20       <x>-2</x>
21       <y>-1</y>
22       <width>811</width>
23       <height>491</height>
24      </rect>
25     </property>
26     <property name="minimumSize">
27      <size>
28       <width>800</width>
29       <height>480</height>
30      </size>
31     </property>
32     <property name="currentIndex">
33      <number>0</number>
34     </property>
35     <widget class="QWidget" name="connectionsTab">
36      <attribute name="title">
37       <string>Connections</string>
38      </attribute>
39      <widget class="QWidget" name="layoutWidget">
40       <property name="geometry">
41        <rect>
42         <x>10</x>
43         <y>10</y>
44         <width>781</width>
45         <height>351</height>
46        </rect>
47       </property>
48       <layout class="QGridLayout" name="gridLayout">
49        <item row="0" column="0">
50         <widget class="QListView" name="connectionList"/>
51        </item>
52        <item row="0" column="1">
53         <layout class="QFormLayout" name="formLayout_7">
54          <property name="fieldGrowthPolicy">
55           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
56          </property>
57          <item row="0" column="0">
58           <widget class="QLabel" name="label_5">
59            <property name="text">
60             <string>Name</string>
61            </property>
62           </widget>
63          </item>
64          <item row="0" column="1">
65           <widget class="QLineEdit" name="connectionName">
66            <property name="maxLength">
67             <number>100</number>
68            </property>
69           </widget>
70          </item>
71          <item row="1" column="1">
72           <widget class="QLineEdit" name="connectionLocalIpAddress">
73            <property name="inputMethodHints">
74             <set>Qt::ImhNone</set>
75            </property>
76           </widget>
77          </item>
78          <item row="2" column="0">
79           <widget class="QLabel" name="label_11">
80            <property name="text">
81             <string>Local Port</string>
82            </property>
83           </widget>
84          </item>
85          <item row="2" column="1">
86           <widget class="QLineEdit" name="connectionLocalPort">
87            <property name="inputMethodHints">
88             <set>Qt::ImhDigitsOnly</set>
89            </property>
90           </widget>
91          </item>
92          <item row="4" column="0">
93           <widget class="QLabel" name="label_13">
94            <property name="text">
95             <string>Freeswitch Port</string>
96            </property>
97           </widget>
98          </item>
99          <item row="4" column="1">
100           <widget class="QLineEdit" name="connectionFreeswitchPort"/>
101          </item>
102          <item row="1" column="0">
103           <widget class="QLabel" name="label_12">
104            <property name="text">
105             <string>Local IP address</string>
106            </property>
107           </widget>
108          </item>
109          <item row="3" column="1">
110           <widget class="QLineEdit" name="connectionFreeswitchIpAddress"/>
111          </item>
112          <item row="3" column="0">
113           <widget class="QLabel" name="label_14">
114            <property name="text">
115             <string>Freeswitch IP Address</string>
116            </property>
117           </widget>
118          </item>
119         </layout>
120        </item>
121        <item row="2" column="0">
122         <widget class="QPushButton" name="connectionAdd">
123          <property name="text">
124           <string>Add</string>
125          </property>
126         </widget>
127        </item>
128        <item row="2" column="1">
129         <widget class="QPushButton" name="connectionSave">
130          <property name="text">
131           <string>Save</string>
132          </property>
133         </widget>
134        </item>
135        <item row="1" column="0">
136         <widget class="QPushButton" name="connectionClone">
137          <property name="enabled">
138           <bool>false</bool>
139          </property>
140          <property name="text">
141           <string>Clone</string>
142          </property>
143          <property name="checkable">
144           <bool>false</bool>
145          </property>
146          <property name="flat">
147           <bool>false</bool>
148          </property>
149         </widget>
150        </item>
151       </layout>
152      </widget>
153     </widget>
154     <widget class="QWidget" name="sipProfilesTab">
155      <property name="maximumSize">
156       <size>
157        <width>796</width>
158        <height>16777215</height>
159       </size>
160      </property>
161      <attribute name="title">
162       <string>SIP Profiles</string>
163      </attribute>
164      <widget class="QWidget" name="gridLayoutWidget_2">
165       <property name="geometry">
166        <rect>
167         <x>10</x>
168         <y>10</y>
169         <width>781</width>
170         <height>351</height>
171        </rect>
172       </property>
173       <layout class="QGridLayout" name="gridLayout_6">
174        <item row="0" column="1">
175         <layout class="QFormLayout" name="formLayout_5">
176          <property name="fieldGrowthPolicy">
177           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
178          </property>
179          <item row="0" column="0">
180           <widget class="QLabel" name="label_9">
181            <property name="text">
182             <string>Name</string>
183            </property>
184           </widget>
185          </item>
186          <item row="0" column="1">
187           <widget class="QLineEdit" name="sipProfileName"/>
188          </item>
189          <item row="1" column="0">
190           <widget class="QLabel" name="label_6">
191            <property name="text">
192             <string>External RTP IP</string>
193            </property>
194           </widget>
195          </item>
196          <item row="1" column="1">
197           <widget class="QLineEdit" name="sipProfileExtRtpIp"/>
198          </item>
199          <item row="2" column="0">
200           <widget class="QLabel" name="label_4">
201            <property name="text">
202             <string>External SIP IP</string>
203            </property>
204           </widget>
205          </item>
206          <item row="2" column="1">
207           <widget class="QLineEdit" name="sipProfileExtSipIp"/>
208          </item>
209          <item row="3" column="0">
210           <widget class="QLabel" name="label_8">
211            <property name="text">
212             <string>RTP IP</string>
213            </property>
214           </widget>
215          </item>
216          <item row="3" column="1">
217           <widget class="QLineEdit" name="sipProfileRtpIp"/>
218          </item>
219          <item row="4" column="0">
220           <widget class="QLabel" name="label_10">
221            <property name="text">
222             <string>SIP IP</string>
223            </property>
224           </widget>
225          </item>
226          <item row="4" column="1">
227           <widget class="QLineEdit" name="sipProfileSipIp"/>
228          </item>
229          <item row="5" column="0">
230           <widget class="QLabel" name="label_15">
231            <property name="text">
232             <string>SIP Port</string>
233            </property>
234           </widget>
235          </item>
236          <item row="5" column="1">
237           <widget class="QLineEdit" name="sipProfileSipPort"/>
238          </item>
239          <item row="6" column="0">
240           <widget class="QCheckBox" name="sipProfileAcceptBlindRegistration">
241            <property name="text">
242             <string>Accept Blind Registration</string>
243            </property>
244           </widget>
245          </item>
246          <item row="6" column="1">
247           <widget class="QCheckBox" name="sipProfileAuthenticateCalls">
248            <property name="text">
249             <string>Authenticate Calls</string>
250            </property>
251           </widget>
252          </item>
253          <item row="8" column="0">
254           <widget class="QLabel" name="label_16">
255            <property name="text">
256             <string/>
257            </property>
258           </widget>
259          </item>
260          <item row="7" column="0">
261           <widget class="QCheckBox" name="sipProfileIsActive">
262            <property name="text">
263             <string>Is Active</string>
264            </property>
265            <property name="checked">
266             <bool>true</bool>
267            </property>
268           </widget>
269          </item>
270         </layout>
271        </item>
272        <item row="1" column="0">
273         <widget class="QPushButton" name="sipProfileAdd">
274          <property name="text">
275           <string>Add</string>
276          </property>
277         </widget>
278        </item>
279        <item row="1" column="1">
280         <widget class="QPushButton" name="sipProfileSave">
281          <property name="text">
282           <string>Save</string>
283          </property>
284         </widget>
285        </item>
286        <item row="0" column="0">
287         <widget class="QListView" name="sipProfileList"/>
288        </item>
289       </layout>
290      </widget>
291     </widget>
292     <widget class="QWidget" name="domainsTab">
293      <attribute name="title">
294       <string>Domains</string>
295      </attribute>
296      <widget class="QWidget" name="gridLayoutWidget">
297       <property name="geometry">
298        <rect>
299         <x>10</x>
300         <y>10</y>
301         <width>781</width>
302         <height>351</height>
303        </rect>
304       </property>
305       <layout class="QGridLayout" name="gridLayout_3">
306        <item row="0" column="0">
307         <widget class="QListView" name="domainList"/>
308        </item>
309        <item row="1" column="0">
310         <widget class="QPushButton" name="domainAdd">
311          <property name="text">
312           <string>Add</string>
313          </property>
314         </widget>
315        </item>
316        <item row="1" column="1">
317         <widget class="QPushButton" name="domainSave">
318          <property name="text">
319           <string>Save</string>
320          </property>
321         </widget>
322        </item>
323        <item row="0" column="1">
324         <layout class="QFormLayout" name="formLayout_3">
325          <property name="fieldGrowthPolicy">
326           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
327          </property>
328          <item row="0" column="0">
329           <widget class="QLabel" name="label_17">
330            <property name="text">
331             <string>Host Name</string>
332            </property>
333           </widget>
334          </item>
335          <item row="0" column="1">
336           <widget class="QLineEdit" name="domainHostName">
337            <property name="text">
338             <string/>
339            </property>
340           </widget>
341          </item>
342          <item row="1" column="0">
343           <widget class="QLabel" name="label_18">
344            <property name="text">
345             <string>SIP Profile</string>
346            </property>
347           </widget>
348          </item>
349          <item row="1" column="1">
350           <widget class="QComboBox" name="domainSipProfile"/>
351          </item>
352          <item row="2" column="0">
353           <widget class="QCheckBox" name="domainIsActive">
354            <property name="text">
355             <string>Is Active</string>
356            </property>
357            <property name="checked">
358             <bool>true</bool>
359            </property>
360           </widget>
361          </item>
362         </layout>
363        </item>
364       </layout>
365      </widget>
366     </widget>
367     <widget class="QWidget" name="gatewaysTab">
368      <attribute name="title">
369       <string>Gateways</string>
370      </attribute>
371      <widget class="QWidget" name="gridLayoutWidget_3">
372       <property name="geometry">
373        <rect>
374         <x>10</x>
375         <y>10</y>
376         <width>781</width>
377         <height>351</height>
378        </rect>
379       </property>
380       <layout class="QGridLayout" name="gridLayout_8">
381        <item row="0" column="0">
382         <widget class="QListView" name="gatewayList"/>
383        </item>
384        <item row="1" column="0">
385         <widget class="QPushButton" name="gatewayAdd">
386          <property name="text">
387           <string>Add</string>
388          </property>
389         </widget>
390        </item>
391        <item row="1" column="1">
392         <widget class="QPushButton" name="gatewaySave">
393          <property name="text">
394           <string>Save</string>
395          </property>
396         </widget>
397        </item>
398        <item row="0" column="1">
399         <layout class="QFormLayout" name="formLayout">
400          <property name="fieldGrowthPolicy">
401           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
402          </property>
403          <item row="2" column="0">
404           <widget class="QLabel" name="label_19">
405            <property name="text">
406             <string>Username</string>
407            </property>
408           </widget>
409          </item>
410          <item row="3" column="0">
411           <widget class="QLabel" name="label_20">
412            <property name="text">
413             <string>Password</string>
414            </property>
415           </widget>
416          </item>
417          <item row="0" column="0">
418           <widget class="QLabel" name="label">
419            <property name="text">
420             <string>Name</string>
421            </property>
422           </widget>
423          </item>
424          <item row="0" column="1">
425           <widget class="QLineEdit" name="gatewayName"/>
426          </item>
427          <item row="4" column="0">
428           <widget class="QLabel" name="label_21">
429            <property name="text">
430             <string>Realm</string>
431            </property>
432           </widget>
433          </item>
434          <item row="1" column="0">
435           <widget class="QLabel" name="label_7">
436            <property name="text">
437             <string>SIP Profile</string>
438            </property>
439           </widget>
440          </item>
441          <item row="5" column="0">
442           <widget class="QLabel" name="label_22">
443            <property name="text">
444             <string>From Domain</string>
445            </property>
446           </widget>
447          </item>
448          <item row="6" column="0">
449           <widget class="QLabel" name="label_23">
450            <property name="text">
451             <string>Expire In Seconds</string>
452            </property>
453           </widget>
454          </item>
455          <item row="7" column="0">
456           <widget class="QLabel" name="label_24">
457            <property name="text">
458             <string>Retry In Seconds</string>
459            </property>
460           </widget>
461          </item>
462          <item row="9" column="0">
463           <widget class="QLabel" name="label_25">
464            <property name="text">
465             <string/>
466            </property>
467           </widget>
468          </item>
469          <item row="8" column="0">
470           <widget class="QCheckBox" name="gatewayIsActive">
471            <property name="text">
472             <string>Is Active</string>
473            </property>
474            <property name="checked">
475             <bool>true</bool>
476            </property>
477           </widget>
478          </item>
479          <item row="8" column="1">
480           <widget class="QCheckBox" name="gatewayCallerIdInFromField">
481            <property name="text">
482             <string>Caller ID In &quot;From&quot; Field</string>
483            </property>
484           </widget>
485          </item>
486          <item row="1" column="1">
487           <widget class="QComboBox" name="comboBox"/>
488          </item>
489          <item row="2" column="1">
490           <widget class="QLineEdit" name="gatewayUsername"/>
491          </item>
492          <item row="3" column="1">
493           <widget class="QLineEdit" name="gatewayPassword">
494            <property name="echoMode">
495             <enum>QLineEdit::Password</enum>
496            </property>
497           </widget>
498          </item>
499          <item row="4" column="1">
500           <widget class="QLineEdit" name="gatewayRealm"/>
501          </item>
502          <item row="5" column="1">
503           <widget class="QLineEdit" name="gatewayFromDomain"/>
504          </item>
505          <item row="6" column="1">
506           <widget class="QLineEdit" name="gatewayExpireInSeconds"/>
507          </item>
508          <item row="7" column="1">
509           <widget class="QLineEdit" name="gatewayRetryInSeconds"/>
510          </item>
511         </layout>
512        </item>
513       </layout>
514      </widget>
515     </widget>
516     <widget class="QWidget" name="endpointsTab">
517      <attribute name="title">
518       <string>Endpoints</string>
519      </attribute>
520      <widget class="QWidget" name="gridLayoutWidget_4">
521       <property name="geometry">
522        <rect>
523         <x>10</x>
524         <y>10</y>
525         <width>781</width>
526         <height>351</height>
527        </rect>
528       </property>
529       <layout class="QGridLayout" name="gridLayout_2">
530        <item row="1" column="0">
531         <widget class="QPushButton" name="endpointAdd">
532          <property name="text">
533           <string>Add</string>
534          </property>
535         </widget>
536        </item>
537        <item row="1" column="1">
538         <widget class="QPushButton" name="endpointSave">
539          <property name="text">
540           <string>Save</string>
541          </property>
542         </widget>
543        </item>
544        <item row="0" column="1">
545         <layout class="QFormLayout" name="formLayout_2">
546          <item row="0" column="0">
547           <widget class="QLabel" name="label_2">
548            <property name="text">
549             <string>User ID</string>
550            </property>
551           </widget>
552          </item>
553          <item row="0" column="1">
554           <widget class="QLineEdit" name="endpointUseId"/>
555          </item>
556          <item row="1" column="0">
557           <widget class="QLabel" name="label_26">
558            <property name="text">
559             <string>Password</string>
560            </property>
561           </widget>
562          </item>
563          <item row="2" column="0">
564           <widget class="QLabel" name="label_27">
565            <property name="text">
566             <string>Domain</string>
567            </property>
568           </widget>
569          </item>
570          <item row="1" column="1">
571           <widget class="QLineEdit" name="endpointPassword">
572            <property name="echoMode">
573             <enum>QLineEdit::Password</enum>
574            </property>
575           </widget>
576          </item>
577          <item row="2" column="1">
578           <widget class="QComboBox" name="endpontDomain"/>
579          </item>
580          <item row="3" column="0">
581           <widget class="QCheckBox" name="endpointIsActive">
582            <property name="text">
583             <string>Is Active</string>
584            </property>
585            <property name="checked">
586             <bool>true</bool>
587            </property>
588           </widget>
589          </item>
590         </layout>
591        </item>
592        <item row="0" column="0">
593         <widget class="QListWidget" name="endpointList"/>
594        </item>
595       </layout>
596      </widget>
597     </widget>
598     <widget class="QWidget" name="extensionsTab">
599      <attribute name="title">
600       <string>Extensions</string>
601      </attribute>
602      <widget class="QWidget" name="gridLayoutWidget_5">
603       <property name="geometry">
604        <rect>
605         <x>10</x>
606         <y>10</y>
607         <width>781</width>
608         <height>351</height>
609        </rect>
610       </property>
611       <layout class="QGridLayout" name="gridLayout_4">
612        <item row="0" column="0">
613         <widget class="QListView" name="extensionList"/>
614        </item>
615        <item row="1" column="0">
616         <widget class="QPushButton" name="extensionAdd">
617          <property name="text">
618           <string>Add</string>
619          </property>
620         </widget>
621        </item>
622        <item row="1" column="1">
623         <widget class="QPushButton" name="extensionSave">
624          <property name="text">
625           <string>Save</string>
626          </property>
627         </widget>
628        </item>
629        <item row="0" column="1">
630         <layout class="QFormLayout" name="formLayout_4">
631          <item row="1" column="0">
632           <widget class="QLabel" name="label_3">
633            <property name="text">
634             <string>XML Dialplan</string>
635            </property>
636           </widget>
637          </item>
638          <item row="1" column="1">
639           <widget class="QLineEdit" name="extensionDialplan"/>
640          </item>
641          <item row="0" column="0">
642           <widget class="QLabel" name="label_28">
643            <property name="text">
644             <string>Destination Match</string>
645            </property>
646           </widget>
647          </item>
648          <item row="2" column="0">
649           <widget class="QLabel" name="label_29">
650            <property name="text">
651             <string>Domain</string>
652            </property>
653           </widget>
654          </item>
655          <item row="3" column="0">
656           <widget class="QLabel" name="label_30">
657            <property name="text">
658             <string>Endpoint</string>
659            </property>
660           </widget>
661          </item>
662          <item row="4" column="0">
663           <widget class="QCheckBox" name="extensionIsActive">
664            <property name="text">
665             <string>Is Active</string>
666            </property>
667            <property name="checked">
668             <bool>true</bool>
669            </property>
670           </widget>
671          </item>
672          <item row="4" column="1">
673           <widget class="QCheckBox" name="extensionAuthenticateCalls">
674            <property name="text">
675             <string>Authenticate Calls</string>
676            </property>
677            <property name="checked">
678             <bool>true</bool>
679            </property>
680           </widget>
681          </item>
682          <item row="0" column="1">
683           <widget class="QLineEdit" name="extensionDestinationMatch"/>
684          </item>
685          <item row="2" column="1">
686           <widget class="QComboBox" name="extensionDomain"/>
687          </item>
688          <item row="3" column="1">
689           <widget class="QComboBox" name="extensionEndpoint"/>
690          </item>
691         </layout>
692        </item>
693       </layout>
694      </widget>
695     </widget>
696    </widget>
697   </widget>
698  </widget>
699  <resources/>
700  <connections>
701   <connection>
702    <sender>connectionAdd</sender>
703    <signal>clicked()</signal>
704    <receiver>connectionName</receiver>
705    <slot>setFocus()</slot>
706    <hints>
707     <hint type="sourcelabel">
708      <x>204</x>
709      <y>377</y>
710     </hint>
711     <hint type="destinationlabel">
712      <x>671</x>
713      <y>55</y>
714     </hint>
715    </hints>
716   </connection>
717   <connection>
718    <sender>sipProfileAdd</sender>
719    <signal>clicked()</signal>
720    <receiver>sipProfileName</receiver>
721    <slot>setFocus()</slot>
722    <hints>
723     <hint type="sourcelabel">
724      <x>204</x>
725      <y>377</y>
726     </hint>
727     <hint type="destinationlabel">
728      <x>695</x>
729      <y>55</y>
730     </hint>
731    </hints>
732   </connection>
733   <connection>
734    <sender>domainAdd</sender>
735    <signal>clicked()</signal>
736    <receiver>domainHostName</receiver>
737    <slot>setFocus()</slot>
738    <hints>
739     <hint type="sourcelabel">
740      <x>204</x>
741      <y>377</y>
742     </hint>
743     <hint type="destinationlabel">
744      <x>641</x>
745      <y>55</y>
746     </hint>
747    </hints>
748   </connection>
749   <connection>
750    <sender>gatewayAdd</sender>
751    <signal>clicked()</signal>
752    <receiver>gatewayName</receiver>
753    <slot>setFocus()</slot>
754    <hints>
755     <hint type="sourcelabel">
756      <x>204</x>
757      <y>377</y>
758     </hint>
759     <hint type="destinationlabel">
760      <x>657</x>
761      <y>55</y>
762     </hint>
763    </hints>
764   </connection>
765   <connection>
766    <sender>endpointAdd</sender>
767    <signal>clicked()</signal>
768    <receiver>endpointUseId</receiver>
769    <slot>setFocus()</slot>
770    <hints>
771     <hint type="sourcelabel">
772      <x>204</x>
773      <y>377</y>
774     </hint>
775     <hint type="destinationlabel">
776      <x>641</x>
777      <y>55</y>
778     </hint>
779    </hints>
780   </connection>
781   <connection>
782    <sender>extensionAdd</sender>
783    <signal>clicked()</signal>
784    <receiver>extensionDestinationMatch</receiver>
785    <slot>setFocus()</slot>
786    <hints>
787     <hint type="sourcelabel">
788      <x>204</x>
789      <y>377</y>
790     </hint>
791     <hint type="destinationlabel">
792      <x>659</x>
793      <y>55</y>
794     </hint>
795    </hints>
796   </connection>
797  </connections>
798 </ui>