class KFilePreviewDialog

A file selection dialog with preview. More...

Definition#include <kfiledialog.h>
InheritsKFileBaseDialog
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods


Detailed Description

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.

 KFilePreviewDialog (const char *dirName, const char *filter= 0, QWidget *parent= 0, const char *name= 0, bool modal = false, bool acceptURLs = true)

KFilePreviewDialog ()

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)

[static]

This is a static method which allow a user to define a new preview dialog module.

Parameters:
formatThis identifies the module e.g. "JPG" or "PNG".
readPreviewThis is the function which generates the preview
typeThis is the type of the preview module

KFileInfoContentsinitFileList ( QWidget *parent )

[protected virtual]

Reimplemented from KFileBaseDialog.

bool  getShowFilter ()

[protected virtual]

Reimplemented from KFileBaseDialog.


Generated by: root@george.devel.redhat.com on Thu Sep 14 21:18:57 2000, using kdoc 2.0a36.