r24577 by jghali - #16524: Cleanup, pretty code for .ui files <bubu>

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 20 11:10:37 UTC 2021


Author: jghali
Date: Sat Mar 20 11:10:36 2021
New Revision: 24577

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24577
Log:
#16524: Cleanup, pretty code for .ui files <bubu>

Modified:
    trunk/Scribus/scribus/plugins/scripter/python/excepthook.ui
    trunk/Scribus/scribus/plugins/scripter/python/permitdlg.ui
    trunk/Scribus/scribus/plugins/scriptplugin/pconsole.ui
    trunk/Scribus/scribus/plugins/scriptplugin_py2x/pconsole.ui
    trunk/Scribus/scribus/ui/aboutplugins.ui
    trunk/Scribus/scribus/ui/helpbrowser.ui
    trunk/Scribus/scribus/ui/shortcutwidget.ui

Modified: trunk/Scribus/scribus/plugins/scripter/python/excepthook.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/plugins/scripter/python/excepthook.ui
==============================================================================
--- trunk/Scribus/scribus/plugins/scripter/python/excepthook.ui	(original)
+++ trunk/Scribus/scribus/plugins/scripter/python/excepthook.ui	Sat Mar 20 11:10:36 2021
@@ -1,65 +1,66 @@
-<ui version="4.0" >
- <class>ExceptHookDialog</class>
- <widget class="QDialog" name="ExceptHookDialog" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>ExceptHookDialog</class>
+ <widget class="QDialog" name="ExceptHookDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
     <width>542</width>
-    <height>290</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>Script error</string>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout" >
-   <item>
-    <layout class="QGridLayout" name="gridLayout" >
-     <property name="spacing" >
-      <number>10</number>
-     </property>
-     <item row="0" column="0" >
-      <widget class="QLabel" name="label" >
-       <property name="text" >
-        <string>An exception occured while running the script.</string>
-       </property>
-      </widget>
-     </item>
-     <item row="0" column="1" >
-      <widget class="QPushButton" name="closeButton" >
-       <property name="text" >
-        <string>&Close</string>
-       </property>
-      </widget>
-     </item>
-     <item row="1" column="0" >
-      <widget class="QLabel" name="exceptionLabel" >
-       <property name="font" >
-        <font>
-         <weight>75</weight>
-         <bold>true</bold>
-        </font>
-       </property>
-       <property name="text" >
-        <string>Exception</string>
-       </property>
-      </widget>
-     </item>
-     <item row="1" column="1" >
-      <widget class="QPushButton" name="detailsButton" >
-       <property name="text" >
-        <string>&Details >></string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item>
-    <widget class="QTextBrowser" name="tracebackBrowser" >
-     <property name="minimumSize" >
-      <size>
-       <width>0</width>
-       <height>200</height>
+    <height>290</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Script error</string>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <layout class="QGridLayout" name="gridLayout">
+     <property name="spacing">
+      <number>10</number>
+     </property>
+     <item row="0" column="0">
+      <widget class="QLabel" name="label">
+       <property name="text">
+        <string>An exception occured while running the script.</string>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1">
+      <widget class="QPushButton" name="closeButton">
+       <property name="text">
+        <string>&Close</string>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0">
+      <widget class="QLabel" name="exceptionLabel">
+       <property name="font">
+        <font>
+         <weight>75</weight>
+         <bold>true</bold>
+        </font>
+       </property>
+       <property name="text">
+        <string>Exception</string>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="1">
+      <widget class="QPushButton" name="detailsButton">
+       <property name="text">
+        <string>&Details >></string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <widget class="QTextBrowser" name="tracebackBrowser">
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>200</height>
       </size>
      </property>
     </widget>

Modified: trunk/Scribus/scribus/plugins/scripter/python/permitdlg.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/plugins/scripter/python/permitdlg.ui
==============================================================================
--- trunk/Scribus/scribus/plugins/scripter/python/permitdlg.ui	(original)
+++ trunk/Scribus/scribus/plugins/scripter/python/permitdlg.ui	Sat Mar 20 11:10:36 2021
@@ -1,130 +1,131 @@
-<ui version="4.0" >
- <class>PermitDialog</class>
- <widget class="QDialog" name="PermitDialog" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>PermitDialog</class>
+ <widget class="QDialog" name="PermitDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
     <width>603</width>
