Obsolete Members for QMacStyle
The following members of class QMacStyle are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Static Public Members
| ||focusRectPolicy(const QWidget * w)|
| ||setFocusRectPolicy(QWidget * w, FocusRectPolicy policy)|
| ||setWidgetSizePolicy(const QWidget * widget, WidgetSizePolicy policy)|
| ||widgetSizePolicy(const QWidget * widget)|
Member Function Documentation
[static] FocusRectPolicy QMacStyle::focusRectPolicy(const QWidget * w)
Returns the focus rectangle policy for the widget w.
The focus rectangle policy can be one of QMacStyle::FocusRectPolicy.
[static] void QMacStyle::setFocusRectPolicy(QWidget * w, FocusRectPolicy policy)
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.
[static] void QMacStyle::setWidgetSizePolicy(const QWidget * widget, WidgetSizePolicy policy)
See also widgetSizePolicy().
[static] WidgetSizePolicy QMacStyle::widgetSizePolicy(const QWidget * widget)
See also setWidgetSizePolicy().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.