#include <posprinter.h>
Lista de todos los miembros.
Tipos públicos |
enum | PaperWidth { P57_5MM,
P69_5MM,
P76MM,
NPaperWidth = P76MM
} |
Métodos públicos |
| FLPosPrinter () |
| ~FLPosPrinter () |
PaperWidth | paperWidth () const |
virtual void | setPaperWidth (PaperWidth) |
const QString & | printerName () const |
void | setPrinterName (const QString &pName) |
void | cleanup () |
void | flush () |
void | send (const QString &str, const int col=-1, const int row=-1) |
Métodos protegidos |
bool | cmd (int, QPainter *, QPDevCmdParam *) |
int | metric (int) const |
int | paperWidthToCols () |
void | sendStr (const char c, const int col=-1, const int row=-1) |
void | sendEsc (const QString &e, const int col=-1, const int row=-1) |
void | initFile () |
void | initStrBuffer () |
void | initEscBuffer () |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
P57_5MM |
|
P69_5MM |
|
P76MM |
|
NPaperWidth |
|
Documentación del constructor y destructor
FLPosPrinter::FLPosPrinter |
( |
| ) |
|
FLPosPrinter::~FLPosPrinter |
( |
| ) |
|
Documentación de las funciones miembro
void FLPosPrinter::cleanup |
( |
| ) |
|
Internal virtual function that interprets drawing commands from the painter.
Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example QPicture).
Internal virtual function that interprets drawing commands from the painter.
Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, QPicture).
Reimplementado de QPaintDevice.
void FLPosPrinter::flush |
( |
| ) |
|
void FLPosPrinter::initEscBuffer |
( |
| ) |
[protected] |
void FLPosPrinter::initFile |
( |
| ) |
[protected] |
void FLPosPrinter::initStrBuffer |
( |
| ) |
[protected] |
int FLPosPrinter::metric |
( |
int |
| ) |
const [protected, virtual] |
PaperWidth FLPosPrinter::paperWidth |
( |
| ) |
const [inline] |
int FLPosPrinter::paperWidthToCols |
( |
| ) |
[protected] |
const QString& FLPosPrinter::printerName |
( |
| ) |
const [inline] |
void FLPosPrinter::send |
( |
const QString & |
str, |
|
|
const int |
col = -1 , |
|
|
const int |
row = -1 |
|
) |
| |
void FLPosPrinter::sendEsc |
( |
const QString & |
e, |
|
|
const int |
col = -1 , |
|
|
const int |
row = -1 |
|
) |
| [protected] |
void FLPosPrinter::sendStr |
( |
const char |
c, |
|
|
const int |
col = -1 , |
|
|
const int |
row = -1 |
|
) |
| [protected] |
void FLPosPrinter::setPaperWidth |
( |
PaperWidth |
newPaperWidth | ) |
[virtual] |
void FLPosPrinter::setPrinterName |
( |
const QString & |
pName | ) |
|
La documentación para esta clase fue generada a partir de los siguientes ficheros: