Public Member Functions | |
QKeySequence (int key) | |
operator QString () const |
QKeySequence | ( | int | key | ) |
operator QString | ( | ) | const |
Creates a shortcut string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g. "Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using QObject::tr()) in the "QAccel" scope. If the key sequence has no keys, QString::null is returned.