r24559 by craig - #16505: Unify size of icon buttons on dock palettes (bubu)

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 13 14:55:13 UTC 2021


Author: craig
Date: Sat Mar 13 14:55:13 2021
New Revision: 24559

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24559
Log:
#16505: Unify size of icon buttons on dock palettes (bubu)

Modified:
    trunk/Scribus/scribus/ui/aligndistribute.ui
    trunk/Scribus/scribus/ui/layers.cpp
    trunk/Scribus/scribus/ui/layers.h
    trunk/Scribus/scribus/ui/propertiespalette_shapebase.ui
    trunk/Scribus/scribus/ui/propertiespalette_tablebase.ui
    trunk/Scribus/scribus/ui/propertiespalette_xyzbase.ui
    trunk/Scribus/scribus/ui/transparencypalette.ui

Modified: trunk/Scribus/scribus/ui/aligndistribute.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/aligndistribute.ui
==============================================================================
--- trunk/Scribus/scribus/ui/aligndistribute.ui	(original)
+++ trunk/Scribus/scribus/ui/aligndistribute.ui	Sat Mar 13 14:55:13 2021
@@ -168,9 +168,6 @@
            <layout class="QGridLayout" name="_5">
             <item row="1" column="3">
              <widget class="QToolButton" name="alignBottomInToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -181,9 +178,6 @@
             </item>
             <item row="1" column="1">
              <widget class="QToolButton" name="alignTopInToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -194,9 +188,6 @@
             </item>
             <item row="0" column="1">
              <widget class="QToolButton" name="alignLeftInToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -207,9 +198,6 @@
             </item>
             <item row="0" column="3">
              <widget class="QToolButton" name="alignRightInToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -220,9 +208,6 @@
             </item>
             <item row="1" column="4">
              <widget class="QToolButton" name="alignBottomOutToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -233,9 +218,6 @@
             </item>
             <item row="1" column="0">
              <widget class="QToolButton" name="alignTopOutToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -246,9 +228,6 @@
             </item>
             <item row="1" column="2">
              <widget class="QToolButton" name="alignCenterVerToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -259,9 +238,6 @@
             </item>
             <item row="0" column="0">
              <widget class="QToolButton" name="alignLeftOutToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -272,9 +248,6 @@
             </item>
             <item row="0" column="4">
              <widget class="QToolButton" name="alignRightOutToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -285,9 +258,6 @@
             </item>
             <item row="0" column="2">
              <widget class="QToolButton" name="alignCenterHorToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -379,9 +349,6 @@
            <layout class="QGridLayout" name="_7">
             <item row="0" column="3">
              <widget class="QToolButton" name="distributeDistHToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -392,9 +359,6 @@
             </item>
             <item row="1" column="2">
              <widget class="QToolButton" name="distributeTopToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -405,9 +369,6 @@
             </item>
             <item row="1" column="1">
              <widget class="QToolButton" name="distributeCenterVToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -418,9 +379,6 @@
             </item>
             <item row="0" column="2">
              <widget class="QToolButton" name="distributeRightToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -431,9 +389,6 @@
             </item>
             <item row="3" column="0">
              <widget class="QToolButton" name="toolButtonDummy1">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -447,9 +402,6 @@
               <property name="enabled">
                <bool>true</bool>
               </property>
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -460,9 +412,6 @@
             </item>
             <item row="0" column="0">
              <widget class="QToolButton" name="distributeLeftToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -476,9 +425,6 @@
               <property name="enabled">
                <bool>true</bool>
               </property>
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -489,9 +435,6 @@
             </item>
             <item row="3" column="1">
              <widget class="QToolButton" name="distributeDistValueHToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -505,9 +448,6 @@
               <property name="enabled">
                <bool>true</bool>
               </property>
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -518,9 +458,6 @@
             </item>
             <item row="0" column="1">
              <widget class="QToolButton" name="distributeCenterHToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -531,9 +468,6 @@
             </item>
             <item row="3" column="3">
              <widget class="QToolButton" name="toolButtonDummy2">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -547,9 +481,6 @@
               <property name="enabled">
                <bool>true</bool>
               </property>
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -560,9 +491,6 @@
             </item>
             <item row="3" column="2">
              <widget class="QToolButton" name="distributeDistValueVToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -573,9 +501,6 @@
             </item>
             <item row="1" column="3">
              <widget class="QToolButton" name="distributeDistVToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -586,9 +511,6 @@
             </item>
             <item row="1" column="0">
              <widget class="QToolButton" name="distributeBottomToolButton">
