author | zecke <zecke> | 2004-03-22 23:32:41 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-22 23:32:41 (UTC) |
commit | 428b687982966dc2efabaf6dbcc55ad0ea30aa10 (patch) (unidiff) | |
tree | 86da20abd2e4b97a59dc32e17996bde5ee74cc91 /noncore/graphics/opie-eye/gui/iconview.h | |
parent | 7ce623c6351646ce738a81e103632d73c5454ecc (diff) | |
download | opie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.zip opie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.tar.gz opie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.tar.bz2 |
Initial Check in of the Eye Of Zilla. This ImageViewer features
Image Infos, EXIF, Jpeg,Png,Gif support. It supports scaled loading
of Jpegs. an smart image cache....
GUI needs some work and we need to find a bug in QCOP as well.
TODO:
Add Image Service for example Mailer
Add ImageCanvas/Zoomer/Display
Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.h b/noncore/graphics/opie-eye/gui/iconview.h new file mode 100644 index 0000000..439833a --- a/dev/null +++ b/noncore/graphics/opie-eye/gui/iconview.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | * GPLv2 zecke@handhelds.org | ||
3 | * No WArranty... | ||
4 | */ | ||
5 | |||
6 | #ifndef PHUNK_ICON_VIEW_H | ||
7 | #define PHUNK_ICON_VIEW_H | ||
8 | |||
9 | #include <qvbox.h> | ||
10 | |||
11 | #include <qpe/config.h> | ||
12 | |||
13 | class QIconView; | ||
14 | class QIconViewItem; | ||
15 | class QComboBox; | ||
16 | class PIconViewItem; | ||
17 | class PDirLister; | ||
18 | class Ir; | ||
19 | class PIconView : public QVBox { | ||
20 | Q_OBJECT | ||
21 | friend class PIconViewItem; | ||
22 | public: | ||
23 | PIconView( QWidget* wid, Config *cfg ); | ||
24 | ~PIconView(); | ||
25 | void resetView(); | ||
26 | |||
27 | private: | ||
28 | QString currentFileName(bool &isDir)const; | ||
29 | void loadViews(); | ||
30 | |||
31 | private slots: | ||
32 | void slotDirUp(); | ||
33 | void slotChangeDir(const QString&); | ||
34 | void slotTrash(); | ||
35 | void slotViewChanged( int ); | ||
36 | void slotReloadDir(); | ||
37 | void slotRename(); | ||
38 | void slotBeam(); | ||
39 | void slotBeamDone( Ir* ); | ||
40 | |||
41 | void slotStart(); | ||
42 | void slotEnd(); | ||
43 | |||
44 | /* for performance reasons make it inline in the future */ | ||
45 | void addFolders( const QStringList& ); | ||
46 | void addFiles( const QStringList& ); | ||
47 | void slotClicked(QIconViewItem* ); | ||
48 | |||
49 | /**/ | ||
50 | void slotThumbInfo(const QString&, const QString&); | ||
51 | void slotThumbNail(const QString&, const QPixmap&); | ||
52 | private: | ||
53 | Config *m_cfg; | ||
54 | QComboBox* m_views; | ||
55 | QIconView* m_view; | ||
56 | QString m_path; | ||
57 | }; | ||
58 | |||
59 | #endif | ||