how make Label barcode in Qt 4 Win 32 ?
give me sample please ?
how make Label barcode in Qt 4 Win 32 ?
give me sample please ?
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.
thank's
i'l try find
Bookmarks