Fleshed out object editor UI.

This commit is contained in:
Jim Evins
2015-08-18 01:31:19 -04:00
parent cfbe08b306
commit 00359f1c9d
11 changed files with 386 additions and 251 deletions
+9 -3
View File
@@ -28,20 +28,26 @@
<file>icons/16x16/actions/glabels-rotate-right.png</file> <file>icons/16x16/actions/glabels-rotate-right.png</file>
<file>icons/16x16/actions/glabels-text.png</file> <file>icons/16x16/actions/glabels-text.png</file>
<file>icons/16x16/apps/glabels.png</file> <file>icons/16x16/apps/glabels.png</file>
<file>icons/24x24/actions/glabels-align-text-bottom.png</file> <file>icons/24x24/actions/glabels-align-text-center.png</file>
<file>icons/24x24/actions/glabels-align-text-middle.png</file> <file>icons/24x24/actions/glabels-align-text-left.png</file>
<file>icons/24x24/actions/glabels-align-text-top.png</file> <file>icons/24x24/actions/glabels-align-text-right.png</file>
<file>icons/24x24/actions/glabels-arrow.png</file> <file>icons/24x24/actions/glabels-arrow.png</file>
<file>icons/24x24/actions/glabels-barcode.png</file> <file>icons/24x24/actions/glabels-barcode.png</file>
<file>icons/24x24/actions/glabels-box.png</file> <file>icons/24x24/actions/glabels-box.png</file>
<file>icons/24x24/actions/glabels-bucket-fill.png</file> <file>icons/24x24/actions/glabels-bucket-fill.png</file>
<file>icons/24x24/actions/glabels-ellipse.png</file> <file>icons/24x24/actions/glabels-ellipse.png</file>
<file>icons/24x24/actions/glabels-format-text-bold.png</file>
<file>icons/24x24/actions/glabels-format-text-italic.png</file>
<file>icons/24x24/actions/glabels-format-text-underline.png</file>
<file>icons/24x24/actions/glabels-image.png</file> <file>icons/24x24/actions/glabels-image.png</file>
<file>icons/24x24/actions/glabels-line.png</file> <file>icons/24x24/actions/glabels-line.png</file>
<file>icons/24x24/actions/glabels-merge.png</file> <file>icons/24x24/actions/glabels-merge.png</file>
<file>icons/24x24/actions/glabels-object-properties.png</file> <file>icons/24x24/actions/glabels-object-properties.png</file>
<file>icons/24x24/actions/glabels-pencil.png</file> <file>icons/24x24/actions/glabels-pencil.png</file>
<file>icons/24x24/actions/glabels-text.png</file> <file>icons/24x24/actions/glabels-text.png</file>
<file>icons/24x24/actions/glabels-valign-text-bottom.png</file>
<file>icons/24x24/actions/glabels-valign-text-middle.png</file>
<file>icons/24x24/actions/glabels-valign-text-top.png</file>
<file>icons/24x24/actions/fallback-edit-copy.png</file> <file>icons/24x24/actions/fallback-edit-copy.png</file>
<file>icons/24x24/actions/fallback-edit-cut.png</file> <file>icons/24x24/actions/fallback-edit-cut.png</file>
<file>icons/24x24/actions/fallback-edit-paste.png</file> <file>icons/24x24/actions/fallback-edit-paste.png</file>
Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 481 B

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 398 B

