Qt:Документация 4.3.2/q3filepreview
Материал из Wiki.crossplatform.ru
(Новая: {{Qt4.3.2_header}} =Q3FilePreview Class Reference<br /><sup><sup> [ Qt3Support module]</sup></sup>= The Q3FilePreview class provides ...)
Текущая версия на 13:10, 29 января 2009
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
[править] Q3FilePreview Class Reference
[ Qt3Support module]
The Q3FilePreview class provides file previewing in Q3FileDialog. Далее...
#include <Q3FilePreview>
This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. 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().
[править] Описание функций-членов
[править] Q3FilePreview::Q3FilePreview ()
Constructs the Q3FilePreview.
[править] Q3FilePreview::~Q3FilePreview () [virtual]
Destroys the file preview object.
[править] void Q3FilePreview::previewUrl ( const Q3Url & url ) [pure virtual]
This function is called by Q3FileDialog if a preview for the url should be shown. Reimplement this function to provide file previewing.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|