-              <property name="text">
-               <string/>
-              </property>
               <property name="iconSize">
                <size>
                 <width>22</width>
@@ -790,9 +712,6 @@
           </item>
           <item>
            <widget class="QToolButton" name="swapLeftToolButton">
-            <property name="text">
-             <string/>
-            </property>
             <property name="iconSize">
              <size>
               <width>22</width>
@@ -803,9 +722,6 @@
           </item>
           <item>
            <widget class="QToolButton" name="swapRightToolButton">
-            <property name="text">
-             <string/>
-            </property>
             <property name="iconSize">
              <size>
               <width>22</width>

Modified: trunk/Scribus/scribus/ui/layers.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/layers.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/layers.cpp	(original)
+++ trunk/Scribus/scribus/ui/layers.cpp	Sat Mar 13 14:55:13 2021
@@ -24,7 +24,6 @@
 #include <QLabel>
 #include <QMessageBox>
 #include <QPixmap>
-#include <QPushButton>
 #include <QSignalBlocker>
 #include <QSpacerItem>
 #include <QTableWidget>
@@ -108,41 +107,46 @@
 
 	Layout1 = new QHBoxLayout;
 	Layout1->setContentsMargins(0, 0, 0, 0);
-	Layout1->setSpacing(0);
+	Layout1->setSpacing(3);
 	QSpacerItem* spacer = new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
 	Layout1->addItem( spacer );
 
-	newLayerButton = new QPushButton( this );
-	newLayerButton->setMinimumSize( QSize( 50, 24 ) );
-	newLayerButton->setMaximumSize( QSize( 50, 24 ) );
+	newLayerButton = new QToolButton( this );
+	newLayerButton->setIconSize(QSize(16, 16));
+	newLayerButton->setMinimumSize( QSize( 48, 0 ) );
+	newLayerButton->setMaximumSize( QSize( 48, 16777215 ) );
 	newLayerButton->setText( "" );
 	newLayerButton->setIcon(IconManager::instance().loadIcon("16/list-add.png"));
 	Layout1->addWidget( newLayerButton );
 
-	deleteLayerButton = new QPushButton( this );
-	deleteLayerButton->setMinimumSize( QSize( 50, 24 ) );
-	deleteLayerButton->setMaximumSize( QSize( 50, 24 ) );
+	deleteLayerButton = new QToolButton( this );
+	deleteLayerButton->setIconSize(QSize(16, 16));
+	deleteLayerButton->setMinimumSize( QSize( 48, 0 ) );
+	deleteLayerButton->setMaximumSize( QSize( 48, 16777215 ) );
 	deleteLayerButton->setText( "" );
 	deleteLayerButton->setIcon(IconManager::instance().loadIcon("16/list-remove.png"));
 	Layout1->addWidget( deleteLayerButton );
 	
-	duplicateLayerButton = new QPushButton( this );
-	duplicateLayerButton->setMinimumSize( QSize( 50, 24 ) );
-	duplicateLayerButton->setMaximumSize( QSize( 50, 24 ) );
+	duplicateLayerButton = new QToolButton( this );
+	duplicateLayerButton->setIconSize(QSize(16, 16));
+	duplicateLayerButton->setMinimumSize( QSize( 48, 0 ) );
+	duplicateLayerButton->setMaximumSize( QSize( 48, 16777215 ) );
 	duplicateLayerButton->setText( "" );
 	duplicateLayerButton->setIcon(IconManager::instance().loadIcon("16/edit-copy.png"));
 	Layout1->addWidget( duplicateLayerButton );
 
