diff --git a/frontend_qt4/grpDBExtend.ui b/frontend_qt4/grpDBExtend.ui
new file mode 100644
index 00000000..77d17c48
--- /dev/null
+++ b/frontend_qt4/grpDBExtend.ui
@@ -0,0 +1,105 @@
+
+
+ grpDBExtend
+
+
+
+ 0
+ 0
+ 310
+ 78
+
+
+
+ Form
+
+
+ -
+
+
-
+
+
+ &Number of Columns:
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+ cmbCols
+
+
+
+ -
+
+
-
+
+ Automatic
+
+
+ -
+
+ 1
+
+
+ -
+
+ 2
+
+
+ -
+
+ 3
+
+
+ -
+
+ 4
+
+
+ -
+
+ 5
+
+
+ -
+
+ 6
+
+
+ -
+
+ 7
+
+
+ -
+
+ 8
+
+
+ -
+
+ 9
+
+
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 30
+
+
+
+
+
+
+
+
+
diff --git a/frontend_qt4/mainwindow.cpp b/frontend_qt4/mainwindow.cpp
index 5383f404..da978fca 100644
--- a/frontend_qt4/mainwindow.cpp
+++ b/frontend_qt4/mainwindow.cpp
@@ -469,6 +469,17 @@ void MainWindow::change_options()
tabMain->insertTab(1,m_optionWidget,tr("Code 49"));
connect(m_optionWidget->findChild("radC49GS1"), SIGNAL(toggled( bool )), SLOT(update_preview()));
}
+
+ if(metaObject()->enumerator(0).value(bstyle->currentIndex()) == BARCODE_RSS_EXPSTACK)
+ {
+ QFile file(":/grpDBExtend.ui");
+ if (!file.open(QIODevice::ReadOnly))
+ return;
+ m_optionWidget=uiload.load(&file);
+ file.close();
+ tabMain->insertTab(1,m_optionWidget,tr("DataBar Stacked"));
+ connect(m_optionWidget->findChild("cmbCols"), SIGNAL(currentIndexChanged ( int )), SLOT(update_preview()));
+ }
switch(metaObject()->enumerator(0).value(bstyle->currentIndex()))
{
@@ -650,6 +661,9 @@ void MainWindow::update_preview()
m_bc.bc.setSymbol(BARCODE_RSS_EXPSTACK_CC);
else
m_bc.bc.setSymbol(BARCODE_RSS_EXPSTACK);
+
+ if(m_optionWidget->findChild("cmbCols")->currentIndex() != 0)
+ m_bc.bc.setWidth(m_optionWidget->findChild("cmbCols")->currentIndex());
break;
case BARCODE_PDF417:
diff --git a/frontend_qt4/resources.qrc b/frontend_qt4/resources.qrc
index 20f0bfad..6f456455 100644
--- a/frontend_qt4/resources.qrc
+++ b/frontend_qt4/resources.qrc
@@ -21,6 +21,7 @@
grpCodeOne.ui
grpC49.ui
grpGrid.ui
+ grpDBExtend.ui
images/zint_white.png