author | zecke <zecke> | 2004-03-28 21:18:13 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-28 21:18:13 (UTC) |
commit | 6fff64e27b026f793141d2b673c862f92172d501 (patch) (unidiff) | |
tree | 142c6fc3607bcec2c12cdc056b1e14b6f4db5b40 | |
parent | 05a5f3a0cfbb5f882d03bf1c7700cdc608b97a2f (diff) | |
download | opie-6fff64e27b026f793141d2b673c862f92172d501.zip opie-6fff64e27b026f793141d2b673c862f92172d501.tar.gz opie-6fff64e27b026f793141d2b673c862f92172d501.tar.bz2 |
ReEnable the ImageInfo as Text even if it is wrong.. at least we see it :)
phunk_view.pro add quick-app to the config
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 3 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/phunk_view.pro | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index aeaa3c6..74a8d0f 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -81,16 +81,17 @@ namespace { | |||
81 | } | 81 | } |
82 | return m_pix ? m_pix : _unkPix; | 82 | return m_pix ? m_pix : _unkPix; |
83 | } | 83 | } |
84 | } | 84 | } |
85 | inline void IconViewItem::setText( const QString& str ) { | 85 | inline void IconViewItem::setText( const QString& str ) { |
86 | QString text = QIconViewItem::text()+"\n"+str; | 86 | QString text = QIconViewItem::text()+"\n"+str; |
87 | m_noInfo = true; | 87 | m_noInfo = true; |
88 | QIconViewItem::setText( text ); | 88 | QIconViewItem::setText( text ); |
89 | reCalc(); | ||
89 | } | 90 | } |
90 | 91 | ||
91 | inline void IconViewItem::reCalc() | 92 | inline void IconViewItem::reCalc() |
92 | { | 93 | { |
93 | calcRect(); | 94 | calcRect(); |
94 | } | 95 | } |
95 | } | 96 | } |
96 | 97 | ||
@@ -261,17 +262,17 @@ void PIconView::slotClicked(QIconViewItem* _it) { | |||
261 | ; | 262 | ; |
262 | } | 263 | } |
263 | 264 | ||
264 | void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { | 265 | void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { |
265 | if ( g_stringInf.contains( _path ) ) { | 266 | if ( g_stringInf.contains( _path ) ) { |
266 | IconViewItem* item = g_stringInf[_path]; | 267 | IconViewItem* item = g_stringInf[_path]; |
267 | /* if set the view shows nonsens! | 268 | /* if set the view shows nonsens! |
268 | I dont know how to fix the format of displayed text :(*/ | 269 | I dont know how to fix the format of displayed text :(*/ |
269 | //item->setText( str ); | 270 | item->setText( str ); |
270 | item->repaint(); | 271 | item->repaint(); |
271 | g_stringInf.remove( _path ); | 272 | g_stringInf.remove( _path ); |
272 | } | 273 | } |
273 | } | 274 | } |
274 | void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { | 275 | void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { |
275 | if ( g_stringPix.contains( _path ) ) { | 276 | if ( g_stringPix.contains( _path ) ) { |
276 | IconViewItem* item = g_stringPix[_path]; | 277 | IconViewItem* item = g_stringPix[_path]; |
277 | 278 | ||
diff --git a/noncore/graphics/opie-eye/phunk_view.pro b/noncore/graphics/opie-eye/phunk_view.pro index 0bb5679..3547af0 100644 --- a/noncore/graphics/opie-eye/phunk_view.pro +++ b/noncore/graphics/opie-eye/phunk_view.pro | |||
@@ -1,9 +1,9 @@ | |||
1 | CONFIG += qt warn_on #quick-app | 1 | CONFIG += qt warn_on quick-app |
2 | DESTDIR = $(OPIEDIR)/bin | 2 | DESTDIR = $(OPIEDIR)/bin |
3 | TEMPLATE = app | 3 | TEMPLATE = app |
4 | TARGET = opie-eye | 4 | TARGET = opie-eye |
5 | # the name of the resulting object | 5 | # the name of the resulting object |
6 | 6 | ||
7 | HEADERS = gui/iconview.h gui/filesystem.h gui/mainwindow.h \ | 7 | HEADERS = gui/iconview.h gui/filesystem.h gui/mainwindow.h \ |
8 | lib/imagecache.h impl/dir/dir_dirview.h \ | 8 | lib/imagecache.h impl/dir/dir_dirview.h \ |
9 | iface/dirview.h iface/dirlister.h iface/ifaceinfo.h \ | 9 | iface/dirview.h iface/dirlister.h iface/ifaceinfo.h \ |