Hiding Symbian Soft Keys
-
I have a QML app run via QmlApplicationViewer. How can I hide the Symbian soft keys, one of which currently shows 'Exit'.
Thanks
Simon
-
[quote author="SimonJudge" date="1293188631"]I have a QML app run via QmlApplicationViewer. How can I hide the Symbian soft keys, one of which currently shows 'Exit'.
Thanks
Simon[/quote]
Set the application to fullscreen.
-
The app is already calling show() that causes a call to showFullScreen() ...
void QmlApplicationViewer::show()
{
#ifdef Q_OS_SYMBIAN
showFullScreen();
#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
showMaximized();
#else
QDeclarativeView::show();
#endif
}Thanks
Simon
-
Yes, thanks. It was wrong under simulator. I have changed to full screen after QDeclarativeView::show(); ...
@void QmlApplicationViewer::show()
{
#ifdef Q_OS_SYMBIAN
showFullScreen();
#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
showMaximized();
#else
QDeclarativeView::show();
showFullScreen(); // For hiding Symbian buttons in simulator
#endif
}@ -
[quote author="VCsala" date="1293195123"]As I find the simulator is good tool but its compatibility with real word devices is relatively low. If you have any problem there it is always worth to try it on the device.[/quote]
Yes, but fullscreen works fine in simulator.