author | alwin <alwin> | 2004-04-04 02:44:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-04 02:44:21 (UTC) |
commit | df0b892f8ec86ae6d21351a8ce1677d904dcdb2a (patch) (unidiff) | |
tree | 57dfd32247fe39ff480cc5e174675150112ed46f /noncore/graphics/opie-eye/gui/iconview.cpp | |
parent | 354ad5e87ce582ee45b52cd6019bb94348958584 (diff) | |
download | opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.zip opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.tar.gz opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.tar.bz2 |
first shot of an image info widget (this moment encapsulated just in a test
dlg which will removed later)
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.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index f415d39..ac4b899 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -5,8 +5,9 @@ | |||
5 | 5 | ||
6 | #include "iconview.h" | 6 | #include "iconview.h" |
7 | 7 | ||
8 | #include <lib/imagecache.h> | 8 | #include <lib/imagecache.h> |
9 | #include <gui/imageinfoui.h> | ||
9 | 10 | ||
10 | #include <iface/dirview.h> | 11 | #include <iface/dirview.h> |
11 | #include <iface/dirlister.h> | 12 | #include <iface/dirlister.h> |
12 | 13 | ||
@@ -17,9 +18,9 @@ | |||
17 | #include <qpe/resource.h> | 18 | #include <qpe/resource.h> |
18 | #include <qpe/qpemessagebox.h> | 19 | #include <qpe/qpemessagebox.h> |
19 | #include <qpe/ir.h> | 20 | #include <qpe/ir.h> |
20 | #include <qpe/qcopenvelope_qws.h> | 21 | #include <qpe/qcopenvelope_qws.h> |
21 | 22 | #include <qpe/qpeapplication.h> | |
22 | 23 | ||
23 | #include <qiconview.h> | 24 | #include <qiconview.h> |
24 | #include <qlabel.h> | 25 | #include <qlabel.h> |
25 | #include <qhbox.h> | 26 | #include <qhbox.h> |
@@ -375,9 +376,15 @@ void PIconView::slotShowImage() { | |||
375 | void PIconView::slotShowImage( const QString& ) { | 376 | void PIconView::slotShowImage( const QString& ) { |
376 | 377 | ||
377 | } | 378 | } |
378 | void PIconView::slotImageInfo() { | 379 | void PIconView::slotImageInfo() { |
379 | 380 | qDebug("image info"); | |
381 | bool isDir = false; | ||
382 | QString name = currentFileName(isDir); | ||
383 | if (isDir) return; | ||
384 | infoDlg dlg(name); | ||
385 | QPEApplication::execDialog(&dlg); | ||
380 | } | 386 | } |
387 | |||
381 | void PIconView::slotImageInfo( const QString& ) { | 388 | void PIconView::slotImageInfo( const QString& ) { |
382 | 389 | ||
383 | } | 390 | } |