Hello,
I found no information about this in the documentation.
My question is: is it possible to display the phone's menu bar on a full screen QMainWindow?
In other words, is there a way to mimic the action of the "Options" nokia button.
Thanks!
Hello,
I found no information about this in the documentation.
My question is: is it possible to display the phone's menu bar on a full screen QMainWindow?
In other words, is there a way to mimic the action of the "Options" nokia button.
Thanks!
Check out the softkeys example in \NokiaQtSDK\Examples\4.6\widgets\softkeys. It has exactly what you're looking for in this code:
Qt Code:
flags |= Qt::WindowSoftkeysVisibleHint; flags &= ~Qt::WindowSoftkeysRespondHint; setWindowFlags(flags); // Hides visible window showFullScreen(); modeLabel->setText(tr("Fullscreen with softkeys"));To copy to clipboard, switch view to plain text mode
lincolnlau (12th September 2010)
when i run the example, i got some errors ? my qt version is 4.6.2
/Qt/qtcreator-2.0.1/softkey/mainwindow.cpp:124: error: `WindowSoftkeysVisibleHint' is not a member of `Qt'
/Qt/qtcreator-2.0.1/softkey/mainwindow.cpp:125: error: `WindowSoftkeysRespondHint' is not a member of `Qt'
Did you include the right header file? And are you linking against the Qt version for Symbian?
Bookmarks