Merged with branch 'eric7'. unittest

Tue, 17 May 2022 14:21:13 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 17 May 2022 14:21:13 +0200
branch
unittest
changeset 9069
938039ea15ca
parent 9066
a219ade50f7c (current diff)
parent 9068
d5b274508a0f (diff)
child 9070
eab09a1ab8ce

Merged with branch 'eric7'.

eric7/JediInterface/JediServer.py file | annotate | diff | comparison | revisions
--- a/docs/changelog	Mon May 16 19:46:51 2022 +0200
+++ b/docs/changelog	Tue May 17 14:21:13 2022 +0200
@@ -8,6 +8,9 @@
 - MicroPython
   -- updated the list of known CircuitPython boards
   -- updated the list of known UF2 capable boards
+- Wizards
+  -- extended the QInputDialog wizard to support the 'getMultiLineText()'
+     function
 
 Version 22.5:
 - bug fixes
--- a/eric7/JediInterface/JediServer.py	Mon May 16 19:46:51 2022 +0200
+++ b/eric7/JediInterface/JediServer.py	Tue May 17 14:21:13 2022 +0200
@@ -506,10 +506,11 @@
                 None,
                 self.tr("Rename Variable"),
                 self.tr("Enter the new name for the variable:"),
-                QLineEdit.EchoMode.Normal
+                QLineEdit.EchoMode.Normal,
+                editor.selectedText()
             )
             
-            if ok and newName:
+            if ok and newName and self.__vm.checkAllDirty():
                 filename = editor.getFileName()
                 line, index = editor.getCursorPosition()
                 source = editor.text()
@@ -546,7 +547,7 @@
                 QLineEdit.EchoMode.Normal
             )
             
-            if ok and newName:
+            if ok and newName and editor.checkDirty():
                 filename = editor.getFileName()
                 sLine, sIndex, eLine, eIndex = editor.getSelection()
                 source = editor.text()
@@ -580,22 +581,23 @@
             if not idString:
                 return
             
-            filename = editor.getFileName()
-            line, index = editor.getCursorPosition()
-            source = editor.text()
-            
-            self.__ensureActive(idString)
-            
-            euuid = str(uuid.uuid4())
-            self.__editors[euuid] = editor
-            
-            self.sendJson("inlineVariable", {
-                "FileName": filename,
-                "Source": source,
-                "Line": line + 1,
-                "Index": index,
-                "Uuid": euuid,
-            }, idString=idString)
+            if editor.checkDirty():
+                filename = editor.getFileName()
+                line, index = editor.getCursorPosition()
+                source = editor.text()
+                
+                self.__ensureActive(idString)
+                
+                euuid = str(uuid.uuid4())
+                self.__editors[euuid] = editor
+                
+                self.sendJson("inlineVariable", {
+                    "FileName": filename,
+                    "Source": source,
+                    "Line": line + 1,
+                    "Index": index,
+                    "Uuid": euuid,
+                }, idString=idString)
     
     @pyqtSlot()
     def refactoringExtractFunction(self):
@@ -615,7 +617,7 @@
                 QLineEdit.EchoMode.Normal
             )
             
-            if ok and newName:
+            if ok and newName and editor.checkDirty():
                 filename = editor.getFileName()
                 sLine, sIndex, eLine, eIndex = editor.getSelection()
                 source = editor.text()
--- a/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Mon May 16 19:46:51 2022 +0200
+++ b/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Tue May 17 14:21:13 2022 +0200
@@ -32,7 +32,7 @@
         super().__init__(parent)
         self.setupUi(self)
         
-        # set the validators for the double line edots
+        # set the validators for the double line edits
         self.eDoubleDefault.setValidator(
             QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleDefault))
         self.eDoubleFrom.setValidator(
@@ -40,21 +40,46 @@
         self.eDoubleTo.setValidator(
             QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo))
         
+        self.rText.toggled.connect(self.__typeSelectButtonToggled)
+        self.rMultiLineText.toggled.connect(self.__typeSelectButtonToggled)
+        self.rInteger.toggled.connect(self.__typeSelectButtonToggled)
+        self.rDouble.toggled.connect(self.__typeSelectButtonToggled)
+        self.rItem.toggled.connect(self.__typeSelectButtonToggled)
+        
         self.bTest = self.buttonBox.addButton(
             self.tr("Test"), QDialogButtonBox.ButtonRole.ActionRole)
         
