Fix widgets selection order
authorStas Shtin <antisvin@gmail.com>
Fri, 9 Apr 2010 19:14:28 +0000 (23:14 +0400)
committerStas Shtin <antisvin@gmail.com>
Fri, 9 Apr 2010 19:14:28 +0000 (23:14 +0400)
src/ipypbx/ui.py
ui/layout.ui

index 037c40b..763e061 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file '../ui/layout.ui'
 #
-# Created: Fri Apr  9 17:29:46 2010
+# Created: Fri Apr  9 23:13:40 2010
 #      by: PyQt4 UI code generator 4.7.2
 #
 # WARNING! All changes made in this file will be lost!
@@ -38,24 +38,28 @@ class Ui_MainWindow(object):
         self.formLayout_7.setWidget(0, QtGui.QFormLayout.FieldRole, self.connectionName)
         self.connectionLocalIpAddress = QtGui.QLineEdit(self.layoutWidget)
         self.connectionLocalIpAddress.setInputMethodHints(QtCore.Qt.ImhNone)
+        self.connectionLocalIpAddress.setMaxLength(15)
         self.connectionLocalIpAddress.setObjectName("connectionLocalIpAddress")
         self.formLayout_7.setWidget(1, QtGui.QFormLayout.FieldRole, self.connectionLocalIpAddress)
         self.label_11 = QtGui.QLabel(self.layoutWidget)
         self.label_11.setObjectName("label_11")
         self.formLayout_7.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_11)
         self.connectionLocalPort = QtGui.QLineEdit(self.layoutWidget)
+        self.connectionLocalPort.setMaxLength(5)
         self.connectionLocalPort.setObjectName("connectionLocalPort")
         self.formLayout_7.setWidget(2, QtGui.QFormLayout.FieldRole, self.connectionLocalPort)
         self.label_13 = QtGui.QLabel(self.layoutWidget)
         self.label_13.setObjectName("label_13")
         self.formLayout_7.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_13)
         self.connectionFreeswitchPort = QtGui.QLineEdit(self.layoutWidget)
+        self.connectionFreeswitchPort.setMaxLength(5)
         self.connectionFreeswitchPort.setObjectName("connectionFreeswitchPort")
         self.formLayout_7.setWidget(4, QtGui.QFormLayout.FieldRole, self.connectionFreeswitchPort)
         self.label_12 = QtGui.QLabel(self.layoutWidget)
         self.label_12.setObjectName("label_12")
         self.formLayout_7.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_12)
         self.connectionFreeswitchIpAddress = QtGui.QLineEdit(self.layoutWidget)
+        self.connectionFreeswitchIpAddress.setMaxLength(100)
         self.connectionFreeswitchIpAddress.setObjectName("connectionFreeswitchIpAddress")
         self.formLayout_7.setWidget(3, QtGui.QFormLayout.FieldRole, self.connectionFreeswitchIpAddress)
         self.label_14 = QtGui.QLabel(self.layoutWidget)
@@ -363,6 +367,61 @@ class Ui_MainWindow(object):
         self.retranslateUi(MainWindow)
         self.tabWidget.setCurrentIndex(0)
         QtCore.QMetaObject.connectSlotsByName(MainWindow)
