ViewProfileDialog: reverted the last changes because this is needed once widgets useful in edit mode have been made configurable.

Sun, 08 Jul 2018 17:33:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 08 Jul 2018 17:33:25 +0200
changeset 6415
6268db2f966d
parent 6414
db17b5f86c67
child 6416
a915f8dd1ca6

ViewProfileDialog: reverted the last changes because this is needed once widgets useful in edit mode have been made configurable.

Preferences/ViewProfileDialog.py file | annotate | diff | comparison | revisions
Preferences/ViewProfileSidebarsDialog.ui file | annotate | diff | comparison | revisions
Preferences/ViewProfileToolboxesDialog.ui file | annotate | diff | comparison | revisions
--- a/Preferences/ViewProfileDialog.py	Sun Jul 08 16:45:37 2018 +0200
+++ b/Preferences/ViewProfileDialog.py	Sun Jul 08 17:33:25 2018 +0200
@@ -48,10 +48,12 @@
             # set the edit profile
             self.ui.epltCheckBox.setChecked(editVisibilities[0])
             self.ui.ephtCheckBox.setChecked(editVisibilities[1])
+            self.ui.eprtCheckBox.setChecked(editVisibilities[2])
         
             # set the debug profile
             self.ui.dpltCheckBox.setChecked(debugVisibilities[0])
             self.ui.dphtCheckBox.setChecked(debugVisibilities[1])
+            self.ui.dprtCheckBox.setChecked(debugVisibilities[2])
         
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())
@@ -69,12 +71,12 @@
                 [
                     self.ui.epltCheckBox.isChecked(),
                     self.ui.ephtCheckBox.isChecked(),
-                    True
+                    self.ui.eprtCheckBox.isChecked(),
                 ],
                 # debug profile
                 [
                     self.ui.dpltCheckBox.isChecked(),
                     self.ui.dphtCheckBox.isChecked(),
-                    True
+                    self.ui.dprtCheckBox.isChecked(),
                 ]
             )
--- a/Preferences/ViewProfileSidebarsDialog.ui	Sun Jul 08 16:45:37 2018 +0200
+++ b/Preferences/ViewProfileSidebarsDialog.ui	Sun Jul 08 17:33:25 2018 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>608</width>
-    <height>173</height>
+    <height>177</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -44,6 +44,16 @@
        </widget>
       </item>
       <item>
+       <widget class="QCheckBox" name="eprtCheckBox">
+        <property name="text">
+         <string>Right Sidebar</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
        <widget class="QCheckBox" name="ephtCheckBox">
         <property name="text">
          <string>Bottom Sidebar</string>
@@ -70,6 +80,16 @@
        </widget>
       </item>
       <item>
+       <widget class="QCheckBox" name="dprtCheckBox">
+        <property name="text">
+         <string>Right Sidebar</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
        <widget class="QCheckBox" name="dphtCheckBox">
         <property name="text">
          <string>Bottom Sidebar</string>
@@ -96,9 +116,11 @@
  </widget>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
+  <tabstop>eprtCheckBox</tabstop>
   <tabstop>epltCheckBox</tabstop>
   <tabstop>ephtCheckBox</tabstop>
   <tabstop>dpltCheckBox</tabstop>
+  <tabstop>dprtCheckBox</tabstop>
   <tabstop>dphtCheckBox</tabstop>
   <tabstop>buttonBox</tabstop>
  </tabstops>
--- a/Preferences/ViewProfileToolboxesDialog.ui	Sun Jul 08 16:45:37 2018 +0200
+++ b/Preferences/ViewProfileToolboxesDialog.ui	Sun Jul 08 17:33:25 2018 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>608</width>
-    <height>173</height>
+    <height>177</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -44,6 +44,16 @@
        </widget>
       </item>
       <item>
+       <widget class="QCheckBox" name="eprtCheckBox">
+        <property name="text">
+         <string>Right Toolbox</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
        <widget class="QCheckBox" name="ephtCheckBox">
         <property name="text">
          <string>Horizontal Toolbox</string>
@@ -70,6 +80,16 @@
        </widget>
       </item>
       <item>
+       <widget class="QCheckBox" name="dprtCheckBox">
+        <property name="text">
+         <string>Right Toolbox</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
        <widget class="QCheckBox" name="dphtCheckBox">
         <property name="text">
          <string>Horizontal Toolbox</string>
@@ -97,8 +117,10 @@
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>epltCheckBox</tabstop>
+  <tabstop>eprtCheckBox</tabstop>
   <tabstop>ephtCheckBox</tabstop>
   <tabstop>dpltCheckBox</tabstop>
+  <tabstop>dprtCheckBox</tabstop>
   <tabstop>dphtCheckBox</tabstop>
   <tabstop>buttonBox</tabstop>
  </tabstops>

eric ide

mercurial