KImageFilePreview Class Reference
Image preview widget for the file dialog. More...
#include <kimagefilepreview.h>

Public Slots | |
| virtual void | clearPreview () |
| virtual void | showPreview (const KUrl &url) |
Public Member Functions | |
| KImageFilePreview (QWidget *parent=0) | |
| ~KImageFilePreview () | |
| virtual QSize | sizeHint () const |
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) |
Detailed Description
Image preview widget for the file dialog.
Definition at line 27 of file kimagefilepreview.h.
Constructor & Destructor Documentation
| KImageFilePreview::KImageFilePreview | ( | QWidget * | parent = 0 | ) | [explicit] |
Creates a new image file preview.
- Parameters:
-
parent The parent widget.
Definition at line 76 of file kimagefilepreview.cpp.
| KImageFilePreview::~KImageFilePreview | ( | ) |
Destroys the image file preview.
Definition at line 94 of file kimagefilepreview.cpp.
Member Function Documentation
| void KImageFilePreview::clearPreview | ( | ) | [virtual, slot] |
Clears the preview.
Implements KPreviewWidgetBase.
Definition at line 254 of file kimagefilepreview.cpp.
| KIO::PreviewJob * KImageFilePreview::createJob | ( | const KUrl & | url, |
| int | width, | ||
| int | height | ||
| ) | [protected, virtual] |
Definition at line 170 of file kimagefilepreview.cpp.
| void KImageFilePreview::gotPreview | ( | const KFileItem & | item, |
| const QPixmap & | pm | ||
| ) | [protected, virtual, slot] |
Definition at line 177 of file kimagefilepreview.cpp.
| void KImageFilePreview::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 158 of file kimagefilepreview.cpp.
Definition at line 116 of file kimagefilepreview.cpp.
| void KImageFilePreview::showPreview | ( | ) | [protected, slot] |
Definition at line 103 of file kimagefilepreview.cpp.
| void KImageFilePreview::showPreview | ( | const KUrl & | url | ) | [virtual, slot] |
Shows a preview for the given url.
Implements KPreviewWidgetBase.
Definition at line 111 of file kimagefilepreview.cpp.
| QSize KImageFilePreview::sizeHint | ( | void | ) | const [virtual] |
Returns the size hint for this widget.
Definition at line 165 of file kimagefilepreview.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference