author | alwin <alwin> | 2004-04-04 23:02:29 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-04 23:02:29 (UTC) |
commit | 318c10ce368a6bf99f3412a2ff1ef0a9177c965a (patch) (side-by-side diff) | |
tree | a38485b18eb9a2cd4a8bb5bccde0f91df3c0521e /noncore/graphics/opie-eye/gui/iconview.cpp | |
parent | 9242abc186f0acc3df7020aaa219c435c2e00672 (diff) | |
download | opie-318c10ce368a6bf99f3412a2ff1ef0a9177c965a.zip opie-318c10ce368a6bf99f3412a2ff1ef0a9177c965a.tar.gz opie-318c10ce368a6bf99f3412a2ff1ef0a9177c965a.tar.bz2 |
ok, the first - realy first - working shot of a special
ImageScrollView. But the most important things are working now and
can be used.
Todo:
- check on a pda(!) doublebuffering (bitBlt) - may be it will paint faster
- implemented mouseEvents seems not working good, its just a first try.
Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index ac4b899..de2cdf0 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp @@ -7,6 +7,7 @@ #include <lib/imagecache.h> #include <gui/imageinfoui.h> +#include <gui/imagescrollview.h> #include <iface/dirview.h> #include <iface/dirlister.h> @@ -371,7 +372,12 @@ void PIconView::slotEnd() { } void PIconView::slotShowImage() { - + qDebug("image show"); + bool isDir = false; + QString name = currentFileName(isDir); + if (isDir) return; + ImageDlg dlg(name); + QPEApplication::execDialog(&dlg); } void PIconView::slotShowImage( const QString& ) { |