-	raiseLayerButton = new QPushButton( this );
-	raiseLayerButton->setMinimumSize( QSize( 50, 24 ) );
-	raiseLayerButton->setMaximumSize( QSize( 50, 24 ) );
+	raiseLayerButton = new QToolButton( this );
+	raiseLayerButton->setIconSize(QSize(16, 16));
+	raiseLayerButton->setMinimumSize( QSize( 48, 0 ) );
+	raiseLayerButton->setMaximumSize( QSize( 48, 16777215 ) );
 	raiseLayerButton->setText( "" );
 	raiseLayerButton->setIcon(IconManager::instance().loadIcon("16/go-up.png"));
 	Layout1->addWidget( raiseLayerButton );
 
-	lowerLayerButton = new QPushButton( this );
-	lowerLayerButton->setMinimumSize( QSize( 50, 24 ) );
-	lowerLayerButton->setMaximumSize( QSize( 50, 24 ) );
+	lowerLayerButton = new QToolButton( this );
+	lowerLayerButton->setIconSize(QSize(16, 16));
+	lowerLayerButton->setMinimumSize( QSize( 48, 0 ) );
+	lowerLayerButton->setMaximumSize( QSize( 48, 16777215 ) );
 	lowerLayerButton->setText( "" );
 	lowerLayerButton->setIcon(IconManager::instance().loadIcon("16/go-down.png"));
 	Layout1->addWidget( lowerLayerButton );

Modified: trunk/Scribus/scribus/ui/layers.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/layers.h
==============================================================================
--- trunk/Scribus/scribus/ui/layers.h	(original)
+++ trunk/Scribus/scribus/ui/layers.h	Sat Mar 13 14:55:13 2021
@@ -20,7 +20,6 @@
 class QHBoxLayout;
 class QHeaderView;
 class QLabel;
-class QPushButton;
 class QTableWidget;
 class QTableWidgetItem;
 class QToolButton;
@@ -79,11 +78,11 @@
 	QLabel* textLabel2 { nullptr };
 	ScrSpinBox* opacitySpinBox { nullptr };
 	QHeaderView* Header { nullptr };
-	QPushButton* newLayerButton { nullptr };
-	QPushButton* duplicateLayerButton { nullptr };
-	QPushButton* deleteLayerButton { nullptr };
-	QPushButton* raiseLayerButton { nullptr };
-	QPushButton* lowerLayerButton { nullptr };
+	QToolButton* newLayerButton { nullptr };
+	QToolButton* duplicateLayerButton { nullptr };
+	QToolButton* deleteLayerButton { nullptr };
+	QToolButton* raiseLayerButton { nullptr };
+	QToolButton* lowerLayerButton { nullptr };
 	ScLayers *layers { nullptr };
 
 	void changeEvent(QEvent *e) override;

Modified: trunk/Scribus/scribus/ui/propertiespalette_shapebase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/propertiespalette_shapebase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_shapebase.ui	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_shapebase.ui	Sat Mar 13 14:55:13 2021
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>280</width>
-    <height>97</height>
+    <height>95</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -48,24 +48,9 @@
        </property>
        <item>
         <widget class="QToolButton" name="textFlowDisabled">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>22</width>
-           <height>16777215</height>
-          </size>
-         </property>
          <property name="toolTip">
           <string>Text flow around frame disabled</string>
          </property>
-         <property name="text">
-          <string>Disabled</string>
-         </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
@@ -82,24 +67,9 @@
        </item>
        <item>
         <widget class="QToolButton" name="textFlowUsesFrameShape">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>22</width>
-           <height>16777215</height>
-          </size>
-         </property>
          <property name="toolTip">
           <string>Text flow around frame shape</string>
          </property>
-         <property name="text">
-          <string>Use Frame &Shape</string>
-         </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
@@ -116,24 +86,9 @@
        </item>
        <item>
         <widget class="QToolButton" name="textFlowUsesBoundingBox">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>22</width>
-           <height>16777215</height>
-          </size>
-         </property>
          <property name="toolTip">
           <string>Text flow around bounding box</string>
          </property>
-         <property name="text">
-          <string>Use &Bounding Box</string>
-         </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
@@ -150,24 +105,9 @@
        </item>
        <item>
         <widget class="QToolButton" name="textFlowUsesContourLine">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>22</width>
