zint/frontend_qt4/mainWindow.ui

411 lines
11 KiB
Plaintext
Raw Normal View History

2008-07-19 02:49:14 +12:00
<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 rowspan="2" 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="stype" />
</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 rowspan="2" 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 rowspan="2" row="3" 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 rowspan="2" row="4" 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 rowspan="2" row="5" 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 rowspan="7" row="6" 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>&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:'Sans Serif'; font-size:10pt; 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;">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" >
<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="8" 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="9" 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="10" 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="11" 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="12" 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="13" 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>&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>