+        # simulate a dialog type selection
+        self.__typeSelectButtonToggled(True)
+        
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())
-        
+    
     @pyqtSlot(bool)
-    def on_rItem_toggled(self, checked):
+    def __typeSelectButtonToggled(self, checked):
+        """
+        Private slot to modify the dialog according to the selected type.
+        
+        Note: This is a multiplexed slot. Therefore it just reacts upon a
+        positive check state (i.e. checked == True).
+        
+        @param checked flag indicating the checked state
+        @type bool
         """
-        Private slot to perform actions dependant on the item type selection.
-        
-        @param checked flag indicating the checked state (boolean)
-        """
-        self.bTest.setEnabled(not checked)
-        
+        self.bTest.setEnabled(True)
+        if checked:
+            if self.rText.isChecked():
+                self.specificsStack.setCurrentWidget(self.textPage)
+            elif self.rMultiLineText.isChecked():
+                self.specificsStack.setCurrentWidget(self.multiLineTextPage)
+            elif self.rInteger.isChecked():
+                self.specificsStack.setCurrentWidget(self.integerPage)
+            elif self.rDouble.isChecked():
+                self.specificsStack.setCurrentWidget(self.doublePage)
+            elif self.rItem.isChecked():
+                self.specificsStack.setCurrentWidget(self.itemPage)
+                self.bTest.setEnabled(False)
+    
     def on_buttonBox_clicked(self, button):
         """
         Private slot called by a button of the button box clicked.
@@ -82,6 +107,12 @@
                 self.eLabel.text(),
                 echomode,
                 self.eTextDefault.text())
