以下成员源于类 QWidget 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
|
QWidget (QWidget * parent , const char * name , Qt::WindowFlags f = 0) |
(obsolete)
QPoint
|
backgroundOffset () const |
(obsolete)
BackgroundOrigin
|
backgroundOrigin () const |
(obsolete)
bool
|
isEnabledToTLW () const |
(obsolete)
bool
|
isTopLevel () const |
(obsolete)
void
|
setBackgroundOrigin (BackgroundOrigin background ) |
(obsolete)
void
|
setWindowSurface (QWindowSurface * surface ) |
(obsolete)
QWidget *
|
topLevelWidget () const |
(obsolete)
virtual void
|
languageChange () |
(obsolete)
void
|
resetInputContext () |
这是重载函数。
Always returns QPoint().
始终返回
WindowOrigin
.
另请参阅 setBackgroundOrigin ().
This function is deprecated. It is equivalent to isEnabled ()
使用 isWindow () 代替。
[virtual protected]
void
QWidget::
languageChange
()
[protected]
void
QWidget::
resetInputContext
()
This function can be called on the widget that currently has focus to reset the input method operating on it.
This function is providing for convenience, instead you should use reset() on the input context that was returned by inputContext ().
另请参阅 QInputContext , inputContext (),和 QInputContext::reset ().
另请参阅 backgroundOrigin ().
Sets the window surface to be the surface 指定。 QWidget takes will ownership of the surface . widget itself is deleted.
该函数在 Qt 4.2 引入。
另请参阅 windowSurface ().
使用 window () 代替。