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