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

CanvasText Class Reference

#include <mycanvasitem.h>

Inheritance diagram for CanvasText:

TokenProvider

List of all members.


Detailed Description

A multi line rich text object in the LabelEditor

Definition at line 125 of file mycanvasitem.h.


Signals

void colorChanged ()

Public Member Functions

const QString articleNo () const
const QString barcodeNo () const
 CanvasText (const QString &t, QCanvas *c, LabelEditor *editor)
 CanvasText (QCanvas *c, LabelEditor *editor)
QColor color () const
void draw (QPainter &p)
QPixmap getPixmap () const
double getRotation () const
QPixmap getTransformedPixmap ()
int index () const
unsigned int page () const
QPaintDevice * paintDevice () const
QString parse (const QString &text)
void pMove (QPoint p)
void redraw ()
int rtti () const
void setArticleNo (const QString &t)
void setAutoSize (bool b)
void setBarcodeNo (const QString &t)
void setColor (const QColor &c)
void setCustomerNo (const QString &t)
void setEncodingTypeName (const QString &t)
void setGroup (const QString &t)
void setIndex (unsigned int index)
void setLabelName (const QString &t)
void setPage (unsigned int page)
void setPicture (QPicture *p, int w, int h)
void setPixmap (QPixmap *p)
void setRot (double r)
void setSerial (const QString &t, unsigned int inc)
void setText (const QString &t)
const QString text () const
bool update () const
void updateDone ()

Protected Attributes

bool m_autosize
QColor m_color
LabelEditorm_editor
QPicture picture
QPixmap pix
double rot
QString stext

Private Member Functions

void draw ()
void init ()

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

Generated by  Doxygen 1.6.0   Back to index