KIO
#include <kimagefilepreview.h>

Public Slots | |
virtual void | clearPreview () |
virtual void | showPreview (const KUrl &url) |
![]() | |
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 |
![]() | |
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) |
![]() | |
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
◆ KImageFilePreview()
|
explicit |
Creates a new image file preview.
- Parameters
-
parent The parent widget.
Definition at line 71 of file kimagefilepreview.cpp.
◆ ~KImageFilePreview()
KImageFilePreview::~KImageFilePreview | ( | ) |
Destroys the image file preview.
Definition at line 89 of file kimagefilepreview.cpp.
Member Function Documentation
◆ clearPreview
|
virtualslot |
Clears the preview.
Definition at line 258 of file kimagefilepreview.cpp.
◆ createJob()
|
protectedvirtual |
Definition at line 165 of file kimagefilepreview.cpp.
◆ gotPreview
|
protectedvirtualslot |
Definition at line 181 of file kimagefilepreview.cpp.
◆ resizeEvent()
|
protectedvirtual |
Definition at line 153 of file kimagefilepreview.cpp.
◆ showPreview [1/3]
|
protectedslot |
Definition at line 98 of file kimagefilepreview.cpp.
◆ showPreview [2/3]
|
virtualslot |
Shows a preview for the given url
.
Definition at line 106 of file kimagefilepreview.cpp.
◆ showPreview [3/3]
|
protectedslot |
Definition at line 111 of file kimagefilepreview.cpp.
◆ sizeHint()
|
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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.