ViewProfileDialog: removed the possibility to hide the right sidebar/toolbox because it contains information widgets for both modes.

Sun, 08 Jul 2018 16:45:37 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 08 Jul 2018 16:45:37 +0200
changeset 6414
db17b5f86c67
parent 6413
fbb7671f4564
child 6415
6268db2f966d

ViewProfileDialog: removed the possibility to hide the right sidebar/toolbox because it contains information widgets for both modes.

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 13:07:17 2018 +0200
+++ b/Preferences/ViewProfileDialog.py	Sun Jul 08 16:45:37 2018 +0200
@@ -48,12 +48,10 @@
             # 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())
@@ -71,12 +69,12 @@
                 [
                     self.ui.epltCheckBox.isChecked(),
                     self.ui.ephtCheckBox.isChecked(),
-                    self.ui.eprtCheckBox.isChecked(),
+                    True
                 ],
                 # debug profile
                 [
                     self.ui.dpltCheckBox.isChecked(),
                     self.ui.dphtCheckBox.isChecked(),
-                    self.ui.dprtCheckBox.isChecked(),
+                    True
                 ]
             )
--- a/Preferences/ViewProfileSidebarsDialog.ui	Sun Jul 08 13:07:17 2018 +0200
+++ b/Preferences/ViewProfileSidebarsDialog.ui	Sun Jul 08 16:45:37 2018 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>608</width>
-    <height>177</height>
+    <height>173</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -44,16 +44,6 @@
        </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>
@@ -80,16 +70,6 @@
        </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>
@@ -116,11 +96,9 @@
  </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 13:07:17 2018 +0200
+++ b/Preferences/ViewProfileToolboxesDialog.ui	Sun Jul 08 16:45:37 2018 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>608</width>
-    <height>177</height>
+    <height>173</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -44,16 +44,6 @@
        </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>
@@ -80,16 +70,6 @@
        </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>
@@ -117,10 +97,8 @@
  <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