|
|
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) |
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". |
| readPreview | This is the function which generates the preview |
| type | This is the type of the preview module |
See also: PreviewType
| Generated by: bhcompile@stripples.devel.redhat.com on Thu Jul 26 13:37:45 200. |