| 123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef BOXTEMLATEONE_H
- #define BOXTEMLATEONE_H
- #include "baseboxprinter.h"
- class BoxTemlateOne : public BaseBoxPrinter
- {
- public:
- BoxTemlateOne();
- virtual QImage doPrinter(QSharedPointer<BoxInfo> box);
- virtual QSize printSize();
- private:
- const int MAXWIDTH=100;
- const int MAXHEIGHT=80;
- int FONTHEIGHT=10;
- };
- class PackTemlateOne : public BasePackinfoPrinter
- {
- public:
- PackTemlateOne();
- virtual QImage doPrinter(QSharedPointer<PackInfo> pack);
- virtual QSize printSize();
- private:
- private:
- const int MAXWIDTH=100;
- const int MAXHEIGHT=80;
- int FONTHEIGHT=10;
- };
- #endif // BOXTEMLATEONE_H
|