以下成员源于类 QGuiApplication 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.0))
void
|
fontChanged (const QFont & font ) |
(deprecated (6.0))
void
|
paletteChanged (const QPalette & palette ) |
[signal, since 5.11]
void
QGuiApplication::
fontChanged
(const
QFont
&
font
)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Handle QEvent::ApplicationFontChange 代替。
此信号被发射当 font of the application changes. Use QEvent::ApplicationFontChanged instead.
该函数在 Qt 5.11 引入。
另请参阅 font ().
[signal, since 5.4]
void
QGuiApplication::
paletteChanged
(const
QPalette
&
palette
)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Handle QEvent::ApplicationPaletteChange 代替。
此信号被发射当 palette of the application changes. Use QEvent::ApplicationPaletteChanged instead.
该函数在 Qt 5.4 引入。
另请参阅 palette ().