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