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) (side-by-side diff)
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) (show 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
@@ -4,12 +4,13 @@
*/
#include "iconview.h"
#include <lib/imagecache.h>
#include <gui/imageinfoui.h>
+#include <gui/imagescrollview.h>
#include <iface/dirview.h>
#include <iface/dirlister.h>
#include <opie2/oconfig.h>
#include <opie2/okeyconfigwidget.h>
@@ -368,13 +369,18 @@ void PIconView::slotEnd() {
m_view->arrangeItemsInGrid( );
m_view->viewport()->setUpdatesEnabled( true );
m_updatet = false;
}
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& ) {
}
void PIconView::slotImageInfo() {
qDebug("image info");