1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-18 02:17:06 +00:00

Remove bitmap_byte_length member from zint_symbol

(was only set on BMP output to length of BMP pixel array)
EXCODE39: change to display check digit in HRT by default
CODE39/EXCODE39/LOGMARS: new hidden check digit option
  (`option_2 = 2`)
qr.c: suppress bogus gcc-13 warning (only appears on optimize)
GUI: move some symbology-specific options into Data Tab so
  separate tab unnecessary (those with few options and no
  Composite/ECI), namely: all C25XXX, CODE39/EXCODE39/LOGMARS,
  MSI_PLESSEY, CODABAR, DAFT, DPD, MAILMARK_2D, ITF-14, PZN,
  UPNQR, CHANNEL, CODE93 and VIN, adjusting grp uis.
  change Data dialog button (ellipsis) QToolButton -> QPushButton
  & vice versa zap/clear/eye/swap/scale buttons QPushButton ->
  QToolButton for better mac compat (also makes sense);
  remove some mac hacks that no longer seem necessary;
  use folder icon for Export dialog directory button
manual: document new Symbology-specific groupbox & CODE39/etc
  hidden check digit option; add annexes on Qt and Tcl backends;
  narrow some tables for better txt output;
  remove echoed image tags in txt (pandoc 3.1.5 regression?);
  add one-page HTML output to Makefile; also tex output (debug);
  add class attributes to images to aid HTML styling;
  various other fiddlings
This commit is contained in:
gitlost
2023-07-18 11:11:50 +01:00
parent d05373e7fc
commit 32c9e6a98e
56 changed files with 2419 additions and 1507 deletions

View File

@@ -1,7 +1,7 @@
<ui version="4.0" >
<ui version="4.0">
<class>grpMSICheck</class>
<widget class="QWidget" name="grpMSICheck" >
<property name="geometry" >
<widget class="QWidget" name="grpMSICheck">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@@ -15,21 +15,36 @@
<height>16777215</height>
</size>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="vLayoutMSI">
<property name="contentMargins">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<layout class="QHBoxLayout" name="hLayoutMSI">
<item>
<widget class="QLabel" name="lblMSICheck" >
<property name="text" >
<widget class="QLabel" name="lblMSICheck">
<property name="text">
<string>&amp;Check Digit:</string>
</property>
<property name="alignment" >
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>cmbMSICheck</cstring>
</property>
<property name="toolTip">
@@ -40,44 +55,44 @@ Mod-11 (NCR) uses NCR weightings</string>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbMSICheck" >
<widget class="QComboBox" name="cmbMSICheck">
<property name="toolTip">
<string>Mod-10 uses Luhn algorithm
Mod-11 (IBM) uses IBM weightings
Mod-11 (NCR) uses NCR weightings</string>
</property>
<item>
<property name="text" >
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-10</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-10 &amp; Mod-10</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-11 (IBM)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-11 (IBM) &amp; Mod-10</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-11 (NCR)</string>
</property>
</item>
<item>
<property name="text" >
<property name="text">
<string>Mod-11 (NCR) &amp; Mod-10</string>
</property>
</item>
@@ -99,19 +114,6 @@ in Human Readable Text</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>