papereditpainter.h 345 B

123456789101112131415161718192021
  1. #ifndef CPAPEREDITPAINTER_H
  2. #define CPAPEREDITPAINTER_H
  3. #include <QWidget>
  4. class CPaperEditPainter : public QWidget
  5. {
  6. Q_OBJECT
  7. public:
  8. CPaperEditPainter(QWidget* parent = 0);
  9. ~CPaperEditPainter();
  10. QImage* m_bgimage;
  11. QPoint* m_offset;
  12. float* m_room;
  13. private:
  14. virtual void paintEvent(QPaintEvent *);
  15. };
  16. #endif // CPAPEREDITPAINTER_H