-    <height>393</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>Confirm to run unsafe script</string>
-  </property>
-  <property name="sizeGripEnabled" >
-   <bool>true</bool>
-  </property>
-  <property name="modal" >
-   <bool>true</bool>
-  </property>
-  <layout class="QGridLayout" name="gridLayout" >
-   <item row="0" column="0" >
-    <layout class="QHBoxLayout" name="horizontalLayout" >
-     <item>
-      <layout class="QVBoxLayout" name="verticalLayout" >
-       <item>
-        <widget class="QLabel" name="filenameLabel" >
-         <property name="text" >
-          <string>scriptname.py</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QLabel" name="label" >
-         <property name="sizePolicy" >
-          <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
-           <horstretch>0</horstretch>
-           <verstretch>0</verstretch>
-          </sizepolicy>
-         </property>
-         <property name="text" >
-          <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
+    <height>393</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Confirm to run unsafe script</string>
+  </property>
+  <property name="sizeGripEnabled">
+   <bool>true</bool>
+  </property>
+  <property name="modal">
+   <bool>true</bool>
+  </property>
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0">
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
+      <layout class="QVBoxLayout" name="verticalLayout">
+       <item>
+        <widget class="QLabel" name="filenameLabel">
+         <property name="text">
+          <string>scriptname.py</string>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QLabel" name="label">
+         <property name="sizePolicy">
+          <sizepolicy vsizetype="Expanding" hsizetype="Expanding">
+           <horstretch>0</horstretch>
+           <verstretch>0</verstretch>
+          </sizepolicy>
+         </property>
+         <property name="text">
+          <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal;">
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Attention:</span> This script file contains code which <span style=" font-style:italic;">might harm </span>your system.</p>
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">You should only permit execution of this script if you are sure that it comes from a trustworthy source. </p></body></html></string>
-         </property>
-         <property name="wordWrap" >
-          <bool>true</bool>
-         </property>
-        </widget>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">You should only permit execution of this script if you are sure that it comes from a trustworthy source. </p></body></html></string>
+         </property>
+         <property name="wordWrap">
+          <bool>true</bool>
+         </property>
+        </widget>
        </item>
-      </layout>
-     </item>
-     <item>
-      <widget class="QPushButton" name="detailsButton" >
-       <property name="text" >
-        <string>De&tails >></string>
-       </property>
-       <property name="checkable" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QTextBrowser" name="problemsBrowser" >
-     <property name="html" >
-      <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
+      </layout>
+     </item>
+     <item>
+      <widget class="QPushButton" name="detailsButton">
+       <property name="text">
+        <string>De&tails >></string>
+       </property>
+       <property name="checkable">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="1" column="0">
+    <widget class="QTextBrowser" name="problemsBrowser">
+     <property name="html">
+      <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">
 <p style="-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';"></p></body></html></string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="0" >
-    <widget class="QCheckBox" name="rememberCheck" >
-     <property name="text" >
-      <string>&Remember preference for this file</string>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="0" >
-    <layout class="QHBoxLayout" name="horizontalLayout_2" >
-     <item>
-      <spacer name="horizontalSpacer_2" >
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" stdset="0" >
-        <size>
-         <width>40</width>
-         <height>20</height>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="0">
+    <widget class="QCheckBox" name="rememberCheck">
+     <property name="text">
+      <string>&Remember preference for this file</string>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="0">
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <item>
+      <spacer name="horizontalSpacer_2">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
         </size>
        </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QPushButton" name="allowButton" >
-       <property name="text" >
-        <string>&Allow</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="denyButton" >
-       <property name="text" >
-        <string>&Deny</string>
-       </property>
-       <property name="default" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer name="horizontalSpacer_3" >
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" stdset="0" >
-        <size>
-         <width>40</width>
-         <height>20</height>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="allowButton">
+       <property name="text">
+        <string>&Allow</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="denyButton">
+       <property name="text">
+        <string>&Deny</string>
+       </property>
+       <property name="default">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_3">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
         </size>
        </property>
       </spacer>

