From fad3886132f81ff5f1f84c09e9a0b3048d91296d Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 04 Apr 2004 21:38:46 +0000 Subject: Update todo use owarn right --- (limited to 'noncore/graphics/opie-eye') diff --git a/noncore/graphics/opie-eye/TODO b/noncore/graphics/opie-eye/TODO index e31cb73..8dbf35e 100644 --- a/noncore/graphics/opie-eye/TODO +++ b/noncore/graphics/opie-eye/TODO @@ -2,7 +2,7 @@ Todo for Opie-Eye 1.) Extend BigScreen classes to have something like a combined OSplitter and OWidgetStack. On small screens one could toggle this Widget into the View but on BigScreen it would - be a full widget OToggleSplitter + be a full widget -> OToggleSplitter 2.) Write a Image Info Widget which uses the cache to get the thumb and the slave to get the info and display it. Make use of OKeyConfigManager to manager keys for up and down diff --git a/noncore/graphics/opie-eye/gui/imageinfoui.cpp b/noncore/graphics/opie-eye/gui/imageinfoui.cpp index 2580215..3463ba6 100644 --- a/noncore/graphics/opie-eye/gui/imageinfoui.cpp +++ b/noncore/graphics/opie-eye/gui/imageinfoui.cpp @@ -29,9 +29,9 @@ imageinfo::imageinfo(const QString&_path, QWidget* parent, const char* name, WF } if ( !name ) setName( "imageinfo" ); - resize( 289, 335 ); + resize( 289, 335 ); setCaption( tr( "Image info" ) ); - imageinfoLayout = new QVBoxLayout( this ); + imageinfoLayout = new QVBoxLayout( this ); imageinfoLayout->setSpacing(2); imageinfoLayout->setMargin(4); @@ -47,7 +47,7 @@ imageinfo::imageinfo(const QString&_path, QWidget* parent, const char* name, WF fnameLabel = new QLabel( this, "FnameLabel" ); imageinfoLayout->addWidget( fnameLabel); - + TextView1 = new QTextView( this, "TextView1" ); TextView1->setFrameShadow( QTextView::Sunken ); TextView1->setResizePolicy( QTextView::AutoOneFit ); @@ -56,7 +56,7 @@ imageinfo::imageinfo(const QString&_path, QWidget* parent, const char* name, WF // TextView1->setVScrollBarMode(QScrollView::AlwaysOn); QWhatsThis::add( TextView1, tr("Displays info of selected image") ); imageinfoLayout->addWidget( TextView1 ); - + SlaveMaster* master = SlaveMaster::self(); connect( master, SIGNAL(sig_fullInfo(const QString&, const QString&)), this, SLOT(slot_fullInfo(const QString&, const QString&)) ); @@ -71,7 +71,7 @@ void imageinfo::slotChangeName(const QString&_path) QFileInfo fi(_path); fnameLabel->setText("
"+fi.fileName()+"
"); SlaveMaster::self()->imageInfo( currentFile ); - + QPixmap*m_pix = PPixmapCache::self()->cachedImage( _path, THUMBSIZE,THUMBSIZE ); if (!m_pix) { PixmapLabel1->setPixmap(QPixmap( Resource::loadPixmap( "UnknownDocument" ))); -- cgit v0.9.0.2