![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QFilePreview class provides file previewing in \l{QFileDialog}s. More...
#include <qfiledialog.h>
This class is an abstract base class which is used to implement widgets that can display a preview of a file in a QFileDialog.
You must derive your preview widget from both QWidget and from this class. Then you must reimplement the previewUrl() method of this class, which is called by the file dialog if the preview of a URL should be shown.
See also QFileDialog::setPreviewMode(), QFileDialog::setContentsPreview(), QFileDialog::setInfoPreview(), QFileDialog::setInfoPreviewEnabled(), QFileDialog::setContentsPreviewEnabled().
For an example of a preview widget see qt/examples/qdir/qdir.cpp.
This method is called by QFileDialog if a preview for the url should be shown. Reimplement this method to perfom file/URL previews.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta1-beta1
|