Hidding Menubar with ALT key
Asked by
Martin
Hello,
I have a suggestions, which is quit easy but usefull. A shortcut to hide and show the menubar for small displays. Is there a possibility to take into the offical code?
Mainwindow.ccp:
void MainWindow:
{
if(
{
return;
}
menuBar(
}
mainwindow.h:
void on_hideMenuBar_
QShortcut* m_hideMenuBarSh
mainwindow.cpp: (in createToolbars() ):
m_hideMenuBarSh
for me it does not work only with Qt::ALT but I don't know why.
Martin
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- qpdfview Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin
- Solved:
- Last query:
- Last reply:
To post a message you must log in.