以下成員源於類 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 () 代替。