agoestafin
29th January 2009, 09:11
how make Label barcode in Qt 4 Win 32 ?
give me sample please ?
vcp
29th January 2009, 10:09
Hi,
The easiest mode is use a font of characters.
For example:
QFont cbarFont("c39hrp24dhtt", 40, QFont::Normal);
QTextCharFormat font40CBar = cur.charFormat();
font40CBar.setFont(cbarFont);
(...)
cur.insertText("BOOK53.99", font40CBar);
(...)
Will create a 3x9 bar code.
Find in the internet some another one font with the bar code that you want.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.