-           <height>16777215</height>
-          </size>
-         </property>
          <property name="toolTip">
           <string>Text flow around contour line</string>
          </property>
-         <property name="text">
-          <string>&Use Contour Line</string>
-         </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
@@ -184,23 +124,8 @@
        </item>
        <item>
         <widget class="QToolButton" name="textFlowUsesImageClipping">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>22</width>
-           <height>16777215</height>
-          </size>
-         </property>
          <property name="toolTip">
           <string>Text flow around image clip path</string>
-         </property>
-         <property name="text">
-          <string>Use Image Clip Path</string>
          </property>
          <property name="checkable">
           <bool>true</bool>
@@ -241,13 +166,16 @@
          <property name="toolTip">
           <string>Choose the shape of frame...</string>
          </property>
-         <property name="text">
-          <string>...</string>
-         </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="editShape">
+         <property name="maximumSize">
+          <size>
+           <width>16777215</width>
+           <height>23</height>
+          </size>
+         </property>
          <property name="text">
           <string>&Edit...</string>
          </property>
@@ -270,8 +198,8 @@
         <widget class="QLabel" name="roundRectIcon">
          <property name="minimumSize">
           <size>
-           <width>10</width>
-           <height>10</height>
+           <width>16</width>
+           <height>16</height>
           </size>
          </property>
          <property name="toolTip">
@@ -284,12 +212,6 @@
        </item>
        <item>
         <widget class="ScrSpinBox" name="roundRect">
-         <property name="sizePolicy">
-          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
          <property name="toolTip">
           <string>Set radius of corner rounding</string>
          </property>
@@ -321,9 +243,6 @@
          <property name="toolTip">
           <string>Any path self-intersections or subpaths create holes in the fill (fill-rule: evenodd)</string>
          </property>
-         <property name="text">
-          <string>...</string>
-         </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
@@ -339,9 +258,6 @@
         <widget class="QToolButton" name="nonZero">
          <property name="toolTip">
           <string>Fill is solid unless a subpath is counterdirectional  (fill-rule: nonzero)</string>
-         </property>
-         <property name="text">
-          <string>...</string>
          </property>
          <property name="checkable">
           <bool>true</bool>

Modified: trunk/Scribus/scribus/ui/propertiespalette_tablebase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/propertiespalette_tablebase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_tablebase.ui	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_tablebase.ui	Sat Mar 13 14:55:13 2021
@@ -75,9 +75,6 @@
         <property name="toolTip">
          <string>Remove Direct Table Formatting</string>
         </property>
-        <property name="text">
-         <string/>
-        </property>
         <property name="iconSize">
          <size>
           <width>16</width>
@@ -110,9 +107,6 @@
        <widget class="QToolButton" name="buttonClearCellStyle">
         <property name="toolTip">
          <string>Remove Direct Cell Formatting</string>
-        </property>
-        <property name="text">
-         <string/>
         </property>
         <property name="iconSize">
          <size>
@@ -277,8 +271,8 @@
           <property name="spacing">
            <number>3</number>
           </property>
-          <item alignment="Qt::AlignTop">
-           <widget class="QPushButton" name="addBorderLineButton">
+          <item>
+           <widget class="QToolButton" name="addBorderLineButton">
             <property name="enabled">
              <bool>true</bool>
             </property>
@@ -288,25 +282,10 @@
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
-            <property name="minimumSize">
-             <size>
-              <width>20</width>
-              <height>20</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>20</width>
-              <height>20</height>
-             </size>
-            </property>
-            <property name="text">
-             <string/>
-            </property>
-           </widget>
-          </item>
-          <item alignment="Qt::AlignTop">
-           <widget class="QPushButton" name="removeBorderLineButton">
+           </widget>
+          </item>
+          <item>
+           <widget class="QToolButton" name="removeBorderLineButton">
             <property name="enabled">
              <bool>true</bool>
             </property>
@@ -315,21 +294,6 @@
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
-            </property>
-            <property name="minimumSize">
-             <size>
-              <width>20</width>
-              <height>20</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>20</width>
-              <height>20</height>
-             </size>
-            </property>
-            <property name="text">
-             <string/>
             </property>
            </widget>
           </item>

