这段话每一句都能看懂,但是却看不明白总体。求教牛人用简单的语言概括这个类的主旨。
Detailed Description
The QKeySequence class encapsulates a key sequence as used by accelerators.
A key sequence consists of a keyboard code, optionally combined with modifiers, e.g. SHIFT, CTRL, ALT or UNICODE_ACCEL. For example, CTRL + Key_P might be a sequence used as a shortcut for printing a document. The key codes are listed in qnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, UNICODE_ACCEL + 'A' gives the same key sequence as Key_A.
Key sequences can be constructed either from an integer key code, or from a human readable translatable string. A key sequence can be cast to a QString to obtain a human readable translated version of the sequence. Translations are done in the "QAccel" context.
[ 此贴被XChinux在2006-01-24 21:54重新编辑 ]