KFilePreviewDialog Class Reference
[kfile Index] [kfile Hierarchy]
[Headers]
A file selection dialog with preview More...
#include <kfiledialog.h>
Inherits: KFileBaseDialog
Public Members
- KFilePreviewDialog (const char *dirName, const char *filter= 0, QWidget *parent= 0, const char *name= 0,
bool modal = false, bool acceptURLs = true)
- ~KFilePreviewDialog ()
- static QString getOpenFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getSaveFileName (const char *dir= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getOpenFileURL (const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static QString getSaveFileURL (const char *url= 0, const char *filter= 0, QWidget *parent= 0, const char *name= 0)
- static void registerPreviewModule ( const char * format, PreviewHandler readPreview, PreviewType type)
Protected Members
The KFilePreviewDialog widget provides a user (and developer) friendly way to
select files while showing a preview.
You will usually want to use one of the static methods
KFilePreviewDialog::get[Open|Save][Name|URL](...) which are the same
as the KFileDialog ones.
Being a subclass of KFileKFileBaseDialog, it can therefore be easily
customised.
void registerPreviewModule( const char * format, PreviewHandler readPreview, PreviewType type) [public static]
This is a static method which allow a user to define a new preview dialog module.
- Parameters:
-
format |
This identifies the module e.g. "JPG" or "PNG". |
type |
This is the type of the preview module |
readPreview |
This is the function which generates the preview |
- See Also:
- PreviewType
Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:38:57 CEST 1999
|
Kdoc
|