First of all, let me list my configuration:
Qt 4.4.0
Qt Visual Studio Integration 1.4.0
Visual Studio Standard 2005 sp1
I have tried to add some accelerator key to the QAction of the main menu with the Qt VS Integration. The code generated as the following:
class Ui_AClass
{
public:
...
mpActionShowOutput = new QAction(iGS_LCClass
);
mpActionShowOutput
->setObjectName
(QString::fromUtf8("mpActionShowOutput"));
...
...
};
class Ui_AClass
{
public:
QAction *mpActionShowOutput;
...
mpActionShowOutput = new QAction(iGS_LCClass);
mpActionShowOutput->setObjectName(QString::fromUtf8("mpActionShowOutput"));
...
mpActionShowOutput->setText(QApplication::translate("iGS_LCClass", "Show &Output", 0, QApplication::UnicodeUTF8));
mpActionShowOutput->setIconText(QApplication::translate("iGS_LCClass", "Show &Output", 0, QApplication::UnicodeUTF8));
...
};
To copy to clipboard, switch view to plain text mode
Neither the "O" in "Show Output" menu item being underlined; nor the accelerator key works as expected. Could experts point out what did I go wrong?
Thanks a ton!
Bookmarks