Diffstat (limited to 'noncore/graphics/opie-eye/gui/imagescrollview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imagescrollview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imagescrollview.h b/noncore/graphics/opie-eye/gui/imagescrollview.h index 17e2f5f..eb91dbd 100644 --- a/noncore/graphics/opie-eye/gui/imagescrollview.h +++ b/noncore/graphics/opie-eye/gui/imagescrollview.h | |||
@@ -1,11 +1,12 @@ | |||
1 | #ifndef _IMAGE_SCROLL_VIEW_H | 1 | #ifndef _IMAGE_SCROLL_VIEW_H |
2 | #define _IMAGE_SCROLL_VIEW_H | 2 | #define _IMAGE_SCROLL_VIEW_H |
3 | 3 | ||
4 | #include <qscrollview.h> | 4 | #include <qscrollview.h> |
5 | #include <qimage.h> | 5 | #include <qimage.h> |
6 | #include <qpixmap.h> | ||
6 | #include <qstring.h> | 7 | #include <qstring.h> |
7 | #include <qdialog.h> | 8 | #include <qdialog.h> |
8 | 9 | ||
9 | class QPainter; | 10 | class QPainter; |
10 | 11 | ||
11 | class ImageScrollView:public QScrollView | 12 | class ImageScrollView:public QScrollView |
@@ -37,12 +38,13 @@ signals: | |||
37 | protected: | 38 | protected: |
38 | virtual void drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph ); | 39 | virtual void drawContents ( QPainter * p, int clipx, int clipy, int clipw, int cliph ); |
39 | void init(); | 40 | void init(); |
40 | 41 | ||
41 | QImage _image_data; | 42 | QImage _image_data; |
42 | QImage _original_data; | 43 | QImage _original_data; |
44 | QPixmap _pdata; | ||
43 | 45 | ||
44 | int _mouseStartPosX,_mouseStartPosY; | 46 | int _mouseStartPosX,_mouseStartPosY; |
45 | 47 | ||
46 | bool scale_to_fit; | 48 | bool scale_to_fit; |
47 | bool rotate_to_fit; | 49 | bool rotate_to_fit; |
48 | bool first_resize_done; | 50 | bool first_resize_done; |