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 | |||
@@ -7,4 +7,5 @@ | |||
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> |
@@ -19,5 +20,5 @@ | |||
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> |
@@ -377,6 +378,12 @@ void PIconView::slotShowImage( const QString& ) { | |||
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 | ||