Corrected focus handling of the various copy dialogs.

Mon, 05 Sep 2011 19:21:16 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 05 Sep 2011 19:21:16 +0200
changeset 1290
e131e4f5446b
parent 1289
44519fdf4cc9
child 1292
74fc87c7b7a8

Corrected focus handling of the various copy dialogs.

Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.ui file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.ui file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.ui	Mon Sep 05 19:17:27 2011 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.ui	Mon Sep 05 19:21:16 2011 +0200
@@ -42,9 +42,6 @@
      </item>
      <item row="0" column="1">
       <widget class="QLineEdit" name="sourceEdit">
-       <property name="focusPolicy">
-        <enum>Qt::NoFocus</enum>
-       </property>
        <property name="toolTip">
         <string>Shows the name of the source</string>
        </property>
@@ -106,6 +103,7 @@
   <tabstop>dirButton</tabstop>
   <tabstop>forceCheckBox</tabstop>
   <tabstop>buttonBox</tabstop>
+  <tabstop>sourceEdit</tabstop>
  </tabstops>
  <resources/>
  <connections>
--- a/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui	Mon Sep 05 19:17:27 2011 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui	Mon Sep 05 19:21:16 2011 +0200
@@ -1,78 +1,76 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>SvnCopyDialog</class>
- <widget class="QDialog" name="SvnCopyDialog" >
-  <property name="geometry" >
+ <widget class="QDialog" name="SvnCopyDialog">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>409</width>
-    <height>133</height>
+    <height>135</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Subversion Copy</string>
   </property>
-  <property name="sizeGripEnabled" >
+  <property name="sizeGripEnabled">
    <bool>true</bool>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout">
    <item>
-    <layout class="QGridLayout" >
-     <item row="1" column="2" >
-      <widget class="QPushButton" name="dirButton" >
-       <property name="focusPolicy" >
+    <layout class="QGridLayout">
+     <item row="1" column="2">
+      <widget class="QPushButton" name="dirButton">
+       <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
-       <property name="toolTip" >
+       <property name="toolTip">
         <string>Press to open a selection dialog</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Target name&lt;/b>
-&lt;p>Select the target name for the operation via a selection dialog.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Target name&lt;/b&gt;
+&lt;p&gt;Select the target name for the operation via a selection dialog.&lt;/p&gt;</string>
        </property>
-       <property name="text" >
+       <property name="text">
         <string>...</string>
        </property>
       </widget>
      </item>
-     <item row="0" column="0" >
-      <widget class="QLabel" name="textLabel1" >
-       <property name="text" >
+     <item row="0" column="0">
+      <widget class="QLabel" name="textLabel1">
+       <property name="text">
         <string>Source:</string>
        </property>
       </widget>
      </item>
-     <item row="0" column="1" >
-      <widget class="QLineEdit" name="sourceEdit" >
-       <property name="focusPolicy" >
-        <enum>Qt::NoFocus</enum>
-       </property>
-       <property name="toolTip" >
+     <item row="0" column="1">
+      <widget class="QLineEdit" name="sourceEdit">
+       <property name="toolTip">
         <string>Shows the name of the source</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Source name&lt;/b>
-&lt;p>This field shows the name of the source.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Source name&lt;/b&gt;
+&lt;p&gt;This field shows the name of the source.&lt;/p&gt;</string>
        </property>
-       <property name="readOnly" >
+       <property name="readOnly">
         <bool>true</bool>
        </property>
       </widget>
      </item>
-     <item row="1" column="1" >
-      <widget class="QLineEdit" name="targetEdit" >
-       <property name="toolTip" >
+     <item row="1" column="1">
+      <widget class="QLineEdit" name="targetEdit">
+       <property name="toolTip">
         <string>Enter the target name</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Target name&lt;/b>
-&lt;p>Enter the new name in this field.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Target name&lt;/b&gt;
+&lt;p&gt;Enter the new name in this field.&lt;/p&gt;</string>
        </property>
       </widget>
      </item>
-     <item row="1" column="0" >
-      <widget class="QLabel" name="textLabel2" >
-       <property name="text" >
+     <item row="1" column="0">
+      <widget class="QLabel" name="textLabel2">
+       <property name="text">
         <string>Target:</string>
        </property>
       </widget>
@@ -80,28 +78,28 @@
     </layout>
    </item>
    <item>
-    <widget class="QCheckBox" name="forceCheckBox" >
-     <property name="toolTip" >
+    <widget class="QCheckBox" name="forceCheckBox">
+     <property name="toolTip">
       <string>Select to force the operation</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>Enforce operation</string>
      </property>
     </widget>
    </item>
    <item>
-    <widget class="QDialogButtonBox" name="buttonBox" >
-     <property name="orientation" >
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
-     <property name="standardButtons" >
+     <property name="standardButtons">
       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
      </property>
     </widget>
    </item>
   </layout>
  </widget>
