mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-20 10:15:10 -04:00
DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages
This commit is contained in:
parent
dfb9345b75
commit
9b63e2ae22
7 changed files with 586 additions and 69 deletions
|
@ -1254,7 +1254,10 @@ void MainWindow::update_preview()
|
|||
|
||||
case BARCODE_DOTCODE:
|
||||
m_bc.bc.setSymbol(BARCODE_DOTCODE);
|
||||
m_bc.bc.setOption2(m_optionWidget->findChild<QComboBox*>("cmbDotCols")->currentIndex());
|
||||
item_val = m_optionWidget->findChild<QComboBox*>("cmbDotCols")->currentIndex();
|
||||
if (item_val) {
|
||||
m_bc.bc.setOption2(item_val + 4); // Cols 1-4 not listed
|
||||
}
|
||||
item_val = m_optionWidget->findChild<QComboBox*>("cmbDotMask")->currentIndex();
|
||||
if (item_val) {
|
||||
m_bc.bc.setOption3((item_val << 8) | m_bc.bc.option3());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue