×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    1

    Adding Menus/Actions to the right side of menubar/toolbar

    Hi,

    Is there any way to add actions (QAction) or Menus (QMenu) to the right hand side of a MenuBar or ToolBar? By defaut, all actions and menus are getting added to the left side. The requirement is to write some actions to the left and some to the right of a menubar.

    Thanks in advance.

    Regards,
    biswarup

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Adding Menus/Actions to the right side of menubar/toolbar

    Hi,

    There's nothing for this in the documentation. Are you talking about the order of the items (you could remove them and re-enter them in the correct order) or spacing. If it's the latter then I think this is down to the UI style, which hasn't yet been implemented for Qt on S60 (I think the Mac style has something like what you're talking about).

    You could always subclass the menu bar and re-implement the drawing code to position items where you want them.

    Mark

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: Adding Menus/Actions to the right side of menubar/toolbar

    Hi,
    We need to offer what end users expect and are used to so the S60 style guide will be followed, menus will act exatcly as "options" menu. No possibility to have menus on the right soft key.

    Cheers,
    Jack

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Adding Menus/Actions to the right side of menubar/toolbar

    That's not implemented yet though right?

    Also, presumably it will only apply to the menubar for the QMainWindow instance? It would still be possible to add touch operated menu bars elsewhere on the screen?

    Mark

  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: Adding Menus/Actions to the right side of menubar/toolbar

    Hi,
    presuming the same thing about QMainWindow. I'm not sure how the touch menubar will be from Qt, I'll ask around.

    Cheers,
    Jack

Similar Threads

  1. Record one side of a phone call
    By satyadeepg in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-12-05, 11:42
  2. preverify error. PLZ HELP
    By michaelhann89 in forum Mobile Java Tools & SDKs
    Replies: 14
    Last Post: 2007-03-22, 22:51
  3. Replies: 1
    Last Post: 2006-12-21, 15:27
  4. Problem with display from the MMF sink side
    By fastsymbian in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2006-09-22, 16:34
  5. Replies: 0
    Last Post: 2005-04-18, 14:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×