Modified: trunk/Scribus/scribus/plugins/scriptplugin/pconsole.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/plugins/scriptplugin/pconsole.ui
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/pconsole.ui	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/pconsole.ui	Sat Mar 20 11:10:36 2021
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>PythonConsole</class>
- <widget class="QMainWindow" name="PythonConsole" >
-  <property name="geometry" >
+ <widget class="QMainWindow" name="PythonConsole">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
@@ -9,47 +10,47 @@
     <height>471</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Script Console</string>
   </property>
-  <widget class="QWidget" name="centralwidget" >
-   <layout class="QGridLayout" >
-    <property name="leftMargin" >
+  <widget class="QWidget" name="centralwidget">
+   <layout class="QGridLayout">
+    <property name="leftMargin">
      <number>9</number>
     </property>
-    <property name="topMargin" >
+    <property name="topMargin">
      <number>9</number>
     </property>
-    <property name="rightMargin" >
+    <property name="rightMargin">
      <number>9</number>
     </property>
-    <property name="bottomMargin" >
+    <property name="bottomMargin">
      <number>9</number>
     </property>
-    <property name="horizontalSpacing" >
+    <property name="horizontalSpacing">
      <number>6</number>
     </property>
-    <property name="verticalSpacing" >
+    <property name="verticalSpacing">
      <number>6</number>
     </property>
-    <item row="0" column="0" >
-     <widget class="QSplitter" name="splitter" >
-      <property name="orientation" >
+    <item row="0" column="0">
+     <widget class="QSplitter" name="splitter">
+      <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
-      <widget class="QTextEdit" name="commandEdit" >
-       <property name="lineWrapMode" >
+      <widget class="QTextEdit" name="commandEdit">
+       <property name="lineWrapMode">
         <enum>QTextEdit::NoWrap</enum>
        </property>
       </widget>
-      <widget class="QTextEdit" name="outputEdit" >
-       <property name="lineWrapMode" >
+      <widget class="QTextEdit" name="outputEdit">
+       <property name="lineWrapMode">
         <enum>QTextEdit::NoWrap</enum>
        </property>
-       <property name="readOnly" >
+       <property name="readOnly">
         <bool>true</bool>
        </property>
-       <property name="acceptRichText" >
+       <property name="acceptRichText">
         <bool>false</bool>
        </property>
       </widget>
@@ -57,8 +58,8 @@
     </item>
    </layout>
   </widget>
-  <widget class="QMenuBar" name="menubar" >
-   <property name="geometry" >
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
@@ -66,60 +67,60 @@
      <height>29</height>
     </rect>
    </property>
-   <widget class="QMenu" name="menu_File" >
-    <property name="title" >
+   <widget class="QMenu" name="menu_File">
+    <property name="title">
      <string>&File</string>
     </property>
-    <addaction name="action_Open" />
-    <addaction name="action_Save" />
-    <addaction name="actionSave_As" />
-    <addaction name="separator" />
-    <addaction name="action_Exit" />
+    <addaction name="action_Open"/>
+    <addaction name="action_Save"/>
+    <addaction name="actionSave_As"/>
+    <addaction name="separator"/>
+    <addaction name="action_Exit"/>
    </widget>
-   <widget class="QMenu" name="menu_Script" >
-    <property name="title" >
+   <widget class="QMenu" name="menu_Script">
+    <property name="title">
      <string>&Script</string>
     </property>
-    <addaction name="action_Run" />
-    <addaction name="actionRun_As_Console" />
-    <addaction name="action_Save_Output" />
+    <addaction name="action_Run"/>
+    <addaction name="actionRun_As_Console"/>
+    <addaction name="action_Save_Output"/>
    </widget>
-   <addaction name="menu_File" />
-   <addaction name="menu_Script" />
+   <addaction name="menu_File"/>
+   <addaction name="menu_Script"/>
   </widget>
-  <widget class="QStatusBar" name="statusbar" />
-  <action name="action_Open" >
-   <property name="text" >
+  <widget class="QStatusBar" name="statusbar"/>
+  <action name="action_Open">
+   <property name="text">
     <string>&Open...</string>
    </property>
   </action>
-  <action name="action_Save" >
-   <property name="text" >
+  <action name="action_Save">
+   <property name="text">
     <string>&Save</string>
    </property>
   </action>
