mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 10:45:12 -04:00
Add escape sequence support to GUI
Also ensures that CR/LF formatted files remain unaltered when importing Fixes #72 reported by Siniša Sudec
This commit is contained in:
parent
0314ca65a8
commit
29dbb49325
3 changed files with 25 additions and 7 deletions
|
@ -37,7 +37,7 @@ namespace Zint {
|
|||
m_bgColor = Qt::white;
|
||||
m_zintSymbol = 0;
|
||||
m_error = 0;
|
||||
m_input_mode = UNICODE_MODE;
|
||||
m_input_mode = UNICODE_MODE + ESCAPE_MODE;
|
||||
m_scale = 1.0;
|
||||
m_option_3 = 0;
|
||||
m_hidetext = 0;
|
||||
|
@ -65,7 +65,7 @@ namespace Zint {
|
|||
m_zintSymbol->whitespace_width = m_whitespace;
|
||||
m_zintSymbol->border_width = m_borderWidth;
|
||||
m_zintSymbol->option_1 = m_securityLevel;
|
||||
m_zintSymbol->input_mode = m_input_mode;
|
||||
m_zintSymbol->input_mode = m_input_mode + ESCAPE_MODE;
|
||||
m_zintSymbol->option_2 = m_width;
|
||||
m_zintSymbol->dot_size = m_dot_size;
|
||||
if (m_hidetext) {
|
||||
|
@ -252,7 +252,7 @@ namespace Zint {
|
|||
m_zintSymbol->whitespace_width = m_whitespace;
|
||||
m_zintSymbol->border_width = m_borderWidth;
|
||||
m_zintSymbol->option_1 = m_securityLevel;
|
||||
m_zintSymbol->input_mode = m_input_mode;
|
||||
m_zintSymbol->input_mode = m_input_mode + ESCAPE_MODE;
|
||||
m_zintSymbol->option_2 = m_width;
|
||||
m_zintSymbol->dot_size = m_dot_size;
|
||||
if (m_hidetext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue