13 #ifndef MAGICSMOKE_TICKETRENDER_H
14 #define MAGICSMOKE_TICKETRENDER_H
40 virtual QString getVariable(QString)
const=0;
53 virtual bool render(
const MLabel&label,QPaintDevice&pdev,QPainter*painter=0,QPointF offset=QPointF(),
bool usePixmap=
false);
56 virtual QSizeF labelSize(
const QPaintDevice&);
59 virtual QSizeF labelSizeMM();
73 bool render(
const MOVoucher&label,QPaintDevice&pdev,QPainter*painter=0,QPointF offset=QPointF(),
bool usePixmap=
false);
81 bool render(
const MOTicket&label,QPaintDevice&pdev,QPainter*painter=0,QPointF offset=QPointF(),
bool usePixmap=
false);
#define MAGICSMOKE_COMMON_EXPORT
Definition: commonexport.h:7
Definition: ticketrender.cpp:38
this class wraps a single template
Definition: templates.h:25
base class for all label rendering classes
Definition: ticketrender.h:44
base class that describes labels
Definition: ticketrender.h:31
convenience class: renders vouchers directly
Definition: ticketrender.h:77
convenience class: renders vouchers directly
Definition: ticketrender.h:69
virtual bool render(const MLabel &label, QPaintDevice &pdev, QPainter *painter=0, QPointF offset=QPointF(), bool usePixmap=false)
renders the ticket; returns whether the rendering was successful
Definition: ticketrender.cpp:224