Diffstat (limited to 'noncore/graphics/drawpad/thumbnailview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/thumbnailview.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/thumbnailview.h b/noncore/graphics/drawpad/thumbnailview.h new file mode 100644 index 0000000..c74730d --- a/dev/null +++ b/noncore/graphics/drawpad/thumbnailview.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * DrawPad - a drawing program for Opie Environment * | ||
4 | * * | ||
5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * | ||
6 | * * | ||
7 | * This program is free software; you can redistribute it and/or modify * | ||
8 | * it under the terms of the GNU General Public License as published by * | ||
9 | * the Free Software Foundation; either version 2 of the License, or * | ||
10 | * (at your option) any later version. * | ||
11 | * * | ||
12 | ***************************************************************************/ | ||
13 | |||
14 | #ifndef THUMBNAILVIEW_H | ||
15 | #define THUMBNAILVIEW_H | ||
16 | |||
17 | #include <qdialog.h> | ||
18 | |||
19 | #include <qlist.h> | ||
20 | |||
21 | class QListView; | ||
22 | |||
23 | class Page; | ||
24 | |||
25 | class ThumbnailView : public QDialog | ||
26 | { | ||
27 | Q_OBJECT | ||
28 | |||
29 | public: | ||
30 | ThumbnailView(QList<Page> pages, QWidget* parent = 0, const char* name = 0); | ||
31 | ~ThumbnailView(); | ||
32 | |||
33 | protected: | ||
34 | void resizeEvent(QResizeEvent* e); | ||
35 | |||
36 | private: | ||
37 | QListView* m_pListView; | ||
38 | }; | ||
39 | |||
40 | #endif // THUMBNAILVIEW_H | ||