PageRenderTime 21ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

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