-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
None
-
None
-
OS X
-
-
Test test
Task tracker task 154172 improved the support for more native glyps on Mac, but there are still more to implement.
For example the Key_Back and Key_Forward should be implemented as 0x21e0 and 0x21e2 to allow nice display of the keys. These back and forward keys are used for many types of applications, not just multimedia.
Test application :
#include <QtGui> class TMainWindow : public QMainWindow { public: TMainWindow(QWidget* parent = 0) : QMainWindow(parent, Qt::WindowStaysOnTopHint) { QMenuBar* menuBar = new QMenuBar(this); QMenu* menu = new QMenu("Menu", menuBar); QAction* action; action = new QAction("action 1", menu); action->setShortcut(QKeySequence(Qt::Key_Return)); menu->addAction(action); action = new QAction("action 1a", menu); action->setShortcut(QKeySequence(Qt::Key_Enter)); menu->addAction(action); action = new QAction("action 2", menu); menu->addAction(action); action->setShortcut(QKeySequence(Qt::Key_Back)); action = new QAction("action 3", menu); menu->addAction(action); action->setShortcut(QKeySequence(Qt::Key_Forward)); action = new QAction("action 4", menu); menu->addAction(action); action->setShortcut(QKeySequence(Qt::Key_Left)); action = new QAction("action 5", menu); menu->addAction(action); action->setShortcut(QKeySequence(Qt::Key_Right)); menuBar->addMenu(menu); setMenuBar(menuBar); resize(400,200); } }; #include <QtGui> int main(int argc, char** argv) { QApplication app(argc, argv); TMainWindow* win = new TMainWindow; win->show(); return app.exec(); }
- replaces
-
QTBUG-5767 Add support for additional Glyphs on Mac - Key_Back and Key_Forward
-
- Closed
-