From ff392a8e0af80fe37e92811fe7bb4128f1ed7cb8 Mon Sep 17 00:00:00 2001
Message-Id: <ff392a8e0af80fe37e92811fe7bb4128f1ed7cb8.1612047811.git.bubu@ujevangelizacio.hu>
From: =?UTF-8?q?Gyuris=20Gell=C3=A9rt?= <bubu@ujevangelizacio.hu>
Date: Sat, 30 Jan 2021 23:53:13 +0100
Subject: [PATCH] Update layout for Barcode Generator

---
 .../barcodegenerator/barcodegenerator.ui      | 247 +++++++++---------
 1 file changed, 130 insertions(+), 117 deletions(-)

diff --git a/scribus/plugins/barcodegenerator/barcodegenerator.ui b/scribus/plugins/barcodegenerator/barcodegenerator.ui
index 802bc106d..98a2e6900 100644
--- a/scribus/plugins/barcodegenerator/barcodegenerator.ui
+++ b/scribus/plugins/barcodegenerator/barcodegenerator.ui
@@ -8,8 +8,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>497</width>
-    <height>574</height>
+    <width>519</width>
+    <height>601</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -19,6 +19,18 @@
    <string/>
   </property>
   <layout class="QGridLayout" name="gridLayout">
+   <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>
    <item row="8" column="0" colspan="3">
     <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
@@ -50,109 +62,28 @@
      </item>
     </layout>
    </item>
-   <item row="4" column="0">
-    <widget class="QGroupBox" name="bcodeBox">
-     <property name="title">
-      <string/>
-     </property>
-     <layout class="QGridLayout" name="gridLayout_3">
-      <property name="topMargin">
-       <number>0</number>
-      </property>
-      <property name="bottomMargin">
-       <number>0</number>
-      </property>
-      <item row="6" column="1">
-       <widget class="QCheckBox" name="includecheckintextCheck">
-        <property name="toolTip">
-         <string>Include the checksum digit in the barcode text</string>
-        </property>
-        <property name="text">
-         <string>Display checksum</string>
-        </property>
-        <property name="shortcut">
-         <string>Alt+U</string>
-        </property>
-       </widget>
-      </item>
-      <item row="5" column="0">
-       <widget class="QCheckBox" name="includetextCheck">
-        <property name="toolTip">
-         <string>If checked, there will be numbers in the barcode too</string>
-        </property>
-        <property name="text">
-         <string>Show readable text</string>
-        </property>
-        <property name="shortcut">
-         <string>Alt+I</string>
-        </property>
-        <property name="checked">
-         <bool>false</bool>
-        </property>
-       </widget>
-      </item>
-      <item row="8" column="1">
-       <widget class="QCheckBox" name="parsefncCheck">
-        <property name="text">
-         <string>Parse specials</string>
-        </property>
-       </widget>
-      </item>
-      <item row="5" column="1">
-       <widget class="QCheckBox" name="guardwhitespaceCheck">
-        <property name="toolTip">
-         <string>Draw arrows to be sure of space next the code</string>
-        </property>
-        <property name="text">
-         <string>Guard whitespace</string>
-        </property>
-        <property name="shortcut">
-         <string>Alt+G</string>
-        </property>
-       </widget>
-      </item>
-      <item row="8" column="0">
-       <widget class="QCheckBox" name="parseCheck">
-        <property name="text">
-         <string>^NNN as ASCII</string>
-        </property>
-       </widget>
-      </item>
-      <item row="6" column="0">
-       <widget class="QCheckBox" name="includecheckCheck">
-        <property name="toolTip">
-         <string>Generate and include a checksum in barcode</string>
-        </property>
-        <property name="text">
-         <string>Add checksum</string>
-        </property>
-        <property name="shortcut">
-         <string>Alt+N</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
    <item row="4" column="1" colspan="2">
     <widget class="QGroupBox" name="colorBox">
      <property name="title">
-      <string/>
+      <string>Colors</string>
      </property>
      <layout class="QGridLayout" name="gridLayout_4">
-      <property name="topMargin">
-       <number>6</number>
-      </property>
-      <item row="0" column="0">
-       <widget class="QPushButton" name="bgColorButton">
-        <property name="toolTip">
-         <string>Background color - under the code lines</string>
+      <item row="2" column="1">
+       <widget class="QLabel" name="txtLabel">
+        <property name="minimumSize">
+         <size>
+          <width>10</width>
+          <height>0</height>
+         </size>
         </property>
