1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-11 14:06:01 +00:00

cmake: bump min version 3.5 -> 3.10 to avoid warning with cmake 31.1;

also add min version to all CMakeLists.txt
GUI: add missing accelerator to UPCA/UPCEAN.ui "Guard Whitespace";
  add default value to some "Default" buttons;
  reformat DAFT examples again; add \^@ to special escs hint
This commit is contained in:
gitlost
2024-11-25 19:13:25 +00:00
parent e94727f07d
commit 041c74fe4d
12 changed files with 32 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# vim: set ts=4 sw=4 et :
cmake_minimum_required(VERSION 3.10)
project(zint-qt)
set(CMAKE_AUTORCC ON)

View File

@@ -51,9 +51,9 @@
<string>&amp;Manual Code Sets and FNC1s (Extra Escape Mode)</string>
</property>
<property name="toolTip">
<string>Process special escape sequences &quot;\^A&quot;, &quot;\^B&quot; and &quot;\^C&quot;
allowing manual Code Set selection and special escape
sequence &quot;\^1&quot; allowing manual FNC1s</string>
<string>Process special escape sequences &quot;\^A&quot;, &quot;\^B&quot;, &quot;\^C&quot; and
&quot;\^@&quot; allowing manual Code Set selection and special
escape sequence &quot;\^1&quot; allowing manual FNC1s</string>
</property>
</widget>
</item>

View File

@@ -83,9 +83,15 @@
</item>
<item>
<widget class="QPushButton" name="btnDAFTTrackerDefault">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<width>120</width>
<height>16777215</height>
</size>
</property>
@@ -93,7 +99,7 @@
<string>Reset tracker ratio to default 25%</string>
</property>
<property name="text">
<string>De&amp;fault</string>
<string>De&amp;fault (25%)</string>
</property>
</widget>
</item>
@@ -109,9 +115,10 @@
</property>
<property name="text">
<string>Examples of tracker ratios:
Australia Post 26%, Dutch Post and Royal Mail 25.6%, Japan Post 33%,
PLANET and POSTNET 25% (Tracker and Ascender only),
USPS Intelligent Mail 33.1%
Australia Post 26%
Dutch Post and Royal Mail 25.6%, Japan Post 33%
PLANET and POSTNET 25% (Tracker &amp; Ascender only)
USPS Intelligent Mail 33.1%
</string>
</property>
<property name="textFormat">

View File

@@ -135,7 +135,7 @@ descend below the main bars (default 5X)
to default 5X</string>
</property>
<property name="text">
<string>De&amp;fault</string>
<string>De&amp;fault (5X)</string>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -145,7 +145,7 @@ to default 5X</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<width>60</width>
<height>20</height>
</size>
</property>
@@ -171,7 +171,7 @@ to default 5X</string>
<item>
<widget class="QCheckBox" name="chkUPCAGuardWhitespace">
<property name="text">
<string>Guard Whitespace</string>
<string>Guard &amp;Whitespace</string>
</property>
<property name="checked">
<bool>false</bool>

View File

@@ -145,7 +145,7 @@ descend below the main bars (default 5X)
to default 5X</string>
</property>
<property name="text">
<string>De&amp;fault</string>
<string>De&amp;fault (5X)</string>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
@@ -155,7 +155,7 @@ to default 5X</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<width>60</width>
<height>20</height>
</size>
</property>
@@ -181,7 +181,7 @@ to default 5X</string>
<item>
<widget class="QCheckBox" name="chkUPCEANGuardWhitespace">
<property name="text">
<string>Guard Whitespace</string>
<string>Guard &amp;Whitespace</string>
</property>
<property name="checked">
<bool>false</bool>