Logo Search packages:      
Sourcecode: kbarcode version File versions  Download package

CanvasBarcode Class Reference

#include <mycanvasitem.h>

Inheritance diagram for CanvasBarcode:


List of all members.

Detailed Description

A QCanvasItem representing a barcode in the LabelEditor.

Definition at line 107 of file mycanvasitem.h.


void colorChanged ()

Public Member Functions

 CanvasBarcode (QCanvas *c, barcodeData *bcode)
 CanvasBarcode (QCanvas *c)
QColor color () const
barcodeData data () const
void draw (QPainter &p)
QPixmap getPixmap () const
double getRotation () const
QPixmap getTransformedPixmap ()
const QPixmap pixmap ()
void pMove (QPoint p)
const QPixmap printerPixmap (QPaintDevice *device)
virtual void redraw ()
void redrawBarcode ()
int rtti () const
QString sequenceValue ()
void setAutoSize (bool b)
void setColor (const QColor &c)
void setData (barcodeData *d)
void setIndex (int i)
void setPicture (QPicture *p, int w, int h)
void setPixmap (QPixmap *p)
void setRot (double r)
void updateBarcode ()
bool validBarcode ()

Static Public Member Functions

static void fillDefault (barcodeData *data)
static const QString getMaxLength (const QString &name)
static bool hasFeature (const QString &type, unsigned int feature)
static bool haveBarcode ()
static bool haveGNUBarcode ()
static bool havePDFBarcode ()
static bool haveTBarcode ()
static void setHaveBarcode ()

Protected Attributes

bool m_autosize
QColor m_color
QPicture picture
QPixmap pix
double rot

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index