-        <property name="text">
-         <string>&amp;Background</string>
+        <property name="frameShape">
+         <enum>QFrame::Box</enum>
         </property>
-        <property name="shortcut">
-         <string>Alt+B</string>
+        <property name="scaledContents">
+         <bool>true</bool>
+        </property>
+        <property name="wordWrap">
+         <bool>false</bool>
         </property>
        </widget>
       </item>
@@ -220,22 +151,16 @@
         </property>
        </widget>
       </item>
-      <item row="2" column="1">
-       <widget class="QLabel" name="txtLabel">
-        <property name="minimumSize">
-         <size>
-          <width>10</width>
-          <height>0</height>
-         </size>
-        </property>
-        <property name="frameShape">
-         <enum>QFrame::Box</enum>
+      <item row="0" column="0">
+       <widget class="QPushButton" name="bgColorButton">
+        <property name="toolTip">
+         <string>Background color - under the code lines</string>
         </property>
-        <property name="scaledContents">
-         <bool>true</bool>
+        <property name="text">
+         <string>&amp;Background</string>
         </property>
-        <property name="wordWrap">
-         <bool>false</bool>
+        <property name="shortcut">
+         <string>Alt+B</string>
         </property>
        </widget>
       </item>
@@ -251,7 +176,7 @@
       </size>
      </property>
      <property name="title">
-      <string/>
+      <string>Type</string>
      </property>
      <layout class="QGridLayout" name="gridLayout_2">
       <item row="0" column="0">
@@ -367,12 +292,9 @@
    <item row="6" column="0" colspan="3">
     <widget class="QGroupBox" name="optionsBox">
      <property name="title">
-      <string/>
+      <string>Preview</string>
      </property>
      <layout class="QGridLayout" name="gridLayout_5">
-      <property name="verticalSpacing">
-       <number>6</number>
-      </property>
       <item row="2" column="0" colspan="5">
        <widget class="QLabel" name="sampleLabel">
         <property name="minimumSize">
@@ -450,6 +372,97 @@
      </layout>
     </widget>
    </item>
+   <item row="4" column="0">
+    <widget class="QGroupBox" name="bcodeBox">
+     <property name="title">
+      <string>Options</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout_3">
+      <item row="6" column="0">
+       <widget class="QCheckBox" name="includecheckCheck">
+        <property name="toolTip">
+         <string>Generate and include a checksum in barcode</string>
+        </property>
+        <property name="text">
+         <string>Add checksum</string>
+        </property>
+        <property name="shortcut">
+         <string>Alt+N</string>
+        </property>
+       </widget>
+      </item>
+      <item row="6" column="1">
+       <widget class="QCheckBox" name="includecheckintextCheck">
+        <property name="toolTip">
+         <string>Include the checksum digit in the barcode text</string>
+        </property>
+        <property name="text">
+         <string>Display checksum</string>
+        </property>
+        <property name="shortcut">
+         <string>Alt+U</string>
+        </property>
+       </widget>
+      </item>
+      <item row="8" column="0">
+       <widget class="QCheckBox" name="parseCheck">
+        <property name="text">
+         <string>^NNN as ASCII</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="0">
+       <widget class="QCheckBox" name="includetextCheck">
+        <property name="toolTip">
+         <string>If checked, there will be numbers in the barcode too</string>
+        </property>
+        <property name="text">
+         <string>Show readable text</string>
+        </property>
+        <property name="shortcut">
+         <string>Alt+I</string>
+        </property>
+        <property name="checked">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="1">
+       <widget class="QCheckBox" name="guardwhitespaceCheck">
+        <property name="toolTip">
+         <string>Draw arrows to be sure of space next the code</string>
+        </property>
+        <property name="text">
+         <string>Guard whitespace</string>
+        </property>
+        <property name="shortcut">
+         <string>Alt+G</string>
+        </property>
+       </widget>
+      </item>
+      <item row="8" column="1">
+       <widget class="QCheckBox" name="parsefncCheck">
+        <property name="text">
+         <string>Parse specials</string>
+        </property>
+       </widget>
+      </item>
+      <item row="9" column="0">
+       <spacer name="verticalSpacer">
+        <property name="orientation">
+         <enum>Qt::Vertical</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>20</width>
+          <height>40</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </widget>
+   </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
-- 
2.27.0