+        elif self.rMultiLineText.isChecked():
+            QInputDialog.getMultiLineText(
+                None,
+                self.eCaption.text(),
+                self.eLabel.text(),
+                self.eMultiTextDefault.toPlainText())
         elif self.rInteger.isChecked():
             QInputDialog.getInt(
                 None,
@@ -154,8 +185,31 @@
             else:
                 code += 'QLineEdit.EchoMode.Password'
             if self.eTextDefault.text():
-                code += ',{0}{1}self.tr("{2}")'.format(
-                    os.linesep, istring, self.eTextDefault.text())
+                if self.cTranslateTextDefault.isChecked():
+                    code += ',{0}{1}self.tr("{2}")'.format(
+                        os.linesep, istring, self.eTextDefault.text())
+                else:
+                    code += ',{0}{1}"{2}"'.format(
+                        os.linesep, istring, self.eTextDefault.text())
+            code += '{0}){0}'.format(estring)
+        elif self.rMultiLineText.isChecked():
+            code +='getMultiLineText({0}{1}'.format(os.linesep, istring)
+            code += '{0},{1}{2}'.format(parent, os.linesep, istring)
+            code += 'self.tr("{0}"),{1}{2}'.format(
+                self.eCaption.text(), os.linesep, istring)
+            code += 'self.tr("{0}")'.format(self.eLabel.text())
+            if self.eMultiTextDefault.toPlainText():
+                defTxt = "\\n".join(
+                    self.eMultiTextDefault.toPlainText().splitlines()
+                )
+                if self.cTranslateMultiTextDefault.isChecked():
+                    code += ',{0}{1}self.tr("{2}")'.format(
+                        os.linesep, istring,
+                        defTxt)
+                else:
+                    code += ',{0}{1}"{2}"'.format(
+                        os.linesep, istring,
+                        defTxt)
             code += '{0}){0}'.format(estring)
         elif self.rInteger.isChecked():
             code += 'getInt({0}{1}'.format(os.linesep, istring)
--- a/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.ui	Mon May 16 19:46:51 2022 +0200
+++ b/eric7/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.ui	Tue May 17 14:21:13 2022 +0200
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>501</width>
-    <height>684</height>
+    <width>550</width>
+    <height>602</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -34,6 +34,13 @@
        </widget>
       </item>
       <item>
+       <widget class="QRadioButton" name="rMultiLineText">
+        <property name="text">
+         <string>Multiline Text</string>
+        </property>
+       </widget>
+      </item>
+      <item>
        <widget class="QRadioButton" name="rInteger">
         <property name="text">
          <string>Integer</string>
@@ -148,260 +155,414 @@
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox_2">
-     <property name="title">
-      <string>Text</string>
-     </property>
-     <layout class="QVBoxLayout">
-      <item>
-       <widget class="QGroupBox" name="groupBox_3">
-        <property name="title">
-         <string>Echo Mode</string>
-        </property>
-        <layout class="QHBoxLayout">
-         <item>
-          <widget class="QRadioButton" name="rEchoNormal">
-           <property name="text">
-            <string>Normal</string>
-           </property>
-           <property name="checked">
-            <bool>true</bool>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QRadioButton" name="rEchoNoEcho">
-           <property name="text">
-            <string>No Echo</string>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QRadioButton" name="rEchoPassword">
-           <property name="text">
-            <string>Password</string>
-           </property>
-          </widget>
-         </item>
-        </layout>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLabel" name="TextLabel3">
-        <property name="text">
-         <string>Default</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLineEdit" name="eTextDefault"/>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_4">
-     <property name="enabled">
-      <bool>false</bool>
-     </property>
-     <property name="title">
-      <string>Integer</string>
+    <widget class="QStackedWidget" name="specificsStack">
+     <property name="currentIndex">
+      <number>0</number>
      </property>
-     <layout class="QGridLayout">
-      <item row="1" column="3">
-       <widget class="QSpinBox" name="sIntStep">
-        <property name="minimum">
-         <number>-2147483647</number>
-        </property>
-        <property name="maximum">
-         <number>2147483647</number>
-        </property>
-        <property name="value">
-         <number>1</number>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="2">
-       <widget class="QSpinBox" name="sIntTo">
-        <property name="minimum">
-         <number>-2147483647</number>
-        </property>
-        <property name="maximum">
-         <number>2147483647</number>
-        </property>
-        <property name="value">
-         <number>2147483647</number>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QSpinBox" name="sIntFrom">
-        <property name="minimum">
-         <number>-2147483647</number>
-        </property>
-        <property name="maximum">
-         <number>2147483647</number>
-        </property>
-        <property name="value">
-         <number>-2147483647</number>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0">
-       <widget class="QSpinBox" name="sIntDefault">
-        <property name="minimum">
-         <number>-2147483647</number>
-        </property>
-        <property name="maximum">
-         <number>2147483647</number>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="3">
-       <widget class="QLabel" name="TextLabel4_4">
-        <property name="text">
-         <string>Step</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="2">
-       <widget class="QLabel" name="TextLabel4_3">
-        <property name="text">
-         <string>To</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <widget class="QLabel" name="TextLabel4_2">
-        <property name="text">
-         <string>From</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QLabel" name="TextLabel4">
-        <property name="text">
-         <string>Default</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_5">
-     <property name="enabled">
-      <bool>false</bool>
-     </property>
-     <property name="title">
-      <string>Double</string>
-     </property>
-     <layout class="QGridLayout">
-      <item row="1" column="3">
-       <widget class="QSpinBox" name="sDoubleDecimals">
-        <property name="minimum">
-         <number>-2147483647</number>
-        </property>
-        <property name="maximum">
-         <number>2147483647</number>
-        </property>
-        <property name="value">
-         <number>1</number>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="2">
-       <widget class="QLineEdit" name="eDoubleTo">
-        <property name="text">
-         <string>2147483647</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QLineEdit" name="eDoubleFrom">
-        <property name="text">
-         <string>-2147483647</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0">
-       <widget class="QLineEdit" name="eDoubleDefault">
-        <property name="text">
-         <string>0</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QLabel" name="TextLabel5">
-        <property name="text">
-         <string>Default</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <widget class="QLabel" name="TextLabel6">
-        <property name="text">
-         <string>From</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="2">
-       <widget class="QLabel" name="TextLabel7">
-        <property name="text">
-         <string>To</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="3">
-       <widget class="QLabel" name="TextLabel8">
-        <property name="text">
-         <string>Decimals</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_6">
-     <property name="enabled">
-      <bool>false</bool>
-     </property>
-     <property name="title">
-      <string>Item</string>
-     </property>
-     <layout class="QGridLayout">
-      <item row="1" column="2">
-       <widget class="QCheckBox" name="cEditable">
-        <property name="text">
-         <string>Editable</string>
-        </property>
-        <property name="checked">
-         <bool>true</bool>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QSpinBox" name="sCurrentItem"/>
-      </item>
-      <item row="1" column="0">
-       <widget class="QLineEdit" name="eVariable"/>
-      </item>
-      <item row="0" column="1">
-       <widget class="QLabel" name="TextLabel10">
-        <property name="text">
-         <string>Current Item</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QLabel" name="TextLabel9">
-        <property name="text">
-         <string>String List Variable</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
+     <widget class="QWidget" name="textPage">
+      <layout class="QVBoxLayout" name="verticalLayout_3">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_2">
+         <property name="title">
+          <string>Text</string>
+         </property>
+         <layout class="QVBoxLayout" name="verticalLayout_2">
+          <item>
+           <widget class="QGroupBox" name="groupBox_3">
+            <property name="title">
+             <string>Echo Mode</string>
+            </property>
+            <layout class="QHBoxLayout">
+             <item>
+              <widget class="QRadioButton" name="rEchoNormal">
+               <property name="text">
+                <string>Normal</string>
+               </property>
+               <property name="checked">
+                <bool>true</bool>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QRadioButton" name="rEchoNoEcho">
+               <property name="text">
+                <string>No Echo</string>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QRadioButton" name="rEchoPassword">
+               <property name="text">
+                <string>Password</string>
+               </property>
+              </widget>
+             </item>
+            </layout>
+           </widget>
+          </item>
+          <item>
+           <widget class="QLabel" name="TextLabel3">
+            <property name="text">
+             <string>Default</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QLineEdit" name="eTextDefault"/>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="cTranslateTextDefault">
+            <property name="text">
+             <string>Translate Default</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="multiLineTextPage">
+      <layout class="QVBoxLayout" name="verticalLayout_8">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_7">
+         <property name="title">
+          <string>Multiline Text</string>
+         </property>
+         <layout class="QVBoxLayout" name="verticalLayout_7">
+          <item>
+           <widget class="QLabel" name="TextLabel3_2">
+            <property name="text">
+             <string>Default</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QPlainTextEdit" name="eMultiTextDefault">
+            <property name="tabChangesFocus">
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="cTranslateMultiTextDefault">
+            <property name="text">
+             <string>Translate Default</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="integerPage">
+      <layout class="QVBoxLayout" name="verticalLayout_4">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_4">
+         <property name="title">
+          <string>Integer</string>
+         </property>
+         <layout class="QGridLayout">
+          <item row="1" column="3">
+           <widget class="QSpinBox" name="sIntStep">
+            <property name="minimum">
+             <number>-2147483647</number>
+            </property>
+            <property name="maximum">
+             <number>2147483647</number>
+            </property>
+            <property name="value">
+             <number>1</number>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="2">
+           <widget class="QSpinBox" name="sIntTo">
+            <property name="minimum">
+             <number>-2147483647</number>
+            </property>
+            <property name="maximum">
+             <number>2147483647</number>
+            </property>
+            <property name="value">
+             <number>2147483647</number>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="1">
+           <widget class="QSpinBox" name="sIntFrom">
+            <property name="minimum">
+             <number>-2147483647</number>
+            </property>
+            <property name="maximum">
+             <number>2147483647</number>
+            </property>
+            <property name="value">
+             <number>-2147483647</number>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="0">
+           <widget class="QSpinBox" name="sIntDefault">
+            <property name="minimum">
+             <number>-2147483647</number>
+            </property>
+            <property name="maximum">
+             <number>2147483647</number>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="3">
+           <widget class="QLabel" name="TextLabel4_4">
+            <property name="text">
+             <string>Step</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="2">
+           <widget class="QLabel" name="TextLabel4_3">
+            <property name="text">
+             <string>To</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="1">
+           <widget class="QLabel" name="TextLabel4_2">
+            <property name="text">
+             <string>From</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="0">
+           <widget class="QLabel" name="TextLabel4">
+            <property name="text">
+             <string>Default</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item>
+        <spacer name="verticalSpacer">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>95</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="doublePage">
+      <layout class="QVBoxLayout" name="verticalLayout_5">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_5">
+         <property name="title">
+          <string>Double</string>
+         </property>
+         <layout class="QGridLayout">
+          <item row="1" column="3">
+           <widget class="QSpinBox" name="sDoubleDecimals">
+            <property name="minimum">
+             <number>-2147483647</number>
+            </property>
+            <property name="maximum">
+             <number>2147483647</number>
+            </property>
+            <property name="value">
+             <number>1</number>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="2">
+           <widget class="QLineEdit" name="eDoubleTo">
+            <property name="text">
+             <string>2147483647</string>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="1">
+           <widget class="QLineEdit" name="eDoubleFrom">
+            <property name="text">
+             <string>-2147483647</string>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="0">
+           <widget class="QLineEdit" name="eDoubleDefault">
+            <property name="text">
+             <string>0</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="0">
+           <widget class="QLabel" name="TextLabel5">
+            <property name="text">
+             <string>Default</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="1">
+           <widget class="QLabel" name="TextLabel6">
+            <property name="text">
+             <string>From</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="2">
+           <widget class="QLabel" name="TextLabel7">
+            <property name="text">
+             <string>To</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="3">
+           <widget class="QLabel" name="TextLabel8">
+            <property name="text">
+             <string>Decimals</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item>
+        <spacer name="verticalSpacer_2">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>95</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="itemPage">
+      <layout class="QVBoxLayout" name="verticalLayout_6">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_6">
+         <property name="title">
+          <string>Item</string>
+         </property>
+         <layout class="QGridLayout">
+          <item row="1" column="2">
+           <widget class="QCheckBox" name="cEditable">
+            <property name="text">
+             <string>Editable</string>
+            </property>
+            <property name="checked">
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="1">
+           <widget class="QSpinBox" name="sCurrentItem"/>
+          </item>
+          <item row="1" column="0">
+           <widget class="QLineEdit" name="eVariable"/>
+          </item>
+          <item row="0" column="1">
+           <widget class="QLabel" name="TextLabel10">
+            <property name="text">
+             <string>Current Item</string>
+            </property>
+           </widget>
+          </item>
+          <item row="0" column="0">
+           <widget class="QLabel" name="TextLabel9">
+            <property name="text">
+             <string>String List Variable</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item>
+        <spacer name="verticalSpacer_3">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>95</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+      </layout>
+     </widget>
     </widget>
    </item>
    <item>
@@ -419,6 +580,7 @@
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>rText</tabstop>
+  <tabstop>rMultiLineText</tabstop>
   <tabstop>rInteger</tabstop>
   <tabstop>rDouble</tabstop>
   <tabstop>rItem</tabstop>
@@ -433,6 +595,9 @@
   <tabstop>rEchoNoEcho</tabstop>
   <tabstop>rEchoPassword</tabstop>
   <tabstop>eTextDefault</tabstop>
+  <tabstop>cTranslateTextDefault</tabstop>
+  <tabstop>eMultiTextDefault</tabstop>
+  <tabstop>cTranslateMultiTextDefault</tabstop>
   <tabstop>sIntDefault</tabstop>
   <tabstop>sIntFrom</tabstop>
   <tabstop>sIntTo</tabstop>
@@ -444,83 +609,18 @@
   <tabstop>eVariable</tabstop>
   <tabstop>sCurrentItem</tabstop>
   <tabstop>cEditable</tabstop>
-  <tabstop>buttonBox</tabstop>
  </tabstops>
  <resources/>
  <connections>
   <connection>
-   <sender>rText</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>groupBox_2</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>74</x>
-     <y>48</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>39</x>
-     <y>411</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>rInteger</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>groupBox_4</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>247</x>
-     <y>48</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>178</x>
-     <y>489</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>rDouble</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>groupBox_5</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>364</x>
-     <y>48</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>283</x>
-     <y>567</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>rItem</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>groupBox_6</receiver>
-   <slot>setEnabled(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>481</x>
-     <y>48</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>448</x>
-     <y>645</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
    <sender>buttonBox</sender>
    <signal>accepted()</signal>
    <receiver>InputDialogWizardDialog</receiver>
    <slot>accept()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>34</x>
-     <y>674</y>
+     <x>43</x>
+     <y>940</y>
     </hint>
     <hint type="destinationlabel">
      <x>25</x>
@@ -535,8 +635,8 @@
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>120</x>
-     <y>674</y>
+     <x>129</x>
+     <y>940</y>
     </hint>
     <hint type="destinationlabel">
      <x>111</x>
@@ -551,12 +651,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>81</x>
-     <y>253</y>
+     <x>103</x>
+     <y>340</y>
     </hint>
     <hint type="destinationlabel">
-     <x>124</x>
-     <y>260</y>
+     <x>247</x>
+     <y>341</y>
     </hint>
    </hints>
   </connection>

eric ide

mercurial