Results 1 to 5 of 5

Thread: Problem in displaying the ComboBox list

  1. #1
    Join Date
    Feb 2007
    Posts
    63
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Problem in displaying the ComboBox list

    Hi ,
    i my application i am using comboBox to display a list.

    now the problem is that when i click the combo box then the no of items in te combo box list insted of displaying in a scroll window are displayed all at a time and since i am having a big list, the display covers most part of my screen........

    How to solve this problem???????????

    Regards
    Raghvendra

  2. #2
    Join Date
    Oct 2007
    Location
    Munich, Bavaria
    Posts
    144
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem in displaying the ComboBox list

    please post you sources. With the given description we cannot help!

  3. #3
    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: Problem in displaying the ComboBox list

    Quote Originally Posted by raghvendramisra View Post
    now the problem is that when i click the combo box then the no of items in te combo box list insted of displaying in a scroll window are displayed all at a time and since i am having a big list, the display covers most part of my screen........
    Did you by any chance change the sizeLimit property to some bigger value (the default is 10)?

  4. #4
    Join Date
    Feb 2007
    Posts
    63
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Problem in displaying the ComboBox list

    actually i am using the QT designer and i have checked the sizelimit property. It is set to a default value of 10. but still when i click a combo Box the list displayed is quite large.

    Also this problem is not with the application itself.
    When i am using the "Connection Window"( by selecting the edit menu option) for connecting the signal to slot, there also when i am clicking the sender combo box, te whole list get displayed at once

    Regards

  5. #5
    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: Problem in displaying the ComboBox list

    Quote Originally Posted by raghvendramisra View Post
    actually i am using the QT designer and i have checked the sizelimit property. It is set to a default value of 10. but still when i click a combo Box the list displayed is quite large.
    Well... it works fine for me.

    When i am using the "Connection Window"( by selecting the edit menu option) for connecting the signal to slot, there also when i am clicking the sender combo box, te whole list get displayed at once
    Try deleting your Qt config files if you have any or change the widget style used and see if it helps.

Similar Threads

  1. Replies: 7
    Last Post: 15th January 2008, 15:40
  2. [Qt 4.3.1]A problem with combobox style
    By Tamara in forum Qt Programming
    Replies: 3
    Last Post: 19th September 2007, 11:49
  3. New to QT, problem displaying main window...
    By McCall in forum Qt Programming
    Replies: 4
    Last Post: 15th June 2007, 15:27
  4. Problem related to porting from QT3 to QT4 in list items
    By rohitjun in forum Qt Programming
    Replies: 5
    Last Post: 1st June 2007, 10:05
  5. Problem with a combobox
    By Tindor in forum Qt Programming
    Replies: 2
    Last Post: 22nd November 2006, 20:18

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.