Obsolete Members for QWidget
The following members of class QWidget are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
| ||QWidget(QWidget * parent, const char * name, Qt::WindowFlags f = 0)|
| ||backgroundOffset() const|
| ||backgroundOrigin() const|
| ||isEnabledToTLW() const|
| ||isTopLevel() const|
| ||setBackgroundOrigin(BackgroundOrigin background)|
| ||setWindowSurface(QWindowSurface * surface)|
| ||topLevelWidget() const|
- 1 public function inherited from QPaintDevice
Member Function Documentation
QWidget::QWidget(QWidget * parent, const char * name, Qt::WindowFlags f = 0)
This is an overloaded function.
QPoint QWidget::backgroundOffset() const
Always returns QPoint().
BackgroundOrigin QWidget::backgroundOrigin() const
See also setBackgroundOrigin().
This function is deprecated. It is equivalent to isEnabled()
Use isWindow() instead.
This function can be called on the widget that currently has focus to reset the input method operating on it.
void QWidget::setBackgroundOrigin(BackgroundOrigin background)
See also backgroundOrigin().
Sets the window surface to be the surface specified. The QWidget takes will ownership of the surface. widget itself is deleted.
This function was introduced in Qt 4.2.
See also windowSurface().
QWidget * QWidget::topLevelWidget() const
Use window() instead.
© 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.