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