The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
FocusRectPolicy | focusRectPolicy ( const QWidget * w ) (obsolete) |
void | setFocusRectPolicy ( QWidget * w, FocusRectPolicy policy ) (obsolete) |
void | setWidgetSizePolicy ( const QWidget * widget, WidgetSizePolicy policy ) (obsolete) |
WidgetSizePolicy | widgetSizePolicy ( const QWidget * widget ) (obsolete) |
Returns the focus rectangle policy for the widget w.
The focus rectangle policy can be one of QMacStyle::FocusRectPolicy.
In 4.3 and up this function will simply test for the Qt::WA_MacShowFocusRect attribute and will never return QMacStyle::FocusDefault.
See also setFocusRectPolicy() and QWidget::testAttribute().
Sets the focus rectangle policy of w. The policy can be one of QMacStyle::FocusRectPolicy.
This is now simply an interface to the Qt::WA_MacShowFocusRect attribute and the FocusDefault value does nothing anymore. If you want to set a widget back to its default value, you must save the old value of the attribute before you change it.
See also focusRectPolicy() and QWidget::setAttribute().
Call QWidget::setAttribute() with Qt::WA_MacMiniSize, Qt::WA_MacSmallSize, or Qt::WA_MacNormalSize instead.
See also widgetSizePolicy().
Call QWidget::testAttribute() with Qt::WA_MacMiniSize, Qt::WA_MacSmallSize, or Qt::WA_MacNormalSize instead.
See also setWidgetSizePolicy().
© 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.