Results 1 to 2 of 2

Thread: QMenu display orientation

  1. #1
    Join Date
    Jul 2011
    Posts
    31
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3
    Platforms
    MacOS X

    Default QMenu display orientation

    Hi,

    I am trying to use QMenu and have managed to get it to work. However, the default is when you on onto a sub menu it opens towards the right. I would like to change this pop-out to open towards the left. Is there any function with respect to QMenuBar or QMenu which will make it open to left. The reason is I have my menu towards the end of the window and the options are displayed overlapping edge of the window and onto the desktop.

    Thanks

  2. The following user says thank you to qtnewbi3 for this useful post:

    hamed-mokhtary (24th May 2012)

  3. #2
    Join Date
    May 2012
    Posts
    1
    Thanks
    2
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: QMenu display orientation

    it's my problem too i wrote a RTL program and had this problem ,
    cause my qMenuBar is RTL and sub menu pop out right and sub menu of my first menu located out of screen

    sorry for bad english
    thanks

Similar Threads

  1. orientation problem on Qt 4.7?
    By chandantheracer in forum Newbie
    Replies: 4
    Last Post: 28th March 2011, 12:48
  2. Orientation Problem
    By prajnaranjan.das in forum Qt Programming
    Replies: 6
    Last Post: 8th February 2011, 14:20
  3. Why QAction inside Qmenu doesn't display Icon ?
    By jpujolf in forum Qt Programming
    Replies: 8
    Last Post: 21st December 2009, 12:51
  4. QStyle : how to make the QMenu display in middle?
    By nish in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 27th November 2008, 10:39
  5. QWidget orientation
    By Valheru in forum Qt Programming
    Replies: 8
    Last Post: 19th August 2008, 17:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.