/vp_plugins/print_monitor/previewpage.h

http://cupsfilter.googlecode.com/ · C Header · 51 lines · 36 code · 10 blank · 5 comment · 0 complexity · 73c5798ecd94cfad8875598c958ec52c MD5 · raw file

  1. #ifndef PREVIEWPAGE_H
  2. #define PREVIEWPAGE_H
  3. #include "viewport.h"
  4. #include <QtGui/QWidget>
  5. #include <QtGui/QPixmap>
  6. #include <QtGui/QSlider>
  7. #include <QtCore/QMap>
  8. QT_FORWARD_DECLARE_CLASS ( QLabel )
  9. QT_FORWARD_DECLARE_CLASS ( QCheckBox )
  10. class PreViewPage : public QWidget
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit PreViewPage(QWidget *parent = 0);
  15. void needRestart();
  16. bool enableNext();
  17. public slots:
  18. void showPicturesList(QStringList png_list);
  19. signals:
  20. void printCurrentDoc();
  21. private slots:
  22. /**
  23. * @fn void zoomIn();
  24. * @fn void zoomOut();
  25. * @short ????????? ???????? ?? 1 ??.
  26. */
  27. void zoomIn();
  28. void zoomOut();
  29. private:
  30. QCheckBox *checkPicturesList;
  31. ViewPort *leftFrame;
  32. ViewPort *rightFrame;
  33. QSize thumbSize;
  34. QLabel *topLabel;
  35. PixmapList imageFullItems;
  36. PixmapList imageThumbItems;
  37. PixmapDescList descImagesList;
  38. QStringList imageFilesList;
  39. QSlider *zoomSlider;
  40. };
  41. #endif // PREVIEWPAGE_H