-  <action name="actionSave_As" >
-   <property name="text" >
+  <action name="actionSave_As">
+   <property name="text">
     <string>Save &As...</string>
    </property>
   </action>
-  <action name="action_Exit" >
-   <property name="text" >
+  <action name="action_Exit">
+   <property name="text">
     <string>&Quit</string>
    </property>
   </action>
-  <action name="action_Run" >
-   <property name="text" >
+  <action name="action_Run">
+   <property name="text">
     <string>&Run</string>
    </property>
   </action>
-  <action name="actionRun_As_Console" >
-   <property name="text" >
+  <action name="actionRun_As_Console">
+   <property name="text">
     <string>Run As &Console</string>
    </property>
   </action>
-  <action name="action_Save_Output" >
-   <property name="text" >
+  <action name="action_Save_Output">
+   <property name="text">
     <string>&Save Output...</string>
    </property>
   </action>

Modified: trunk/Scribus/scribus/plugins/scriptplugin_py2x/pconsole.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/plugins/scriptplugin_py2x/pconsole.ui
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin_py2x/pconsole.ui	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin_py2x/pconsole.ui	Sat Mar 20 11:10:36 2021
@@ -1,128 +1,129 @@
-<ui version="4.0" >
- <class>PythonConsole</class>
- <widget class="QMainWindow" name="PythonConsole" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>PythonConsole</class>
+ <widget class="QMainWindow" name="PythonConsole">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
     <width>535</width>
-    <height>471</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>Script Console</string>
-  </property>
-  <widget class="QWidget" name="centralwidget" >
-   <layout class="QGridLayout" >
-    <property name="leftMargin" >
-     <number>9</number>
-    </property>
-    <property name="topMargin" >
-     <number>9</number>
-    </property>
-    <property name="rightMargin" >
-     <number>9</number>
-    </property>
-    <property name="bottomMargin" >
-     <number>9</number>
-    </property>
-    <property name="horizontalSpacing" >
-     <number>6</number>
-    </property>
-    <property name="verticalSpacing" >
-     <number>6</number>
-    </property>
-    <item row="0" column="0" >
-     <widget class="QSplitter" name="splitter" >
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <widget class="QTextEdit" name="commandEdit" >
-       <property name="lineWrapMode" >
-        <enum>QTextEdit::NoWrap</enum>
-       </property>
-      </widget>
-      <widget class="QTextEdit" name="outputEdit" >
-       <property name="lineWrapMode" >
-        <enum>QTextEdit::NoWrap</enum>
-       </property>
-       <property name="readOnly" >
-        <bool>true</bool>
-       </property>
-       <property name="acceptRichText" >
-        <bool>false</bool>
-       </property>
-      </widget>
+    <height>471</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Script Console</string>
+  </property>
+  <widget class="QWidget" name="centralwidget">
+   <layout class="QGridLayout">
+    <property name="leftMargin">
+     <number>9</number>
+    </property>
+    <property name="topMargin">
+     <number>9</number>
+    </property>
+    <property name="rightMargin">
+     <number>9</number>
+    </property>
+    <property name="bottomMargin">
+     <number>9</number>
+    </property>
+    <property name="horizontalSpacing">
+     <number>6</number>
+    </property>
+    <property name="verticalSpacing" 
+     <number>6</number>
+    </property>
+    <item row="0" column="0">
+     <widget class="QSplitter" name="splitter">
+      <property name="orientation">
+       <enum>Qt::Vertical</enum>
+      </property>
+      <widget class="QTextEdit" name="commandEdit">
+       <property name="lineWrapMode">
+        <enum>QTextEdit::NoWrap</enum>
+       </property>
+      </widget>
+      <widget class="QTextEdit" name="outputEdit">
+       <property name="lineWrapMode">
+        <enum>QTextEdit::NoWrap</enum>
+       </property>
+       <property name="readOnly">
+        <bool>true</bool>
+       </property>
+       <property name="acceptRichText">
+        <bool>false</bool>
+       </property>
+      </widget>
      </widget>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QMenuBar" name="menubar" >
