KIO
#include <kimagefilepreview.h>
Public Slots | |
virtual void | clearPreview () |
virtual void | showPreview (const KUrl &url) |
Public Slots inherited from KPreviewWidgetBase | |
virtual void | clearPreview ()=0 |
virtual void | showPreview (const KUrl &url)=0 |
QStringList | supportedMimeTypes () const |
Public Member Functions | |
KImageFilePreview (QWidget *parent=0) | |
~KImageFilePreview () | |
virtual QSize | sizeHint () const |
Public Member Functions inherited from KPreviewWidgetBase | |
KPreviewWidgetBase (QWidget *parent) | |
~KPreviewWidgetBase () | |
Protected Slots | |
virtual void | gotPreview (const KFileItem &, const QPixmap &) |
void | showPreview () |
void | showPreview (const KUrl &url, bool force) |
Protected Member Functions | |
virtual KIO::PreviewJob * | createJob (const KUrl &url, int width, int height) |
virtual void | resizeEvent (QResizeEvent *event) |
Protected Member Functions inherited from KPreviewWidgetBase | |
void | setSupportedMimeTypes (const QStringList &mimeTypes) |
Detailed Description
Image preview widget for the file dialog.
Definition at line 27 of file kimagefilepreview.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new image file preview.
- Parameters
-
parent The parent widget.
Definition at line 71 of file kimagefilepreview.cpp.
KImageFilePreview::~KImageFilePreview | ( | ) |
Destroys the image file preview.
Definition at line 89 of file kimagefilepreview.cpp.
Member Function Documentation
|
virtualslot |
Clears the preview.
Definition at line 258 of file kimagefilepreview.cpp.
|
protectedvirtual |
Definition at line 165 of file kimagefilepreview.cpp.
|
protectedvirtualslot |
Definition at line 181 of file kimagefilepreview.cpp.
|
protectedvirtual |
Definition at line 153 of file kimagefilepreview.cpp.
|
virtualslot |
Shows a preview for the given url
.
Definition at line 106 of file kimagefilepreview.cpp.
|
protectedslot |
Definition at line 98 of file kimagefilepreview.cpp.
Definition at line 111 of file kimagefilepreview.cpp.
|
virtual |
Returns the size hint for this widget.
Definition at line 160 of file kimagefilepreview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.