Results 1 to 1 of 1

Thread: Show QComboBox list while editing

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Show QComboBox list while editing

    I have QCombobox which is loaded with a sorted QStringList and is set to be editable with autocomplete to find an item in the combobox. All this stuff works great, but I would like to keep the dropdown list visible while typing to ease finding items in the list, is there way to do this cleanly? I suppose I could capture every keypress and activate the drop down list, but that seems messy. I also couldn't find a method/way to active the drop list other than playing with mouse events...

    Any ideas on how to approach this?

    Thanks.


    Added after 14 minutes:


    Apologize for the simple question. Got the popup list to work with showPopup on a text edit event. Must have missed that. Just need to handle to focus change issue...
    Last edited by radix07; 14th October 2011 at 16:52.

Similar Threads

  1. Replies: 6
    Last Post: 29th April 2014, 04:04
  2. Changing properties of a QComboBox's list view
    By verigySupport in forum Qt Programming
    Replies: 0
    Last Post: 15th January 2011, 00:29
  3. Focus frame inside QComboBox list
    By alpinista in forum Qt Programming
    Replies: 2
    Last Post: 13th November 2009, 14:30
  4. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 19:25
  5. Editing and adding entries to a QComboBox
    By bruccutler in forum Newbie
    Replies: 1
    Last Post: 29th May 2007, 17:13

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.