mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
8525597b81
in filenames GUI: sequence: similarly for * use + instead of * on Windows
291 lines
9.4 KiB
XML
291 lines
9.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SequenceDialog</class>
|
|
<widget class="QDialog" name="SequenceDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>637</width>
|
|
<height>423</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Sequence Export</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset>
|
|
<normaloff>:res/zint-qt.ico</normaloff>:res/zint-qt.ico</iconset>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vertLayoutSeq">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horzLayoutSeq">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="vertLayoutSeqCreate">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxSeqCreate">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Create Sequence</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Generate a sequence</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayoutSeqCreate">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lblSeqStartVal">
|
|
<property name="toolTip">
|
|
<string>Start sequence at this value</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Start Value:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spnSeqStartVal</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="spnSeqStartVal">
|
|
<property name="toolTip">
|
|
<string>Start sequence at this value</string>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>999999999</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lblSeqEndVal">
|
|
<property name="toolTip">
|
|
<string>End sequence at this value</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>End &Value:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spnSeqEndVal</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="spnSeqEndVal">
|
|
<property name="toolTip">
|
|
<string>End sequence at this value</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>999999999</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="lblSeqIncVal">
|
|
<property name="toolTip">
|
|
<string>Go from start to end in steps of this amount</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Increment &By:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spnSeqIncVal</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="spnSeqIncVal">
|
|
<property name="toolTip">
|
|
<string>Go from start to end in steps of this amount</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>999999999</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="lblSeqFormat">
|
|
<property name="toolTip">
|
|
<string>Format sequence using special characters<table cellspacing="3">
|
|
<tr><td>$</td><td>Number or '0'</td></tr>
|
|
<tr><td>#</td><td>Number or space</td></tr>
|
|
<tr><td>*</td><td>Number or '*' ('+' on Windows)</td></tr>
|
|
<tr><td>Other</td><td>Insert literally</td></tr>
|
|
</table></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>F&ormat:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>linSeqFormat</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QLineEdit" name="linSeqFormat">
|
|
<property name="toolTip">
|
|
<string>Format sequence using special characters<table cellspacing="3">
|
|
<tr><td>$</td><td>Number or '0'</td></tr>
|
|
<tr><td>#</td><td>Number or space</td></tr>
|
|
<tr><td>*</td><td>Number or '*' ('+' on Windows)</td></tr>
|
|
<tr><td>Other</td><td>Insert literally</td></tr>
|
|
</table></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>$$$$$$</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<layout class="QHBoxLayout" name="horzLayoutSeqCreateBtn">
|
|
<item>
|
|
<spacer name="horzSpacerSeqCreateBtn">
|
|
<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="btnSeqCreate">
|
|
<property name="toolTip">
|
|
<string>Generate a data sequence</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Crea&te</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="vertSpacerCreate">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxSeqPreview">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The data to be encoded, one line per symbol</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Sequence &Data</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vertLayoutSeqPreview">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="txtSeqPreview">
|
|
<property name="toolTip">
|
|
<string>The data to be encoded, one line per symbol</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horzLayoutSeqBtns">
|
|
<item>
|
|
<widget class="QPushButton" name="btnSeqFromFile">
|
|
<property name="toolTip">
|
|
<string>Import a data sequence from a file</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&From File...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSeqClear">
|
|
<property name="toolTip">
|
|
<string>Clear the sequence data</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> C&lear</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horzSpacerSeqBtns">
|
|
<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="btnSeqExport">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save the symbols to files</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Export...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSeqClose">
|
|
<property name="toolTip">
|
|
<string>Close window</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|