-   <property name="geometry" >
-    <rect>
-     <x>0</x>
-     <y>0</y>
-     <width>535</width>
-     <height>29</height>
-    </rect>
-   </property>
-   <widget class="QMenu" name="menu_File" >
-    <property name="title" >
-     <string>&File</string>
-    </property>
-    <addaction name="action_Open" />
-    <addaction name="action_Save" />
-    <addaction name="actionSave_As" />
-    <addaction name="separator" />
-    <addaction name="action_Exit" />
-   </widget>
-   <widget class="QMenu" name="menu_Script" >
-    <property name="title" >
-     <string>&Script</string>
-    </property>
-    <addaction name="action_Run" />
-    <addaction name="actionRun_As_Console" />
-    <addaction name="action_Save_Output" />
-   </widget>
-   <addaction name="menu_File" />
-   <addaction name="menu_Script" />
-  </widget>
-  <widget class="QStatusBar" name="statusbar" />
-  <action name="action_Open" >
-   <property name="text" >
-    <string>&Open...</string>
-   </property>
-  </action>
-  <action name="action_Save" >
-   <property name="text" >
-    <string>&Save</string>
-   </property>
-  </action>
-  <action name="actionSave_As" >
-   <property name="text" >
-    <string>Save &As...</string>
-   </property>
-  </action>
-  <action name="action_Exit" >
-   <property name="text" >
-    <string>&Quit</string>
-   </property>
-  </action>
-  <action name="action_Run" >
-   <property name="text" >
-    <string>&Run</string>
-   </property>
-  </action>
-  <action name="actionRun_As_Console" >
-   <property name="text" >
-    <string>Run As &Console</string>
-   </property>
-  </action>
-  <action name="action_Save_Output" >
-   <property name="text" >
-    <string>&Save Output...</string>
-   </property>
-  </action>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>535</width>
+     <height>22</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menu_File">
+    <property name="title">
+     <string>&File</string>
+    </property>
+    <addaction name="action_Open"/>
+    <addaction name="action_Save"/>
+    <addaction name="actionSave_As"/>
+    <addaction name="separator"/>
+    <addaction name="action_Exit"/>
+   </widget>
+   <widget class="QMenu" name="menu_Script">
+    <property name="title">
+     <string>&Script</string>
+    </property>
+    <addaction name="action_Run"/>
+    <addaction name="actionRun_As_Console"/>
+    <addaction name="action_Save_Output"/>
+   </widget>
+   <addaction name="menu_File"/>
+   <addaction name="menu_Script"/>
+  </widget>
+  <widget class="QStatusBar" name="statusbar"/>
+  <action name="action_Open">
+   <property name="text">
+    <string>&Open...</string>
+   </property>
+  </action>
+  <action name="action_Save">
+   <property name="text">
+    <string>&Save</string>
+   </property>
+  </action>
+  <action name="actionSave_As">
+   <property name="text">
+    <string>Save &As...</string>
+   </property>
+  </action>
+  <action name="action_Exit">
+   <property name="text">
+    <string>&Quit</string>
+   </property>
+  </action>
+  <action name="action_Run">
+   <property name="text">
+    <string>&Run</string>
+   </property>
+  </action>
+  <action name="actionRun_As_Console">
+   <property name="text">
+    <string>Run As &Console</string>
+   </property>
+  </action>
+  <action name="action_Save_Output">
+   <property name="text">
+    <string>&Save Output...</string>
+   </property>
+  </action>
  </widget>
  <resources/>
  <connections/>

Modified: trunk/Scribus/scribus/ui/aboutplugins.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/ui/aboutplugins.ui
==============================================================================
--- trunk/Scribus/scribus/ui/aboutplugins.ui	(original)
+++ trunk/Scribus/scribus/ui/aboutplugins.ui	Sat Mar 20 11:10:36 2021
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>AboutPlugins</class>
- <widget class="QDialog" name="AboutPlugins" >
-  <property name="geometry" >
+ <widget class="QDialog" name="AboutPlugins">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
@@ -9,10 +10,10 @@
     <height>401</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Scribus: About Plug-ins</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout">
    <property name="leftMargin">
     <number>9</number>
    </property>
@@ -26,18 +27,18 @@
     <number>9</number>
    </property>
    <item>
-    <widget class="QSplitter" name="splitter" >
-     <property name="orientation" >
+    <widget class="QSplitter" name="splitter">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
-     <property name="opaqueResize" >
+     <property name="opaqueResize">
       <bool>false</bool>
      </property>
