QKeySequence Class Reference

List of all members.

Public Member Functions

 QKeySequence (int key)
 operator QString () const

Constructor & Destructor Documentation

QKeySequence ( int  key  ) 

  • Member Function Documentation

    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.


  • libQGLViewer 2.2.2-0 documentation generated by  doxygen 1.4.6-6