Make echo application the default dialplan
[ipypbx] / ui / layout.ui
index 0ac10c3..eb6a8c7 100644 (file)
@@ -30,7 +30,7 @@
      </size>
     </property>
     <property name="currentIndex">
-     <number>0</number>
+     <number>5</number>
     </property>
     <widget class="QWidget" name="connectionsTab">
      <attribute name="title">
          <item row="1" column="0">
           <widget class="QLabel" name="label_12">
            <property name="text">
-            <string>Local IP address</string>
+            <string>Local IP Address</string>
            </property>
           </widget>
          </item>
         <x>10</x>
         <y>10</y>
         <width>781</width>
-        <height>351</height>
+        <height>354</height>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_8">
            </property>
           </widget>
          </item>
-         <item row="6" column="0">
+         <item row="7" column="0">
           <widget class="QLabel" name="label_23">
            <property name="text">
             <string>Expire In Seconds</string>
            </property>
           </widget>
          </item>
-         <item row="7" column="0">
+         <item row="8" column="0">
           <widget class="QLabel" name="label_24">
            <property name="text">
             <string>Retry In Seconds</string>
            </property>
           </widget>
          </item>
-         <item row="9" column="0">
+         <item row="10" column="0">
           <widget class="QLabel" name="label_25">
            <property name="text">
             <string/>
            </property>
           </widget>
          </item>
-         <item row="8" column="0">
+         <item row="9" column="0">
           <widget class="QCheckBox" name="gatewayIsActive">
            <property name="text">
             <string>Is Active</string>
            </property>
           </widget>
          </item>
-         <item row="8" column="1">
+         <item row="9" column="1">
           <widget class="QCheckBox" name="gatewayCallerIdInFromField">
            <property name="text">
             <string>Caller ID In &quot;From&quot; Field</string>
           <widget class="QLineEdit" name="gatewayFromDomain"/>
          </item>
          <item row="6" column="1">
-          <widget class="QLineEdit" name="gatewayExpireInSeconds"/>
+          <widget class="QLineEdit" name="gatewayExtension"/>
+         </item>
+         <item row="6" column="0">
+          <widget class="QLabel" name="label_31">
+           <property name="text">
+            <string>Extension</string>
+           </property>
+          </widget>
+         </item>
+         <item row="8" column="1">
+          <widget class="QLineEdit" name="gatewayRetryInSeconds">
+           <property name="text">
+            <string>3600</string>
+           </property>
+          </widget>
          </item>
          <item row="7" column="1">
-          <widget class="QLineEdit" name="gatewayRetryInSeconds"/>
+          <widget class="QLineEdit" name="gatewayExpireInSeconds">
+           <property name="text">
+            <string>3600</string>
+           </property>
+          </widget>
          </item>
         </layout>
        </item>
        </item>
        <item row="0" column="1">
         <layout class="QFormLayout" name="formLayout_2">
+         <property name="fieldGrowthPolicy">
+          <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+         </property>
          <item row="0" column="0">
           <widget class="QLabel" name="label_2">
            <property name="text">
            </property>
           </widget>
          </item>
-         <item row="2" column="0">
-          <widget class="QLabel" name="label_27">
-           <property name="text">
-            <string>Domain</string>
-           </property>
-          </widget>
-         </item>
          <item row="1" column="1">
           <widget class="QLineEdit" name="endpointPassword">
            <property name="echoMode">
            </property>
           </widget>
          </item>
+         <item row="2" column="0">
+          <widget class="QLabel" name="label_27">
+           <property name="text">
+            <string>Domain</string>
+           </property>
+          </widget>
+         </item>
          <item row="2" column="1">
           <widget class="QComboBox" name="endpointDomainId"/>
          </item>
           <widget class="QComboBox" name="extensionEndpointId"/>
          </item>
          <item row="1" column="1">
-          <widget class="QTextEdit" name="extensionXmlDialplan"/>
+          <widget class="QPlainTextEdit" name="extensionXmlDialplan">
+           <property name="whatsThis">
+            <string/>
+           </property>
+           <property name="plainText">
+            <string notr="true"> &lt;action application=&quot;echo&quot; data=&quot;&quot;/&gt;
+</string>
+           </property>
+          </widget>
          </item>
         </layout>
        </item>