+        MainWindow.setTabOrder(self.tabWidget, self.connectionViewList)
+        MainWindow.setTabOrder(self.connectionViewList, self.connectionName)
+        MainWindow.setTabOrder(self.connectionName, self.connectionLocalIpAddress)
+        MainWindow.setTabOrder(self.connectionLocalIpAddress, self.connectionLocalPort)
+        MainWindow.setTabOrder(self.connectionLocalPort, self.connectionFreeswitchIpAddress)
+        MainWindow.setTabOrder(self.connectionFreeswitchIpAddress, self.connectionFreeswitchPort)
+        MainWindow.setTabOrder(self.connectionFreeswitchPort, self.connectionAdd)
+        MainWindow.setTabOrder(self.connectionAdd, self.connectionSave)
+        MainWindow.setTabOrder(self.connectionSave, self.sipProfileList)
+        MainWindow.setTabOrder(self.sipProfileList, self.sipProfileName)
+        MainWindow.setTabOrder(self.sipProfileName, self.sipProfileExtRtpIp)
+        MainWindow.setTabOrder(self.sipProfileExtRtpIp, self.sipProfileExtSipIp)
+        MainWindow.setTabOrder(self.sipProfileExtSipIp, self.sipProfileRtpIp)
+        MainWindow.setTabOrder(self.sipProfileRtpIp, self.sipProfileSipIp)
+        MainWindow.setTabOrder(self.sipProfileSipIp, self.sipProfileSipPort)
+        MainWindow.setTabOrder(self.sipProfileSipPort, self.sipProfileAcceptBlindRegistration)
+        MainWindow.setTabOrder(self.sipProfileAcceptBlindRegistration, self.sipProfileAuthenticateCalls)
+        MainWindow.setTabOrder(self.sipProfileAuthenticateCalls, self.sipProfileIsActive)
+        MainWindow.setTabOrder(self.sipProfileIsActive, self.sipProfileAdd)
+        MainWindow.setTabOrder(self.sipProfileAdd, self.sipProfileSave)
+        MainWindow.setTabOrder(self.sipProfileSave, self.domainList)
+        MainWindow.setTabOrder(self.domainList, self.domainHostName)
+        MainWindow.setTabOrder(self.domainHostName, self.domainSipProfile)
+        MainWindow.setTabOrder(self.domainSipProfile, self.domainIsActive)
+        MainWindow.setTabOrder(self.domainIsActive, self.domainAdd)
+        MainWindow.setTabOrder(self.domainAdd, self.domainSave)
+        MainWindow.setTabOrder(self.domainSave, self.gatewayList)
+        MainWindow.setTabOrder(self.gatewayList, self.gatewayName)
+        MainWindow.setTabOrder(self.gatewayName, self.comboBox)
+        MainWindow.setTabOrder(self.comboBox, self.gatewayUsername)
+        MainWindow.setTabOrder(self.gatewayUsername, self.gatewayPassword)
+        MainWindow.setTabOrder(self.gatewayPassword, self.gatewayRealm)
+        MainWindow.setTabOrder(self.gatewayRealm, self.gatewayFromDomain)
+        MainWindow.setTabOrder(self.gatewayFromDomain, self.gatewayExpireInSeconds)
+        MainWindow.setTabOrder(self.gatewayExpireInSeconds, self.gatewayRetryInSeconds)
+        MainWindow.setTabOrder(self.gatewayRetryInSeconds, self.gatewayCallerIdInFromField)
+        MainWindow.setTabOrder(self.gatewayCallerIdInFromField, self.gatewayIsActive)
+        MainWindow.setTabOrder(self.gatewayIsActive, self.gatewayAdd)
+        MainWindow.setTabOrder(self.gatewayAdd, self.gatewaySave)
+        MainWindow.setTabOrder(self.gatewaySave, self.endpointList)
+        MainWindow.setTabOrder(self.endpointList, self.endpointUseId)
+        MainWindow.setTabOrder(self.endpointUseId, self.endpointPassword)
+        MainWindow.setTabOrder(self.endpointPassword, self.endpontDomain)
+        MainWindow.setTabOrder(self.endpontDomain, self.endpointIsActive)
+        MainWindow.setTabOrder(self.endpointIsActive, self.endpointAdd)
+        MainWindow.setTabOrder(self.endpointAdd, self.endpointSave)
+        MainWindow.setTabOrder(self.endpointSave, self.extensionList)
+        MainWindow.setTabOrder(self.extensionList, self.extensionDestinationMatch)
+        MainWindow.setTabOrder(self.extensionDestinationMatch, self.extensionDialplan)
+        MainWindow.setTabOrder(self.extensionDialplan, self.extensionDomain)
+        MainWindow.setTabOrder(self.extensionDomain, self.extensionEndpoint)
+        MainWindow.setTabOrder(self.extensionEndpoint, self.extensionAuthenticateCalls)
+        MainWindow.setTabOrder(self.extensionAuthenticateCalls, self.extensionIsActive)
+        MainWindow.setTabOrder(self.extensionIsActive, self.extensionAdd)
+        MainWindow.setTabOrder(self.extensionAdd, self.extensionSave)
 
     def retranslateUi(self, MainWindow):
         MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "IPyPBX", None, QtGui.QApplication.UnicodeUTF8))
index 02517df..568f590 100644 (file)
@@ -70,6 +70,9 @@
            <property name="inputMethodHints">
             <set>Qt::ImhNone</set>
            </property>