+358 -229
View File
@@ -70,13 +70,178 @@
<item row="1" column="0"> <item row="1" column="0">
<widget class="QTabWidget" name="notebook"> <widget class="QTabWidget" name="notebook">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>5</number>
</property> </property>
<widget class="QWidget" name="textPage"> <widget class="QWidget" name="textPage">
<attribute name="title"> <attribute name="title">
<string>Text</string> <string>Text</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_15"> <layout class="QGridLayout" name="gridLayout_15">
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Layout</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Alignment:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="textHAlignLeftToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-left.png</normaloff>:/icons/24x24/actions/glabels-align-text-left.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="textHAlignCenterToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-center.png</normaloff>:/icons/24x24/actions/glabels-align-text-center.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="textHAlignRightToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-right.png</normaloff>:/icons/24x24/actions/glabels-align-text-right.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="textVAlignTopToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-valign-text-top.png</normaloff>:/icons/24x24/actions/glabels-valign-text-top.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="textVAlignMiddleToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-valign-text-middle.png</normaloff>:/icons/24x24/actions/glabels-valign-text-middle.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="textVAlignBottomToggle">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-valign-text-bottom.png</normaloff>:/icons/24x24/actions/glabels-valign-text-bottom.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Line spacing:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_19">
<item>
<widget class="QDoubleSpinBox" name="textLineSpacingSpin"/>
</item>
<item>
<spacer name="horizontalSpacer_16">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
@@ -88,6 +253,9 @@
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="0">
<layout class="QFormLayout" name="formLayout"> <layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
@@ -95,6 +263,9 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QFontComboBox" name="textFontFamilyCombo"/>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="text"> <property name="text">
@@ -102,9 +273,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox"/>
</item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="text"> <property name="text">
@@ -115,13 +283,13 @@
<item row="2" column="1"> <item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QPushButton" name="pushButton"> <widget class="QPushButton" name="textFontBoldToggle">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset> <normaloff>:/icons/24x24/actions/glabels-format-text-bold.png</normaloff>:/icons/24x24/actions/glabels-format-text-bold.png</iconset>
</property> </property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
@@ -132,13 +300,13 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_2"> <widget class="QPushButton" name="textFontItalicToggle">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset> <normaloff>:/icons/24x24/actions/glabels-format-text-italic.png</normaloff>:/icons/24x24/actions/glabels-format-text-italic.png</iconset>
</property> </property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
@@ -146,19 +314,32 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_3"> <widget class="QPushButton" name="textFontUnderlineToggle">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../icons.qrc"> <iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset> <normaloff>:/icons/24x24/actions/glabels-format-text-underline.png</normaloff>:/icons/24x24/actions/glabels-format-text-underline.png</iconset>
</property> </property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_20">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
@@ -168,15 +349,49 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_18">
<item>
<widget class="QDoubleSpinBox" name="textFontSizeSpin"/>
</item>
<item>
<spacer name="horizontalSpacer_15">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="glabels::ColorButton" name="pushButton_4"> <layout class="QHBoxLayout" name="horizontalLayout_23">
<item>
<widget class="glabels::ColorButton" name="textColorButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QFontComboBox" name="fontComboBox"/> <spacer name="horizontalSpacer_19">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </item>
@@ -196,154 +411,19 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="3" column="0">
<widget class="QGroupBox" name="groupBox_2"> <spacer name="verticalSpacer_5">
<property name="title">
<string>Layout</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Alignment:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_6">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_7">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_8">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-text.png</normaloff>:/icons/24x24/actions/glabels-text.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="pushButton_9">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-bottom.png</normaloff>:/icons/24x24/actions/glabels-align-text-bottom.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_10">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-middle.png</normaloff>:/icons/24x24/actions/glabels-align-text-middle.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_11">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/24x24/actions/glabels-align-text-top.png</normaloff>:/icons/24x24/actions/glabels-align-text-top.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Line spacing:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_2"/>
</item>
</layout>
</item>
<item row="0" column="1">
<spacer name="horizontalSpacer_5">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>40</width> <width>20</width>
<height>20</height> <height>150</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
</layout>
</widget>
</item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">
@@ -371,7 +451,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="glabels::FieldButton" name="pushButton_12"> <widget class="glabels::FieldButton" name="textInsertFieldButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@@ -397,19 +477,6 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="3" column="0">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>156</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="barcodePage"> <widget class="QWidget" name="barcodePage">
@@ -417,6 +484,19 @@
<string>Barcode</string> <string>Barcode</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_14"> <layout class="QGridLayout" name="gridLayout_14">
<item row="2" column="0">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>356</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QGroupBox" name="groupBox_7"> <widget class="QGroupBox" name="groupBox_7">
<property name="title"> <property name="title">
@@ -433,17 +513,17 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="comboBox"/> <widget class="QComboBox" name="barcodeTypeCombo"/>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QCheckBox" name="checkBox"> <widget class="QCheckBox" name="barcodeShowTextCheck">
<property name="text"> <property name="text">
<string>Show text</string> <string>Show text</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QCheckBox" name="checkBox_2"> <widget class="QCheckBox" name="barcodeChecksumCheck">
<property name="text"> <property name="text">
<string>Checksum</string> <string>Checksum</string>
</property> </property>
@@ -457,12 +537,29 @@
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="glabels::ColorButton" name="pushButton_5"> <layout class="QHBoxLayout" name="horizontalLayout_22">
<item>
<widget class="glabels::ColorButton" name="barcodeColorButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_18">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout> </layout>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
@@ -492,7 +589,7 @@
<item row="0" column="0"> <item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QRadioButton" name="radioButton"> <widget class="QRadioButton" name="barcodeLiteralRadio">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@@ -526,7 +623,7 @@
</layout> </layout>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QPlainTextEdit" name="plainTextEdit"> <widget class="QPlainTextEdit" name="barcodeTextEdit">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@@ -544,7 +641,7 @@
<item row="1" column="0"> <item row="1" column="0">
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QRadioButton" name="radioButton_2"> <widget class="QRadioButton" name="barcodeKeyRadio">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@@ -582,7 +679,7 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_16"> <layout class="QHBoxLayout" name="horizontalLayout_16">
<item> <item>
<widget class="glabels::FieldButton" name="pushButton_16"> <widget class="glabels::FieldButton" name="barcodeFieldButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@@ -613,9 +710,9 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="label_22"> <widget class="QLabel" name="barcodeFormatLabel">
<property name="text"> <property name="text">
<string>TextLabel</string> <string>0000000000</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -629,7 +726,7 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_15"> <layout class="QHBoxLayout" name="horizontalLayout_15">
<item> <item>
<widget class="QSpinBox" name="spinBox_2"/> <widget class="QSpinBox" name="barcodeDigitsSpin"/>
</item> </item>
<item> <item>
<spacer name="horizontalSpacer_12"> <spacer name="horizontalSpacer_12">
@@ -655,19 +752,6 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="0">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>356</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="imagePage"> <widget class="QWidget" name="imagePage">
@@ -697,7 +781,7 @@
<item row="0" column="0"> <item row="0" column="0">
<layout class="QFormLayout" name="formLayout_8"> <layout class="QFormLayout" name="formLayout_8">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QRadioButton" name="radioButton_3"> <widget class="QRadioButton" name="imageFileRadio">
<property name="text"> <property name="text">
<string>File:</string> <string>File:</string>
</property> </property>
@@ -711,14 +795,14 @@
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QRadioButton" name="radioButton_4"> <widget class="QRadioButton" name="imageKeyRadio">
<property name="text"> <property name="text">
<string>Key:</string> <string>Key:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="glabels::FieldButton" name="pushButton_18"> <widget class="glabels::FieldButton" name="imageFieldButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@@ -769,9 +853,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBox_3"/>
</item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_11"> <widget class="QLabel" name="label_11">
<property name="text"> <property name="text">
@@ -779,13 +860,44 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_20">
<item>
<widget class="QDoubleSpinBox" name="lineWidthSpin"/>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>points</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="glabels::ColorButton" name="pushButton_13"> <layout class="QHBoxLayout" name="horizontalLayout_21">
<item>
<widget class="glabels::ColorButton" name="lineColorButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_17">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout> </layout>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
@@ -820,7 +932,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="glabels::ColorButton" name="pushButton_14"> <widget class="glabels::ColorButton" name="fillColorButton">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@@ -854,7 +966,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>582</height> <height>578</height>
</size> </size>
</property> </property>
</spacer> </spacer>
@@ -884,10 +996,10 @@
<item row="0" column="1"> <item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_9"> <layout class="QHBoxLayout" name="horizontalLayout_9">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_6"/> <widget class="QDoubleSpinBox" name="posXSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_27"> <widget class="QLabel" name="posXUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -905,10 +1017,10 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_10"> <layout class="QHBoxLayout" name="horizontalLayout_10">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_7"/> <widget class="QDoubleSpinBox" name="posYSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_28"> <widget class="QLabel" name="posYUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -935,7 +1047,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QGroupBox" name="groupBox_11"> <widget class="QGroupBox" name="sizeRectFrame">
<property name="title"> <property name="title">
<string>Size</string> <string>Size</string>
</property> </property>
@@ -952,10 +1064,10 @@
<item row="0" column="1"> <item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_11"> <layout class="QHBoxLayout" name="horizontalLayout_11">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_8"/> <widget class="QDoubleSpinBox" name="sizeWSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_31"> <widget class="QLabel" name="sizeWUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -973,10 +1085,10 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_12"> <layout class="QHBoxLayout" name="horizontalLayout_12">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_9"/> <widget class="QDoubleSpinBox" name="sizeHSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_32"> <widget class="QLabel" name="sizeHUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -987,14 +1099,14 @@
<item row="2" column="1"> <item row="2" column="1">
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
<item> <item>
<widget class="QCheckBox" name="checkBox_3"> <widget class="QCheckBox" name="sizeAspectCheck">
<property name="text"> <property name="text">
<string>Lock aspect ratio</string> <string>Lock aspect ratio</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_19"> <widget class="QPushButton" name="sizeResetImageButton">
<property name="text"> <property name="text">
<string>Reset image size</string> <string>Reset image size</string>
</property> </property>
@@ -1021,7 +1133,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QGroupBox" name="groupBox_12"> <widget class="QGroupBox" name="sizeLineFrame">
<property name="title"> <property name="title">
<string>Size</string> <string>Size</string>
</property> </property>
@@ -1038,10 +1150,10 @@
<item row="0" column="1"> <item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_13"> <layout class="QHBoxLayout" name="horizontalLayout_13">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_10"/> <widget class="QDoubleSpinBox" name="sizeLineLengthSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_34"> <widget class="QLabel" name="sizeLineLengthUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -1059,7 +1171,7 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_14"> <layout class="QHBoxLayout" name="horizontalLayout_14">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_11"/> <widget class="QDoubleSpinBox" name="sizeLineAngleSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_36"> <widget class="QLabel" name="label_36">
@@ -1109,7 +1221,7 @@
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_17"> <layout class="QGridLayout" name="gridLayout_17">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QGroupBox" name="groupBox_6"> <widget class="QGroupBox" name="shadowEnableCheck">
<property name="title"> <property name="title">
<string>Shadow</string> <string>Shadow</string>
</property> </property>
@@ -1132,10 +1244,10 @@
<item row="0" column="1"> <item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QHBoxLayout" name="horizontalLayout_6">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_4"/> <widget class="QDoubleSpinBox" name="shadowXSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_17"> <widget class="QLabel" name="shadowXUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -1153,10 +1265,10 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_7"> <layout class="QHBoxLayout" name="horizontalLayout_7">
<item> <item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_5"/> <widget class="QDoubleSpinBox" name="shadowYSpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_18"> <widget class="QLabel" name="shadowYUnitsLabel">
<property name="text"> <property name="text">
<string>inches</string> <string>inches</string>
</property> </property>
@@ -1171,13 +1283,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1">
<widget class="glabels::ColorButton" name="pushButton_15">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="label_16"> <widget class="QLabel" name="label_16">
<property name="text"> <property name="text">
@@ -1188,7 +1293,7 @@
<item row="3" column="1"> <item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QHBoxLayout" name="horizontalLayout_8">
<item> <item>
<widget class="QSpinBox" name="spinBox"/> <widget class="QSpinBox" name="shadowOpacitySpin"/>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_19"> <widget class="QLabel" name="label_19">
@@ -1199,6 +1304,30 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_24">
<item>
<widget class="glabels::ColorButton" name="shadowColorButton">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_21">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout> </layout>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
@@ -1225,7 +1354,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>585</height> <height>583</height>
</size> </size>
</property> </property>
</spacer> </spacer>