author | llornkcor <llornkcor> | 2002-05-14 22:02:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-14 22:02:16 (UTC) |
commit | e325f9cfb783010caa8618608a4d57884c0107c5 (patch) (side-by-side diff) | |
tree | 92e5ad3d4df7e4da10c6a2f18a89bfa0887cd733 /noncore/unsupported/filebrowser/filebrowser.h | |
parent | 654f18b7201655379a515d12e30e06de4ae2e564 (diff) | |
download | opie-e325f9cfb783010caa8618608a4d57884c0107c5.zip opie-e325f9cfb783010caa8618608a4d57884c0107c5.tar.gz opie-e325f9cfb783010caa8618608a4d57884c0107c5.tar.bz2 |
thumbnail for images for 'hash', also added secret config [View] ThumbSize = 72 for specifying thumbnail size, and added cleanup for tmp dir
Diffstat (limited to 'noncore/unsupported/filebrowser/filebrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/filebrowser/filebrowser.h | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.h b/noncore/unsupported/filebrowser/filebrowser.h index 983e58e..549d463 100644 --- a/noncore/unsupported/filebrowser/filebrowser.h +++ b/noncore/unsupported/filebrowser/filebrowser.h @@ -47,2 +47,3 @@ private: QFileInfo fileInfo; + QPixmap FileItem::drawThumbnail(const QFileInfo &file); }; @@ -56,5 +57,6 @@ public: FileView( const QString & dir, QWidget * parent = 0, - const char * name = 0, - bool hidden = FALSE, - bool symlinks = FALSE ); + const char * name = 0, + bool hidden = FALSE, + bool symlinks = FALSE, + bool thumbnails = FALSE ); @@ -65,6 +67,8 @@ public: - void setShowHidden(bool hidden); - void setShowSymlinks(bool symlinks); - void setMenuKeepsOpen(bool keepOpen); - + void setShowHidden(bool hidden); + void setShowSymlinks(bool symlinks); + void setShowThumbnails(bool thumbnails); + bool getShowThumbnails () const { return showThumbnails; } + void setMenuKeepsOpen(bool keepOpen); + public slots: @@ -98,3 +102,2 @@ protected slots: void endRenaming(); - private: @@ -106,5 +109,6 @@ private: bool selected; - bool showHidden; - bool showSymlinks; - bool menuKeepsOpen; + bool showHidden; + bool showSymlinks; + bool showThumbnails; + bool menuKeepsOpen; @@ -148,6 +152,9 @@ private slots: void updateSorting(); - void updateShowHidden(); - void updateShowSymlinks(); + void updateShowHidden(); + void updateShowSymlinks(); + void updateShowThumbnails(); void updateDirMenu(); void dirSelected( int id ); + void cleanUp(); + }; |