Results 1 to 6 of 6

Thread: Cannot access all the items in the QMenu for Large font .

  1. #1
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Cannot access all the items in the QMenu for Large font .

    Hi,
    I have an application were i can set the font size to 48 or 72 .
    With this font size Menu's within the Menu Bar ( QMenu ) occupies full screen.
    Now if i have 10 items in the Menu only 7 are visible and i don't have access to remaining three .
    No scrollButtons are provided by QT either to navigate to remaining items .

    Please let me know how to access all the Menu items in such situation .?

    Any help would be appreciated.

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cannot access all the items in the QMenu for Large font .

    Please provide a minimal compilable example reproducing the problem.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Cannot access all the items in the QMenu for Large font .

    font_9.jpgfont _48.jpg
    Please find the attached images .
    My application has the feature to change the font for the menus within the application.
    First image font _9.png shows Menu under File Menu Bar with font size 9.
    Second image font_48.png shows font with size 48 and one could see the list doesn't contain all the list as in font_9.png and QT doesn't even provide the buttons to access those either .

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Cannot access all the items in the QMenu for Large font .

    What purpose does setting such a large font on a 24 item menu achieve? Can it better be achieved with with another UI element or nested menus?

  5. #5
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Cannot access all the items in the QMenu for Large font .

    Some of these 24 items itself have some nested menus already which i have not shown..
    U are right about why to set such large font ... But unfortunately datz the requirement that i have and i can't change so i have to need to find the solution for it.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cannot access all the items in the QMenu for Large font .

    Your picture doesn't help in anything. Please provide code we can analyze.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to access QTableWidget's default items
    By Wasabi in forum Newbie
    Replies: 6
    Last Post: 16th November 2010, 08:48
  2. access menubar items by name
    By navid in forum Newbie
    Replies: 2
    Last Post: 7th December 2009, 13:15
  3. Replies: 4
    Last Post: 18th August 2009, 19:53
  4. Dynamic access of ui items
    By Matze-o in forum Qt Programming
    Replies: 1
    Last Post: 6th November 2008, 23:13
  5. QLabel, large, rich text, font size
    By TheKedge in forum Qt Programming
    Replies: 3
    Last Post: 5th February 2007, 11:56

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.