The Q3FilePreview class provides file previewing in Q3FileDialog. More...
#include <Q3FilePreview>
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Q3FilePreview () | |
virtual | ~Q3FilePreview () |
virtual void | previewUrl ( const Q3Url & url ) = 0 |
The Q3FilePreview class provides file previewing in Q3FileDialog.
This class is an abstract base class which is used to implement widgets that can display a preview of a file in a Q3FileDialog.
You must derive the preview widget from both QWidget and from this class. Then you must reimplement this class's previewUrl() function, which is called by the file dialog if the preview of a file (specified as a URL) should be shown.
See also Q3FileDialog::setPreviewMode(), Q3FileDialog::setContentsPreview(), Q3FileDialog::setInfoPreview(), Q3FileDialog::setInfoPreviewEnabled(), Q3FileDialog::setContentsPreviewEnabled().
Constructs the Q3FilePreview.
Destroys the file preview object.
This function is called by Q3FileDialog if a preview for the url should be shown. Reimplement this function to provide file previewing.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.