/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
- #ifndef PREVIEWPAGE_H
- #define PREVIEWPAGE_H
-
- #include "viewport.h"
-
- #include <QtGui/QWidget>
- #include <QtGui/QPixmap>
- #include <QtGui/QSlider>
-
- #include <QtCore/QMap>
-
- QT_FORWARD_DECLARE_CLASS ( QLabel )
- QT_FORWARD_DECLARE_CLASS ( QCheckBox )
-
- class PreViewPage : public QWidget
- {
- Q_OBJECT
- public:
- explicit PreViewPage(QWidget *parent = 0);
- void needRestart();
-
- bool enableNext();
-
- public slots:
- void showPicturesList(QStringList png_list);
- signals:
- void printCurrentDoc();
- private slots:
- /**
- * @fn void zoomIn();
- * @fn void zoomOut();
- * @short ????????? ???????? ?? 1 ??.
- */
- void zoomIn();
- void zoomOut();
-
- private:
- QCheckBox *checkPicturesList;
- ViewPort *leftFrame;
- ViewPort *rightFrame;
- QSize thumbSize;
- QLabel *topLabel;
- PixmapList imageFullItems;
- PixmapList imageThumbItems;
- PixmapDescList descImagesList;
- QStringList imageFilesList;
-
- QSlider *zoomSlider;
- };
-
- #endif // PREVIEWPAGE_H