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

ZPLUtils Class Reference

#include <zplutils.h>

Inheritance diagram for ZPLUtils:


List of all members.

Detailed Description

This class provides functions to convert KBarcode label data into Zebra Printer Language.

Dominik Seichter

Definition at line 76 of file zplutils.h.

Public Member Functions

void close ()
void setBarcode (int x, int y, int h, const QString &value, const QString &type)
void setImage (int x, int y, const QImage *image)
void setRect (int x, int y, const QSize size, bool circle, int width)
void setTextField (int x, int y, const QString &text)
 ZPLUtils (QTextStream *stream, QPaintDevice *source)

Protected Member Functions

int convertX (int x)
int convertY (int y)
void setResolution (const int r)

Protected Attributes

QPaintDevice * src
QTextStream * t

Static Protected Attributes

static QMap< QString, QString > encodings

Private Member Functions

void fillEncodings ()
void setEllipse (const QSize &size, int thick)
void setFieldData (const QString &data)
void setFieldOrigin (int x, int y)
void setFont (QString font=QString::null)
void setRectangle (const QSize &size, int thick)

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

Generated by  Doxygen 1.6.0   Back to index