Training: define key accelerators for the main buttons

This commit is contained in:
Olivier Teulière 2012-10-05 14:54:29 +02:00
parent 1232eda206
commit e4f9c03ca7
2 changed files with 5 additions and 5 deletions

View file

@ -734,7 +734,7 @@ void MainWindow::createMenu()
QMenu *menuHelp = new QMenu(m_ui.menubar);
m_ui.menubar->addAction(menuHelp->menuAction());
menuHelp->setTitle(_q("Hel&p"));
menuHelp->setTitle(_q("He&lp"));
addMenuAction(menuHelp, _q("&About..."), QString(""),
_q("About Eliot"), SLOT(onHelpAbout()),
false, QIcon(":/images/info_16px.png"));

View file

@ -116,14 +116,14 @@
<item>
<widget class="QPushButton" name="pushButtonRack">
<property name="text">
<string>_(&quot;New rack&quot;)</string>
<string>_(&quot;&amp;New rack&quot;)</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonComplement">
<property name="text">
<string>_(&quot;Complement&quot;)</string>
<string>_(&quot;&amp;Complement&quot;)</string>
</property>
</widget>
</item>
@ -133,7 +133,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>_(&quot;Search&quot;)</string>
<string>_(&quot;Sea&amp;rch&quot;)</string>
</property>
</widget>
</item>
@ -143,7 +143,7 @@
<bool>false</bool>
</property>
<property name="text">
<string>_(&quot;Play selected&quot;)</string>
<string>_(&quot;&amp;Play selected&quot;)</string>
</property>
</widget>
</item>