Files
sethLabels/glabels/ui/TemplateDesignerTwoLayoutPage.ui
T
Jaye Evins 226841fe38 Minor UI cleanup (#313)
* Adjust tab-order of widgets to follow a logical spatial order.  (#309)
* Remove default attribute from Print button in PrintView.  (#308)
2026-02-18 11:38:38 -05:00

277 lines
7.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TemplateDesignerTwoLayoutPage</class>
<widget class="QWidget" name="TemplateDesignerTwoLayoutPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>400</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>640</width>
<height>400</height>
</size>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>12</number>
</property>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Distance from left edge (x0):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="nySpin1"/>
</item>
<item row="5" column="1">
<widget class="QDoubleSpinBox" name="dySpin1">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Number down (ny):</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="y0Spin1">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Distance from top edge (y0):</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="dxSpin1">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="nxSpin1"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Number across (nx):</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Horizontal pitch (dx):</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="x0Spin1">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Vertical pitch (dy):</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="nxSpin2"/>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="nySpin2"/>
</item>
<item row="2" column="2">
<widget class="QDoubleSpinBox" name="x0Spin2">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QDoubleSpinBox" name="y0Spin2">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QDoubleSpinBox" name="dxSpin2">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QDoubleSpinBox" name="dySpin2">
<property name="accelerated">
<bool>true</bool>
</property>
<property name="suffix">
<string notr="true">in</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" rowspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="glabels::SimplePreview" name="preview">
<property name="interactive">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<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="printButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Print test sheet</string>
</property>
<property name="icon">
<iconset theme="glabels-print">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</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>
</layout>
</item>
</layout>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>133</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>glabels::SimplePreview</class>
<extends>QGraphicsView</extends>
<header>SimplePreview.hpp</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>nxSpin1</tabstop>
<tabstop>nySpin1</tabstop>
<tabstop>x0Spin1</tabstop>
<tabstop>y0Spin1</tabstop>
<tabstop>dxSpin1</tabstop>
<tabstop>dySpin1</tabstop>
<tabstop>nxSpin2</tabstop>
<tabstop>nySpin2</tabstop>
<tabstop>x0Spin2</tabstop>
<tabstop>y0Spin2</tabstop>
<tabstop>dxSpin2</tabstop>
<tabstop>dySpin2</tabstop>
<tabstop>preview</tabstop>
<tabstop>printButton</tabstop>
</tabstops>
<resources>
<include location="../icons.qrc"/>
</resources>
<connections/>
</ui>