Modified: trunk/Scribus/scribus/ui/propertiespalette_xyzbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/propertiespalette_xyzbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_xyzbase.ui	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_xyzbase.ui	Sat Mar 13 14:55:13 2021
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>280</width>
-    <height>333</height>
+    <height>371</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -228,9 +228,6 @@
           <property name="toolTip">
            <string>Keep the aspect ratio</string>
           </property>
-          <property name="text">
-           <string>...</string>
-          </property>
           <property name="checkable">
            <bool>true</bool>
           </property>
@@ -272,65 +269,29 @@
         </property>
         <item row="0" column="0">
          <widget class="QToolButton" name="levelUp">
-          <property name="maximumSize">
-           <size>
-            <width>22</width>
-            <height>22</height>
-           </size>
-          </property>
           <property name="toolTip">
            <string>Move one level up</string>
-          </property>
-          <property name="text">
-           <string/>
           </property>
          </widget>
         </item>
         <item row="1" column="0">
          <widget class="QToolButton" name="levelDown">
-          <property name="maximumSize">
-           <size>
-            <width>22</width>
-            <height>22</height>
-           </size>
-          </property>
           <property name="toolTip">
            <string>Move one level down</string>
-          </property>
-          <property name="text">
-           <string/>
           </property>
          </widget>
         </item>
         <item row="0" column="1">
          <widget class="QToolButton" name="levelTop">
-          <property name="maximumSize">
-           <size>
-            <width>22</width>
-            <height>22</height>
-           </size>
-          </property>
           <property name="toolTip">
            <string>Move to front</string>
-          </property>
-          <property name="text">
-           <string/>
           </property>
          </widget>
         </item>
         <item row="1" column="1">
          <widget class="QToolButton" name="levelBottom">
-          <property name="maximumSize">
-           <size>
-            <width>22</width>
-            <height>22</height>
-           </size>
-          </property>
           <property name="toolTip">
            <string>Move to back</string>
-          </property>
-          <property name="text">
-           <string/>
           </property>
          </widget>
         </item>
@@ -370,9 +331,6 @@
          <property name="toolTip">
           <string>Group the selected objects</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="1" column="0">
@@ -380,9 +338,6 @@
          <property name="toolTip">
           <string>Ungroup the selected group</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="0" column="1">
@@ -390,9 +345,6 @@
          <property name="toolTip">
           <string>Flip horizontally</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="1" column="1">
@@ -400,9 +352,6 @@
          <property name="toolTip">
           <string>Flip vertically</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="0" column="2">
@@ -410,9 +359,6 @@
          <property name="toolTip">
           <string>Lock or unlock the object</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="1" column="2">
@@ -420,18 +366,12 @@
          <property name="toolTip">
           <string>Enable or disable exporting of the object</string>
          </property>
-         <property name="text">
-          <string/>
-         </property>
         </widget>
        </item>
        <item row="0" column="3">
         <widget class="QToolButton" name="noResize">
          <property name="toolTip">
           <string>Lock or unlock the size of the object</string>
-         </property>
-         <property name="text">
-          <string/>
          </property>
         </widget>
        </item>

Modified: trunk/Scribus/scribus/ui/transparencypalette.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24559&path=/trunk/Scribus/scribus/ui/transparencypalette.ui
==============================================================================
--- trunk/Scribus/scribus/ui/transparencypalette.ui	(original)
+++ trunk/Scribus/scribus/ui/transparencypalette.ui	Sat Mar 13 14:55:13 2021
@@ -39,9 +39,6 @@
        <property name="toolTip">
         <string>Edit Line Color Properties</string>
        </property>
-       <property name="text">
-        <string/>
-       </property>
        <property name="checkable">
         <bool>true</bool>
        </property>
@@ -54,9 +51,6 @@
       <widget class="QToolButton" name="editFillSelector">
        <property name="toolTip">
         <string>Edit Fill Color Properties</string>
-       </property>
-       <property name="text">
-        <string/>
        </property>
        <property name="checkable">
         <bool>true</bool>




More information about the scribus-commit mailing list