- <layoutdefault spacing="6" margin="6" />
+ <layoutdefault spacing="6" margin="6"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>targetEdit</tabstop>
@@ -116,11 +114,11 @@
    <receiver>SvnCopyDialog</receiver>
    <slot>accept()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>32</x>
      <y>79</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>32</x>
      <y>97</y>
     </hint>
@@ -132,11 +130,11 @@
    <receiver>SvnCopyDialog</receiver>
    <slot>reject()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>101</x>
      <y>80</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>101</x>
      <y>97</y>
     </hint>
--- a/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.ui	Mon Sep 05 19:17:27 2011 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.ui	Mon Sep 05 19:21:16 2011 +0200
@@ -1,78 +1,76 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>SvnCopyDialog</class>
- <widget class="QDialog" name="SvnCopyDialog" >
-  <property name="geometry" >
+ <widget class="QDialog" name="SvnCopyDialog">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>409</width>
-    <height>133</height>
+    <height>135</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Subversion Copy</string>
   </property>
-  <property name="sizeGripEnabled" >
+  <property name="sizeGripEnabled">
    <bool>true</bool>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout">
    <item>
-    <layout class="QGridLayout" >
-     <item row="1" column="2" >
-      <widget class="QPushButton" name="dirButton" >
-       <property name="focusPolicy" >
+    <layout class="QGridLayout">
+     <item row="1" column="2">
+      <widget class="QPushButton" name="dirButton">
+       <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
-       <property name="toolTip" >
+       <property name="toolTip">
         <string>Press to open a selection dialog</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Target directory&lt;/b>
-&lt;p>Select the target name for the operation via a selection dialog.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Target directory&lt;/b&gt;
+&lt;p&gt;Select the target name for the operation via a selection dialog.&lt;/p&gt;</string>
        </property>
-       <property name="text" >
+       <property name="text">
         <string>...</string>
        </property>
       </widget>
      </item>
-     <item row="0" column="0" >
-      <widget class="QLabel" name="textLabel1" >
-       <property name="text" >
+     <item row="0" column="0">
+      <widget class="QLabel" name="textLabel1">
+       <property name="text">
         <string>Source:</string>
        </property>
       </widget>
      </item>
-     <item row="0" column="1" >
-      <widget class="QLineEdit" name="sourceEdit" >
-       <property name="focusPolicy" >
-        <enum>Qt::NoFocus</enum>
-       </property>
-       <property name="toolTip" >
+     <item row="0" column="1">
+      <widget class="QLineEdit" name="sourceEdit">
+       <property name="toolTip">
         <string>Shows the name of the source</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Source name&lt;/b>
-&lt;p>This field shows the name of the source.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Source name&lt;/b&gt;
+&lt;p&gt;This field shows the name of the source.&lt;/p&gt;</string>
        </property>
-       <property name="readOnly" >
+       <property name="readOnly">
         <bool>true</bool>
        </property>
       </widget>
      </item>
-     <item row="1" column="1" >
-      <widget class="QLineEdit" name="targetEdit" >
-       <property name="toolTip" >
+     <item row="1" column="1">
+      <widget class="QLineEdit" name="targetEdit">
+       <property name="toolTip">
         <string>Enter the target name</string>
        </property>
-       <property name="whatsThis" >
-        <string>&lt;b>Target name&lt;/b>
-&lt;p>Enter the new name in this field.&lt;/p></string>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Target name&lt;/b&gt;
+&lt;p&gt;Enter the new name in this field.&lt;/p&gt;</string>
        </property>
       </widget>
      </item>
-     <item row="1" column="0" >
-      <widget class="QLabel" name="textLabel2" >
-       <property name="text" >
+     <item row="1" column="0">
+      <widget class="QLabel" name="textLabel2">
+       <property name="text">
         <string>Target:</string>
        </property>
       </widget>
@@ -80,28 +78,28 @@
     </layout>
    </item>
    <item>
-    <widget class="QCheckBox" name="forceCheckBox" >
-     <property name="toolTip" >
+    <widget class="QCheckBox" name="forceCheckBox">
+     <property name="toolTip">
       <string>Select to force the operation</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>Enforce operation</string>
      </property>
     </widget>
    </item>
    <item>
-    <widget class="QDialogButtonBox" name="buttonBox" >
-     <property name="orientation" >
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
-     <property name="standardButtons" >
+     <property name="standardButtons">
       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
      </property>
     </widget>
    </item>
   </layout>
  </widget>
- <layoutdefault spacing="6" margin="6" />
+ <layoutdefault spacing="6" margin="6"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>targetEdit</tabstop>
@@ -116,11 +114,11 @@
    <receiver>SvnCopyDialog</receiver>
    <slot>accept()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>32</x>
      <y>79</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>32</x>
      <y>97</y>
     </hint>
@@ -132,11 +130,11 @@
    <receiver>SvnCopyDialog</receiver>
    <slot>reject()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>101</x>
      <y>80</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>101</x>
      <y>97</y>
     </hint>

eric ide

mercurial