Barcode item.
More...
#include <bpsgraphicsitem.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
| BpsGraphicsBarcodeItem::BpsGraphicsBarcodeItem |
( |
QGraphicsItem * |
aParent = 0 | ) |
|
Constructor for the class.
- Parameters:
-
Member Function Documentation
- Returns:
- The current barcode type.
| QString BpsGraphicsBarcodeItem::codeText |
( |
| ) |
const |
- Returns:
- The text used for the barcode.
| QColor BpsGraphicsBarcodeItem::color |
( |
| ) |
const |
- Returns:
- The current bar color.
- Returns:
- The current direction.
| QFont BpsGraphicsBarcodeItem::font |
( |
| ) |
const |
- Returns:
- The current text font.
| QString BpsGraphicsBarcodeItem::humanText |
( |
| ) |
const |
- Returns:
- The text used for human readable representation.
| qreal BpsGraphicsBarcodeItem::module |
( |
| ) |
const |
- Returns:
- The current barcode module.
| QRectF BpsGraphicsBarcodeItem::rect |
( |
| ) |
const |
- Returns:
- The rectangle of the item.
| void BpsGraphicsBarcodeItem::setBarcodeType |
( |
Bps::Barcode |
aBarcodeType | ) |
|
Set a new barcode type.
- Parameters:
-
| [in] | aBarcodeType | The new barcode type to set. |
| void BpsGraphicsBarcodeItem::setColor |
( |
const QColor & |
aColor | ) |
|
Set a new bar color (default = Qt::black).
- Parameters:
-
| void BpsGraphicsBarcodeItem::setDirection |
( |
Bps::Direction |
aDirection | ) |
|
Set a new direction.
- Parameters:
-
| [in] | aDirection | The new direction to set. |
| void BpsGraphicsBarcodeItem::setFont |
( |
const QFont & |
aFont | ) |
|
Set a new font for the text line.
- Parameters:
-
| void BpsGraphicsBarcodeItem::setModule |
( |
qreal |
aModule | ) |
|
Define a new module.
- Parameters:
-
| [in] | aModule | The new module to set. |
| void BpsGraphicsBarcodeItem::setRect |
( |
const QRectF & |
aRect | ) |
|
Set a new rectangle for the item.
- Parameters:
-
| [in] | aRect | The new rectangle. |
| void BpsGraphicsBarcodeItem::setText |
( |
const QString & |
aText | ) |
|
Set a new barcode text.
- Parameters:
-
| [in] | aText | The new text to set. |
| void BpsGraphicsBarcodeItem::setTextprinted |
( |
bool |
aEnable | ) |
|
Enable and disable text line printing.
- Parameters:
-
| [in] | aEnable | True to enable, false to disable. |
| QString BpsGraphicsBarcodeItem::text |
( |
| ) |
const |
- Returns:
- The current text as set by application.
| bool BpsGraphicsBarcodeItem::textprinted |
( |
| ) |
const |
- Returns:
- True if the text line is printed.
The documentation for this class was generated from the following file: