mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
482 lines
13 KiB
XML
482 lines
13 KiB
XML
<ui version="4.0" >
|
|
<class>mainWindow</class>
|
|
<widget class="QWidget" name="mainWindow" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>787</width>
|
|
<height>748</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Zint Qt fontend</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" >
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QGraphicsView" name="view" />
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2" >
|
|
<item>
|
|
<widget class="QLabel" name="label" >
|
|
<property name="text" >
|
|
<string>Type:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="bstyle" />
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_12" >
|
|
<item>
|
|
<widget class="QLabel" name="label_11" >
|
|
<property name="text" >
|
|
<string>Item Width:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="iwidth" >
|
|
<property name="minimum" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep" >
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>400</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3" >
|
|
<item>
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string>Height:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="heightb" >
|
|
<property name="maximum" >
|
|
<number>300</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>50</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_13" >
|
|
<item>
|
|
<widget class="QLabel" name="label_12" >
|
|
<property name="text" >
|
|
<string>Item Height:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="iheight" >
|
|
<property name="minimum" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep" >
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>400</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5" >
|
|
<item>
|
|
<widget class="QLabel" name="label_5" >
|
|
<property name="text" >
|
|
<string>Width (pdf471):</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="widthb" >
|
|
<property name="maximum" >
|
|
<number>300</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4" >
|
|
<item>
|
|
<widget class="QLabel" name="label_4" >
|
|
<property name="text" >
|
|
<string>Primary</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="primary" />
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6" >
|
|
<item>
|
|
<widget class="QLabel" name="label_6" >
|
|
<property name="text" >
|
|
<string>Security level:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="security" >
|
|
<property name="minimum" >
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>-1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item rowspan="8" row="4" column="1" >
|
|
<layout class="QVBoxLayout" name="verticalLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_2" >
|
|
<property name="text" >
|
|
<string>Data</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="text" >
|
|
<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:9pt; 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; font-family:'Sans Serif'; font-size:10pt;">123456</p></body></html></string>
|
|
</property>
|
|
<property name="acceptRichText" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7" >
|
|
<item>
|
|
<widget class="QLabel" name="label_7" >
|
|
<property name="text" >
|
|
<string>Scale factor:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="scaleFactor" >
|
|
<property name="minimum" >
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>16</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="6" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8" >
|
|
<item>
|
|
<widget class="QLabel" name="label_8" >
|
|
<property name="text" >
|
|
<string>Border width:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="bwidth" >
|
|
<property name="minimum" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>16</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="7" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10" >
|
|
<item>
|
|
<widget class="QLabel" name="label_9" >
|
|
<property name="text" >
|
|
<string>Border type:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="btype" >
|
|
<item>
|
|
<property name="text" >
|
|
<string>No border</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Bind</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Box</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="8" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_11" >
|
|
<item>
|
|
<widget class="QLabel" name="label_10" >
|
|
<property name="text" >
|
|
<string>PDF417 CODEWORDS:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="codewords" >
|
|
<property name="minimum" >
|
|
<number>928</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>1800</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>928</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="9" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_14" >
|
|
<item>
|
|
<widget class="QLabel" name="label_13" >
|
|
<property name="text" >
|
|
<string>MSI PLESSEY:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="msiPlessey" >
|
|
<item>
|
|
<property name="text" >
|
|
<string>MSI_PLESSEY</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>MSI_10</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>MSI_10_10</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>MSI_11</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>MSI_11_10</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="10" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_15" >
|
|
<item>
|
|
<widget class="QLabel" name="label_14" >
|
|
<property name="text" >
|
|
<string>(Ex)CODE39:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="code39" >
|
|
<item>
|
|
<property name="text" >
|
|
<string>(EX)CODE39</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>(EX)CODE39_43</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="11" column="0" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout_9" >
|
|
<item>
|
|
<widget class="QPushButton" name="fgcolor" >
|
|
<property name="text" >
|
|
<string>Foreground color</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bgcolor" >
|
|
<property name="text" >
|
|
<string>Backgound color</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="12" column="0" colspan="2" >
|
|
<layout class="QHBoxLayout" name="horizontalLayout" >
|
|
<item>
|
|
<spacer name="horizontalSpacer" >
|
|
<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="generate" >
|
|
<property name="text" >
|
|
<string>&Generate</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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="pushButton_2" >
|
|
<property name="text" >
|
|
<string>Close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>pushButton_2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>mainWindow</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>585</x>
|
|
<y>544</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>554</x>
|
|
<y>310</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|