-     <property name="childrenCollapsible" >
+     <property name="childrenCollapsible">
       <bool>false</bool>
      </property>
-     <widget class="QListWidget" name="pluginList" >
-      <property name="sizePolicy" >
+     <widget class="QListWidget" name="pluginList">
+      <property name="sizePolicy">
        <sizepolicy>
         <hsizetype>7</hsizetype>
         <vsizetype>7</vsizetype>
@@ -46,15 +47,15 @@
        </sizepolicy>
       </property>
      </widget>
-     <widget class="QTextBrowser" name="infoBrowser" />
+     <widget class="QTextBrowser" name="infoBrowser"/>
     </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::Close</set>
      </property>
     </widget>
@@ -69,11 +70,11 @@
    <receiver>AboutPlugins</receiver>
    <slot>accept()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>248</x>
      <y>254</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>157</x>
      <y>274</y>
     </hint>
@@ -85,11 +86,11 @@
    <receiver>AboutPlugins</receiver>
    <slot>reject()</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>316</x>
      <y>260</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>286</x>
      <y>274</y>
     </hint>

Modified: trunk/Scribus/scribus/ui/helpbrowser.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/ui/helpbrowser.ui
==============================================================================
--- trunk/Scribus/scribus/ui/helpbrowser.ui	(original)
+++ trunk/Scribus/scribus/ui/helpbrowser.ui	Sat Mar 20 11:10:36 2021
@@ -1,86 +1,87 @@
-<ui version="4.0" >
- <class>HelpBrowser</class>
- <widget class="QMainWindow" name="HelpBrowser" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>HelpBrowser</class>
+ <widget class="QMainWindow" name="HelpBrowser">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
     <width>611</width>
-    <height>535</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>Scribus Help</string>
-  </property>
-  <widget class="QWidget" name="centralwidget" >
-   <layout class="QGridLayout" name="gridLayout" >
-    <item row="0" column="0" >
-     <widget class="ScTextBrowser" native="1" name="textBrowser" />
-    </item>
-   </layout>
-  </widget>
-  <widget class="QMenuBar" name="menubar" >
-   <property name="geometry" >
-    <rect>
-     <x>0</x>
-     <y>0</y>
+    <height>535</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Scribus Help</string>
+  </property>
+  <widget class="QWidget" name="centralwidget">
+   <layout class="QGridLayout" name="gridLayout">
+    <item row="0" column="0">
+     <widget class="ScTextBrowser" native="1" name="textBrowser"/>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menubar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
      <width>611</width>
      <height>26</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QStatusBar" name="statusbar" />
-  <widget class="QToolBar" name="toolBar" >
-   <property name="windowTitle" >
-    <string>Scribus Help</string>
-   </property>
-   <attribute name="toolBarArea" >
-    <enum>TopToolBarArea</enum>
-   </attribute>
-   <attribute name="toolBarBreak" >
-    <bool>false</bool>
-   </attribute>
-  </widget>
-  <action name="action_Print" >
-   <property name="text" >
-    <string>&Print...</string>
-   </property>
-  </action>
-  <action name="action_Exit" >
-   <property name="text" >
-    <string>&Exit</string>
-   </property>
-  </action>
-  <action name="action_Find" >
-   <property name="text" >
-    <string>&Find...</string>
-   </property>
-  </action>
-  <action name="actionFind_Next" >
-   <property name="text" >
-    <string>Find &Next...</string>
-   </property>
-  </action>
-  <action name="actionFind_Previous" >
-   <property name="text" >
-    <string>Find &Previous...</string>
-   </property>
-  </action>
-  <action name="action_Add" >
-   <property name="text" >
-    <string>&Add</string>
-   </property>
-  </action>
-  <action name="action_Delete" >
-   <property name="text" >
-    <string>&Delete</string>
-   </property>
-  </action>
-  <action name="actionD_elete_All" >
-   <property name="text" >
-    <string>D&elete All</string>
-   </property>
-  </action>
+    </rect>
+   </property>
+  </widget>
+  <widget class="QStatusBar" name="statusbar"/>
+  <widget class="QToolBar" name="toolBar">
+   <property name="windowTitle">
+    <string>Scribus Help</string>
+   </property>
+   <attribute name="toolBarArea">
+    <enum>TopToolBarArea</enum>
+   </attribute>
+   <attribute name="toolBarBreak">
+    <bool>false</bool>
+   </attribute>
+  </widget>
+  <action name="action_Print">
+   <property name="text">
+    <string>&Print...</string>
+   </property>
+  </action>
+  <action name="action_Exit">
+   <property name="text">
+    <string>&Exit</string>
+   </property>
+  </action>
+  <action name="action_Find">
+   <property name="text">
+    <string>&Find...</string>
+   </property>
+  </action>
+  <action name="actionFind_Next">
+   <property name="text">
+    <string>Find &Next...</string>
+   </property>
+  </action>
+  <action name="actionFind_Previous">
+   <property name="text">
+    <string>Find &Previous...</string>
+   </property>
+  </action>
+  <action name="action_Add">
+   <property name="text">
+    <string>&Add</string>
+   </property>
+  </action>
+  <action name="action_Delete">
+   <property name="text">
+    <string>&Delete</string>
+   </property>
+  </action>
+  <action name="actionD_elete_All">
+   <property name="text">
+    <string>D&elete All</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>

