以下成员源于类 QApplication 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
Qt::Alignment
|
horizontalAlignment (Qt::Alignment align ) |
(obsolete)
bool
|
keypadNavigationEnabled () |
(obsolete)
void
|
setKeypadNavigationEnabled (bool enable ) |
[static]
Qt::Alignment
QApplication::
horizontalAlignment
(
Qt::Alignment
align
)
Strips out vertical alignment flags and transforms an alignment align of Qt::AlignLeft into Qt::AlignLeft or Qt::AlignRight according to the language used.
[static]
bool
QApplication::
keypadNavigationEnabled
()
Returns true if Qt is set to use keypad navigation; otherwise returns false. The default value is true on Symbian, but false on other platforms.
This feature is available in Qt for Embedded Linux, Symbian and Windows CE only.
注意: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.
另请参阅 setKeypadNavigationEnabled () 和 navigationMode ().
[static]
void
QApplication::
setKeypadNavigationEnabled
(
bool
enable
)
Sets whether Qt should use focus navigation suitable for use with a minimal keypad.
This feature is available in Qt for Embedded Linux, Symbian and Windows CE only.
注意: On Windows CE this feature is disabled by default for touch device mkspecs. To enable keypad navigation, build Qt with QT_KEYPAD_NAVIGATION defined.
另请参阅 keypadNavigationEnabled () 和 setNavigationMode ().