user199403
user199403

Reputation: 483

how to hide menubar in qt(symbian)

Question 1: I create menubar with below code

Qt::WindowFlags flags = windowFlags();
flags |= Qt::WindowSoftkeysVisibleHint;
setWindowFlags(flags);
showFullScreen();

I want hide the menubar, what shall do now?

Question 2: When i switch my app to background(long press home), it will enter the runing app list, it's ok, but there's a menubar with a exit button at the bottom, how can i remove it?

Upvotes: 1

Views: 616

Answers (1)

Peter
Peter

Reputation: 11

Normally when you enter full screen on Symbian, soft-keys are disabled (not shown on screen). With your code, soft-keys are enabled in full screen also.

If you wont soft-keys in full screen, then leave window flags untouched.

How do you switch your app into background?

Upvotes: 1

Related Questions