zint/frontend_qt4/mainWindow.ui
2008-10-11 10:30:35 +00:00

579 lines
16 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>873</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" >
<widget class="QPushButton" name="zoomIn" >
<property name="toolTip" >
<string>Ctrl++</string>
</property>
<property name="text" >
<string>Zoom in</string>
</property>
<property name="shortcut" >
<string>Ctrl++</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="zoomOut" >
<property name="toolTip" >
<string>Ctrl+-</string>
</property>
<property name="text" >
<string>Zoom out</string>
</property>
<property name="shortcut" >
<string>Ctrl+-</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<spacer name="horizontalSpacer_4" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>85</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="3" colspan="2" >
<widget class="QPushButton" name="reset" >
<property name="toolTip" >
<string>Ctrl+0</string>
</property>
<property name="text" >
<string>Reset</string>
</property>
<property name="shortcut" >
<string>Ctrl+0</string>
</property>
</widget>
</item>
<item row="0" column="5" >
<spacer name="horizontalSpacer_3" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>76</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="6" >
<widget class="QPushButton" name="rotateAc" >
<property name="toolTip" >
<string>Ctrl+Left</string>
</property>
<property name="text" >
<string>Rotate anticlockwise</string>
</property>
<property name="shortcut" >
<string>Ctrl+Left</string>
</property>
</widget>
</item>
<item row="0" column="7" >
<widget class="QPushButton" name="rotateC" >
<property name="toolTip" >
<string>Ctrl+Right</string>
</property>
<property name="text" >
<string>Rotate clockwise</string>
</property>
<property name="shortcut" >
<string>Ctrl+Right</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="8" >
<widget class="QGraphicsView" name="view" />
</item>
<item row="2" column="0" colspan="4" >
<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="2" column="4" colspan="4" >
<layout class="QHBoxLayout" name="horizontalLayout_12" >
<item>
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>Aspect ratio:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="aspectRatio" >
<item>
<property name="text" >
<string>Ignore aspect ratio</string>
</property>
</item>
<item>
<property name="text" >
<string>Keep aspect ratio</string>
</property>
</item>
<item>
<property name="text" >
<string>Center (no scalling)</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="3" column="0" colspan="4" >
<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="3" column="4" colspan="4" >
<layout class="QHBoxLayout" name="horizontalLayout_7" >
<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="4" column="0" colspan="4" >
<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="4" column="4" colspan="4" >
<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="5" column="0" colspan="4" >
<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 row="5" column="4" colspan="4" >
<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="6" column="0" colspan="4" >
<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 rowspan="6" row="6" column="4" colspan="4" >
<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>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">
&lt;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&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="acceptRichText" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="0" colspan="4" >
<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" colspan="4" >
<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" colspan="4" >
<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" colspan="4" >
<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" colspan="4" >
<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="8" >
<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>&amp;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>