1QFilePreview(3qt)                                            QFilePreview(3qt)
2
3
4

NAME

6       QFilePreview - File previewing in QFileDialog
7

SYNOPSIS

9       #include <qfiledialog.h>
10
11   Public Members
12       QFilePreview ()
13       virtual void previewUrl ( const QUrl & url ) = 0
14

DESCRIPTION

16       The QFilePreview class provides file previewing in QFileDialog.
17
18       This class is an abstract base class which is used to implement widgets
19       that can display a preview of a file in a QFileDialog.
20
21       You must derive the preview widget from both QWidget and from this
22       class. Then you must reimplement this class's previewUrl() function,
23       which is called by the file dialog if the preview of a file (specified
24       as a URL) should be shown.
25
26       See also QFileDialog::setPreviewMode(),
27       QFileDialog::setContentsPreview(), QFileDialog::setInfoPreview(),
28       QFileDialog::setInfoPreviewEnabled(),
29       QFileDialog::setContentsPreviewEnabled().
30
31       For an example of a preview widget see qt/examples/qdir/qdir.cpp.
32
33       See also Miscellaneous Classes.
34

MEMBER FUNCTION DOCUMENTATION

QFilePreview::QFilePreview ()

37       Constructs the QFilePreview.
38

void QFilePreview::previewUrl ( const QUrl & url ) [pure virtual]

40       This function is called by QFileDialog if a preview for the url should
41       be shown. Reimplement this function to provide file previewing.
42
43

SEE ALSO

45       http://doc.trolltech.com/qfilepreview.html
46       http://www.trolltech.com/faq/tech.html
47
49       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
50       license file included in the distribution for a complete license
51       statement.
52

AUTHOR

54       Generated automatically from the source code.
55

BUGS

57       If you find a bug in Qt, please report it as described in
58       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
59       help you. Thank you.
60
61       The definitive Qt documentation is provided in HTML format; it is
62       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
63       web browser. This man page is provided as a convenience for those users
64       who prefer man pages, although this format is not officially supported
65       by Trolltech.
66
67       If you find errors in this manual page, please report them to qt-
68       bugs@trolltech.com.  Please include the name of the manual page
69       (qfilepreview.3qt) and the Qt version (3.3.8).
70
71
72
73Trolltech AS                    2 February 2007              QFilePreview(3qt)
Impressum