summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/iconview.cpp
authoralwin <alwin>2004-04-04 23:02:29 (UTC)
committer alwin <alwin>2004-04-04 23:02:29 (UTC)
commit318c10ce368a6bf99f3412a2ff1ef0a9177c965a (patch) (unidiff)
treea38485b18eb9a2cd4a8bb5bccde0f91df3c0521e /noncore/graphics/opie-eye/gui/iconview.cpp
parent9242abc186f0acc3df7020aaa219c435c2e00672 (diff)
downloadopie-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.cpp8
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
@@ -8,4 +8,5 @@
8#include <lib/imagecache.h> 8#include <lib/imagecache.h>
9#include <gui/imageinfoui.h> 9#include <gui/imageinfoui.h>
10#include <gui/imagescrollview.h>
10 11
11#include <iface/dirview.h> 12#include <iface/dirview.h>
@@ -372,5 +373,10 @@ void PIconView::slotEnd() {
372 373
373void PIconView::slotShowImage() { 374void PIconView::slotShowImage() {
374 375 qDebug("image show");
376 bool isDir = false;
377 QString name = currentFileName(isDir);
378 if (isDir) return;
379 ImageDlg dlg(name);
380 QPEApplication::execDialog(&dlg);
375} 381}
376void PIconView::slotShowImage( const QString& ) { 382void PIconView::slotShowImage( const QString& ) {