From cc62769d2c4123dbe7ad3c99b55847c6fdf5bf09 Mon Sep 17 00:00:00 2001 From: taipanromania Date: Mon, 3 Nov 2008 13:32:12 +0000 Subject: [PATCH] update the frontend --- frontend_qt4/mainWindow.ui | 6 +++--- frontend_qt4/mainwindow.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend_qt4/mainWindow.ui b/frontend_qt4/mainWindow.ui index 3b412b17..64c46530 100644 --- a/frontend_qt4/mainWindow.ui +++ b/frontend_qt4/mainWindow.ui @@ -270,7 +270,7 @@ - Security level: + Security level/mode: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -351,8 +351,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:10pt;">123456</p></body></html> +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">123456</p></body></html> false diff --git a/frontend_qt4/mainwindow.cpp b/frontend_qt4/mainwindow.cpp index b697c3d2..1c3eaaf0 100644 --- a/frontend_qt4/mainwindow.cpp +++ b/frontend_qt4/mainwindow.cpp @@ -107,7 +107,7 @@ void MainWindow::on_generate_clicked() m_bc.bc.setExcode39ExtraSymbology(code39->currentIndex()); break; } - m_bc.bc.setBorderType((Zint::QZint::BorderType)btype->currentIndex()); + m_bc.bc.setBorderType((Zint::QZint::BorderType)(btype->currentIndex()*2)); m_bc.bc.setBorderWidth(bwidth->value()); m_bc.bc.setHeight(heightb->value()); m_bc.bc.setWidth(widthb->value());