Qt:Документация 4.3.2/qwhatsthis-qt3
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
[править] Qt 3 Support Members for QWhatsThis
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
[править] Статические открытые члены
- void add ( QWidget * w, const QString & s )
- void remove ( QWidget * w )
- QToolButton * whatsThisButton ( QWidget * parent )
[править] Описание функций-членов
[править] void QWhatsThis::add ( QWidget * w, const QString & s ) [static]
Sets the What's This text s for the widget w.
Use QWidget::setWhatsThis() or QAction::setWhatsThis() instead.
[править] void QWhatsThis::remove ( QWidget * w ) [static]
Remove's the What's This text for the widget w.
Use QWidget::setWhatsThis() or QAction::setWhatsThis() instead.
[править] QToolButton * QWhatsThis::whatsThisButton ( QWidget * parent ) [static]
Returns a new "What's This?" QToolButton with the given parent. To do this now, create your own QToolButton and a QWhatsThis object and call the QWhatsThis object's showText() function when the QToolButton is invoked.
Use createAction() instead.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|