From d3171b2c3120e8d0e7e67dddae7791346a0a49c4 Mon Sep 17 00:00:00 2001 From: hooper114 Date: Tue, 28 Apr 2009 07:22:46 +0000 Subject: [PATCH] Preview scales to show whole image. --- backend_qt4/qzint.cpp | 4 ++-- frontend_qt4/mainWindow.ui | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/backend_qt4/qzint.cpp b/backend_qt4/qzint.cpp index bb9a620a..a8263992 100644 --- a/backend_qt4/qzint.cpp +++ b/backend_qt4/qzint.cpp @@ -228,7 +228,7 @@ void QZint::render(QPainter & painter, const QRectF & paintRect, AspectRatioMode qreal gheight=m_zintSymbol->height; if (m_zintSymbol->symbology == BARCODE_MAXICODE) { - gheight*=(maxi_width+1); + gheight*=(maxi_width); gwidth*=(maxi_width+1); } @@ -246,7 +246,7 @@ void QZint::render(QPainter & painter, const QRectF & paintRect, AspectRatioMode break; case KeepAspectRatio: - if (paintRect.width()-gwidth - txtComposite - lblComposite - layoutWidget - grpMaxiCode @@ -287,6 +283,9 @@ p, li { white-space: pre-wrap; } + + false + 9 @@ -300,6 +299,9 @@ p, li { white-space: pre-wrap; } + + false + 107 @@ -308,6 +310,9 @@ p, li { white-space: pre-wrap; } 22 + + Primary Data Here! +