Modified: trunk/Scribus/scribus/ui/shortcutwidget.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24577&path=/trunk/Scribus/scribus/ui/shortcutwidget.ui
==============================================================================
--- trunk/Scribus/scribus/ui/shortcutwidget.ui	(original)
+++ trunk/Scribus/scribus/ui/shortcutwidget.ui	Sat Mar 20 11:10:36 2021
@@ -1,83 +1,84 @@
-<ui version="4.0" >
- <class>ShortcutWidget</class>
- <widget class="QWidget" name="ShortcutWidget" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>ShortcutWidget</class>
+ <widget class="QWidget" name="ShortcutWidget">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
     <width>400</width>
-    <height>300</height>
-   </rect>
-  </property>
-  <layout class="QGridLayout" >
-   <item row="0" column="0" >
-    <widget class="QRadioButton" name="noKey" >
-     <property name="text" >
-      <string>&No Key</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QRadioButton" name="userDef" >
-     <property name="text" >
-      <string>&User Defined Key</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" >
-    <widget class="QPushButton" name="setKeyButton" >
-     <property name="text" >
-      <string>Set &Key</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>40</width>
-       <height>20</height>
+    <height>300</height>
+   </rect>
+  </property>
+  <layout class="QGridLayout">
+   <item row="0" column="0">
+    <widget class="QRadioButton" name="noKey">
+     <property name="text">
+      <string>&No Key</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="0">
+    <widget class="QRadioButton" name="userDef">
+     <property name="text">
+      <string>&User Defined Key</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="1">
+    <widget class="QPushButton" name="setKeyButton">
+     <property name="text">
+      <string>Set &Key</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="2">
+    <spacer>
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="sizeHint">
+      <size>
+       <width>40</width>
+       <height>20</height>
       </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="2" column="0" colspan="2" >
-    <widget class="QLabel" name="keyDisplay" >
-     <property name="minimumSize" >
-      <size>
-       <width>0</width>
-       <height>40</height>
-      </size>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::Panel</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Sunken</enum>
-     </property>
-     <property name="lineWidth" >
-      <number>2</number>
-     </property>
-     <property name="text" >
-      <string/>
-     </property>
-     <property name="alignment" >
-      <set>Qt::AlignCenter</set>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="0" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>40</height>
+     </property>
+    </spacer>
+   </item>
+   <item row="2" column="0" colspan="2">
+    <widget class="QLabel" name="keyDisplay">
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>40</height>
+      </size>
+     </property>
+     <property name="frameShape">
+      <enum>QFrame::Panel</enum>
+     </property>
+     <property name="frameShadow">
+      <enum>QFrame::Sunken</enum>
+     </property>
+     <property name="lineWidth">
+      <number>2</number>
+     </property>
+     <property name="text">
+      <string/>
+     </property>
+     <property name="alignment">
+      <set>Qt::AlignCenter</set>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="0">
+    <spacer>
+     <property name="orientation">
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint">
+      <size>
+       <width>20</width>
+       <height>40</height>
       </size>
      </property>
     </spacer>




More information about the scribus-commit mailing list