zint-barcode-generator/frontend_qt/mainWindow.ui

732 lines
24 KiB
Text
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2008-07-18 10:49:14 -04:00
<class>mainWindow</class>
<widget class="QWidget" name="mainWindow">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
2016-12-14 18:33:17 -05:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2017-07-26 10:44:14 -04:00
<width>704</width>
<height>743</height>
2016-12-14 18:33:17 -05:00
</rect>
</property>
<property name="sizePolicy">
2016-12-14 18:33:17 -05:00
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2008-07-18 10:49:14 -04:00
</property>
<property name="minimumSize">
<size>
2016-12-14 18:33:17 -05:00
<width>420</width>
<height>500</height>
2009-05-26 19:07:16 -04:00
</size>
</property>
<property name="windowTitle">
2020-04-07 12:27:45 -04:00
<string>Zint Barcode Studio 2.8</string>
2009-05-21 17:00:23 -04:00
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
2010-05-29 02:48:06 -04:00
<normaloff>:/images/zint.png</normaloff>:/images/zint.png</iconset>
2009-07-16 09:52:36 -04:00
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
2009-07-16 09:52:36 -04:00
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
2009-11-03 05:52:34 -05:00
<item>
2016-12-14 18:33:17 -05:00
<widget class="QGraphicsView" name="view"/>
2009-11-03 05:52:34 -05:00
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
2009-11-03 05:52:34 -05:00
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="lblSymbology">
<property name="text">
<string>S&amp;ymbology:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>bstyle</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="bstyle">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Type of barcode</string>
2009-11-03 05:52:34 -05:00
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTabWidget" name="tabMain">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
2009-11-03 05:52:34 -05:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>350</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="currentIndex">
2017-04-22 07:44:32 -04:00
<number>1</number>
2009-11-03 05:52:34 -05:00
</property>
<widget class="QWidget" name="tabGeneral">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="grpData">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
2009-11-03 05:52:34 -05:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>&amp;Data to Encode</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLineEdit" name="txtData">
<property name="toolTip">
<string>Data to encode</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="text">
<string>Your Data Here!</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnMoreData">
<property name="minimumSize">
<size>
<width>0</width>
<height>24</height>
</size>
</property>
<property name="toolTip">
<string>Encode more data
or import from file</string>
</property>
2009-11-03 05:52:34 -05:00
<property name="text">
<string>...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnSequence">
<property name="minimumSize">
<size>
<width>0</width>
<height>24</height>
</size>
</property>
<property name="toolTip">
<string>Encode a sequence</string>
</property>
<property name="text">
<string>123..</string>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="grpComposite">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
2009-11-03 05:52:34 -05:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>400</height>
</size>
</property>
<property name="title">
<string>Composite Code</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="chkComposite">
<property name="toolTip">
<string>Create a composite symbol</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="text">
<string>Add &amp;2D Component</string>
</property>
</widget>
</item>
<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="QLabel" name="lblCompType">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Component &amp;Type:</string>
</property>
<property name="buddy">
<cstring>cmbCompType</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbCompType">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Type of 2D component</string>
</property>
2009-11-03 05:52:34 -05:00
<item>
<property name="text">
<string>Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>CC-A</string>
</property>
</item>
<item>
<property name="text">
<string>CC-B</string>
</property>
</item>
<item>
<property name="text">
<string>CC-C</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
2009-11-03 05:52:34 -05:00
<item>
<widget class="QLabel" name="lblComposite">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>2D &amp;Component Data:</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="buddy">
<cstring>txtComposite</cstring>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="txtComposite">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>Data to be encoded in 2D component
Remember to place [square brackets] around AI data</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkEscape">
<property name="text">
<string>Parse Escape Sequences</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
</layout>
</widget>
<widget class="QWidget" name="tabAppear">
<property name="maximumSize">
<size>
<width>678</width>
<height>16777215</height>
</size>
</property>
2009-11-03 05:52:34 -05:00
<attribute name="title">
<string>Appearance</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lblHeight">
<property name="enabled">
<bool>false</bool>
</property>
2009-11-03 05:52:34 -05:00
<property name="text">
<string>&amp;Height:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>heightb</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="heightb">
<property name="enabled">
<bool>false</bool>
</property>
2009-11-03 05:52:34 -05:00
<property name="toolTip">
<string>Overall symbol height</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="suffix">
<string> X</string>
</property>
<property name="prefix">
<string/>
</property>
<property name="maximum">
<number>300</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>B&amp;order Width:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>bwidth</cstring>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
<item row="1" column="1">
<widget class="QSpinBox" name="bwidth">
<property name="toolTip">
<string>Width of boundary bars or border</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="suffix">
<string> X</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>16</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Border &amp;Type:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>btype</cstring>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
<item row="2" column="1">
<widget class="QComboBox" name="btype">
<property name="toolTip">
<string>Add border or box</string>
</property>
<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>
<item row="3" column="0">
<widget class="QLabel" name="lblWhitespace">
<property name="text">
<string>Horizontal &amp;Whitespace:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnWhitespace</cstring>
</property>
</widget>
</item>
<item row="3" column="1">
2009-11-03 05:52:34 -05:00
<widget class="QSpinBox" name="spnWhitespace">
<property name="toolTip">
<string>Width of whitespace</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="suffix">
<string> X</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lblScale">
<property name="text">
<string>&amp;Printing Scale:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>spnScale</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
2009-11-03 05:52:34 -05:00
<widget class="QDoubleSpinBox" name="spnScale">
<property name="toolTip">
<string>Image scale when output to file</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="suffix">
<string/>
</property>
<property name="decimals">
<number>2</number>
</property>
<property name="minimum">
<double>0.500000000000000</double>
</property>
<property name="maximum">
<double>99.500000000000000</double>
</property>
<property name="singleStep">
<double>0.500000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_dummyAppear02">
<property name="enabled">
<bool>false</bool>
2009-11-03 05:52:34 -05:00
</property>
<property name="text">
<string></string>
2009-11-03 05:52:34 -05:00
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="fgcolor">
<property name="toolTip">
<string>Change ink colour</string>
</property>
2009-11-03 05:52:34 -05:00
<property name="text">
<string>&amp;Foreground Colour</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_dummyAppear12">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
</item>
<item row="1" column="3">
2009-11-03 05:52:34 -05:00
<widget class="QPushButton" name="bgcolor">
<property name="toolTip">
<string>Change paper colour</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="text">
<string>&amp;Backgound Colour</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="label_dummyAppear13">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="btnReset">
<property name="toolTip">
<string>Reset to black on white</string>
</property>
<property name="text">
<string>&amp;Reset Colours</string>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
</layout>
</item>
<item>
<widget class="QCheckBox" name="chkAutoHeight">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Automatic Height</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
<item>
<widget class="QCheckBox" name="chkHRTHide">
<property name="toolTip">
<string>Show text in image</string>
</property>
2009-11-03 05:52:34 -05:00
<property name="text">
<string>Show H&amp;uman Readable Text</string>
2009-11-03 05:52:34 -05:00
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
2009-11-03 05:52:34 -05:00
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
2017-05-15 16:12:19 -04:00
<item row="1" column="0">
<widget class="QPushButton" name="btnAbout">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>About Zint</string>
</property>
<property name="text">
<string>&amp;About</string>
</property>
</widget>
</item>
2017-05-15 16:12:19 -04:00
<item row="1" column="5">
<widget class="QPushButton" name="btnSave">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Save image to file</string>
</property>
<property name="text">
<string>&amp;Save</string>
</property>
</widget>
</item>
2017-05-15 16:12:19 -04:00
<item row="1" column="6">
<widget class="QPushButton" name="btnExit">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>E&amp;xit</string>
</property>
</widget>
</item>
2017-05-15 16:12:19 -04:00
<item row="1" column="1">
<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>
2009-11-03 05:52:34 -05:00
</item>
2017-05-15 16:12:19 -04:00
<item row="1" column="3">
<widget class="QPushButton" name="btnCopySVG">
2017-04-22 07:21:27 -04:00
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
2017-04-22 07:44:32 -04:00
<property name="toolTip">
<string>Copy to clipboard</string>
</property>
2017-04-22 07:21:27 -04:00
<property name="text">
2017-05-15 16:12:19 -04:00
<string>Copy S&amp;VG</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnCopyBMP">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>&amp;Copy BMP</string>
2017-04-22 07:21:27 -04:00
</property>
</widget>
</item>
2009-11-03 05:52:34 -05:00
</layout>
</item>
</layout>
2008-07-18 10:49:14 -04:00
</widget>
2009-04-26 18:04:51 -04:00
<tabstops>
<tabstop>tabMain</tabstop>
<tabstop>txtData</tabstop>
<tabstop>chkComposite</tabstop>
<tabstop>cmbCompType</tabstop>
<tabstop>txtComposite</tabstop>
</tabstops>
2009-05-21 17:00:23 -04:00
<resources>
<include location="resources.qrc"/>
2009-05-21 17:00:23 -04:00
</resources>
<connections/>
2008-07-18 10:49:14 -04:00
</ui>