mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
- Add special symbology-specific escape sequences (Code 128 only)
for manual Code Set switching via `input_mode` flag `EXTRA_ESCAPE_MODE` (CLI `--extraesc`) (ticket #204) - GUI: disable "Reset" colour if default; add "Unset" to Printing Scale dialog (allows unsetting of X-dim/resolution settings without having to zap) - library: guard against out-of-bounds rows (negative) - test suite: fix some clang-tidy warnings; slight coverage improvements
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Zint Barcode Generator - the open source barcode generator
|
||||
Copyright (C) 2022 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (C) 2022-2023 Robin Stuart <rstuart114@gmail.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -32,7 +32,7 @@ private:
|
||||
BarcodeItem *m_bc;
|
||||
|
||||
public:
|
||||
ScaleWindow(BarcodeItem *bc, struct Zint::QZintXdimDpVars *vars);
|
||||
ScaleWindow(BarcodeItem *bc, struct Zint::QZintXdimDpVars *vars, double originalScale);
|
||||
~ScaleWindow();
|
||||
|
||||
bool Valid;
|
||||
@ -45,6 +45,7 @@ signals:
|
||||
public slots:
|
||||
void size_msg_ui_set();
|
||||
private slots:
|
||||
void unset_scale();
|
||||
void okay();
|
||||
void update_scale();
|
||||
void x_dim_units_change();
|
||||
@ -57,6 +58,8 @@ private:
|
||||
float get_dpmm() const;
|
||||
const char *getFileType() const;
|
||||
double update_vars();
|
||||
double m_originalScale;
|
||||
bool m_unset;
|
||||
};
|
||||
|
||||
/* vim: set ts=4 sw=4 et : */
|
||||
|
Reference in New Issue
Block a user