+           <property name="maxLength">
+            <number>15</number>
+           </property>
           </widget>
          </item>
          <item row="2" column="0">
           </widget>
          </item>
          <item row="2" column="1">
-          <widget class="QLineEdit" name="connectionLocalPort"/>
+          <widget class="QLineEdit" name="connectionLocalPort">
+           <property name="maxLength">
+            <number>5</number>
+           </property>
+          </widget>
          </item>
          <item row="4" column="0">
           <widget class="QLabel" name="label_13">
           </widget>
          </item>
          <item row="4" column="1">
-          <widget class="QLineEdit" name="connectionFreeswitchPort"/>
+          <widget class="QLineEdit" name="connectionFreeswitchPort">
+           <property name="maxLength">
+            <number>5</number>
+           </property>
+          </widget>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="label_12">
           </widget>
          </item>
          <item row="3" column="1">
-          <widget class="QLineEdit" name="connectionFreeswitchIpAddress"/>
+          <widget class="QLineEdit" name="connectionFreeswitchIpAddress">
+           <property name="maxLength">
+            <number>100</number>
+           </property>
+          </widget>
          </item>
          <item row="3" column="0">
           <widget class="QLabel" name="label_14">
    </widget>
   </widget>
  </widget>
+ <tabstops>
+  <tabstop>tabWidget</tabstop>
+  <tabstop>connectionViewList</tabstop>
+  <tabstop>connectionName</tabstop>
+  <tabstop>connectionLocalIpAddress</tabstop>
+  <tabstop>connectionLocalPort</tabstop>
+  <tabstop>connectionFreeswitchIpAddress</tabstop>
+  <tabstop>connectionFreeswitchPort</tabstop>
+  <tabstop>connectionAdd</tabstop>
+  <tabstop>connectionSave</tabstop>
+  <tabstop>sipProfileList</tabstop>
+  <tabstop>sipProfileName</tabstop>
+  <tabstop>sipProfileExtRtpIp</tabstop>
+  <tabstop>sipProfileExtSipIp</tabstop>
+  <tabstop>sipProfileRtpIp</tabstop>
+  <tabstop>sipProfileSipIp</tabstop>
+  <tabstop>sipProfileSipPort</tabstop>
+  <tabstop>sipProfileAcceptBlindRegistration</tabstop>
+  <tabstop>sipProfileAuthenticateCalls</tabstop>
+  <tabstop>sipProfileIsActive</tabstop>
+  <tabstop>sipProfileAdd</tabstop>
+  <tabstop>sipProfileSave</tabstop>
+  <tabstop>domainList</tabstop>
+  <tabstop>domainHostName</tabstop>
+  <tabstop>domainSipProfile</tabstop>
+  <tabstop>domainIsActive</tabstop>
+  <tabstop>domainAdd</tabstop>
+  <tabstop>domainSave</tabstop>
+  <tabstop>gatewayList</tabstop>
+  <tabstop>gatewayName</tabstop>
+  <tabstop>comboBox</tabstop>
+  <tabstop>gatewayUsername</tabstop>
+  <tabstop>gatewayPassword</tabstop>
+  <tabstop>gatewayRealm</tabstop>
+  <tabstop>gatewayFromDomain</tabstop>
+  <tabstop>gatewayExpireInSeconds</tabstop>
+  <tabstop>gatewayRetryInSeconds</tabstop>
+  <tabstop>gatewayCallerIdInFromField</tabstop>
+  <tabstop>gatewayIsActive</tabstop>
+  <tabstop>gatewayAdd</tabstop>
+  <tabstop>gatewaySave</tabstop>
+  <tabstop>endpointList</tabstop>
+  <tabstop>endpointUseId</tabstop>
+  <tabstop>endpointPassword</tabstop>
+  <tabstop>endpontDomain</tabstop>
+  <tabstop>endpointIsActive</tabstop>
+  <tabstop>endpointAdd</tabstop>
+  <tabstop>endpointSave</tabstop>
+  <tabstop>extensionList</tabstop>
+  <tabstop>extensionDestinationMatch</tabstop>
+  <tabstop>extensionDialplan</tabstop>
+  <tabstop>extensionDomain</tabstop>
+  <tabstop>extensionEndpoint</tabstop>
+  <tabstop>extensionAuthenticateCalls</tabstop>
+  <tabstop>extensionIsActive</tabstop>
+  <tabstop>extensionAdd</tabstop>
+  <tabstop>extensionSave</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>