Q3FilePreview Class

The Q3FilePreview class provides file previewing in Q3FileDialog . 更多...

头: #include <Q3FilePreview>

公共函数

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.

另请参阅 Q3FileDialog::setPreviewMode (), Q3FileDialog::setContentsPreview (), Q3FileDialog::setInfoPreview (), Q3FileDialog::setInfoPreviewEnabled (), Q3FileDialog::setContentsPreviewEnabled ().

成员函数文档编制

Q3FilePreview:: Q3FilePreview ()

构造 Q3FilePreview .

[虚拟] Q3FilePreview:: ~Q3FilePreview ()

Destroys the file preview object.

[pure virtual] void Q3FilePreview:: previewUrl (const Q3Url & url )

此函数被调用通过 Q3FileDialog if a preview for the url should be shown. Reimplement this function to provide file previewing.