December 16, 2010

hisong1988 hisong1988
Lab Rat
72 posts

(Solved)QMenuBar of Qt for Symbian

 

Hi, Everyone.

It seems that the QMenubar is only triggered by the left softkey and could not set its own style.

So if I want to create a menubar but the menubar was triggered by a toolbutton instead of the default softkey.

and I also want to let the menubar which could set its own location or size and set background-image or background-color.
what should I do?

welcome all suggestion. thanks.

 Signature 

I am still searching for….

3 replies

December 18, 2010

hisong1988 hisong1988
Lab Rat
72 posts

anybody here?
or my target is unrealistic ?

 Signature 

I am still searching for….

December 18, 2010

JacquesBaniaque JacquesBania..
Lab Rat
3 posts

You want to show the Options menu located under the Options softkey programatically?
If yes then i’m not sure if it’s possible at all. Qt for Symbian is wrapping it’s native code in QMenuBar. Looking trough the source code it does not seem to be fully functional.
Some time ago i tried to programatically hide the Options menu without any luck. You probably would like to call something like ‘show’ so it’s basically the same problem.
I did not find nor submit any bug report for this yet.

December 21, 2010

hisong1988 hisong1988
Lab Rat
72 posts

At last,I put some QPushButton on a widget, and set the QPushButton flat,set the background-color of the button transparent,resize the button,and the buttons combined into a “menu”.

Thanks all the replies

 Signature 

I am still searching for….

 
  ‹‹ Problem in binding texture      Error while building sisx file ››

You must log in to post a reply. Not a member yet? Register here!