Results 1 to 3 of 3

Thread: QCompleter on editable CombBox or LineEdit

  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default QCompleter on editable CombBox or LineEdit

    Hello,
    I want to add QCompleter functionality into either ComboBox (editable one - but there is none in QtQuick 2 widgets) or in any LineInput.

    Unfortunately non of input text "widgets" are able to setCompleter.

    Any idea how to implement Completion functionality on i.e. ComboBox or any text input "widget"?
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  2. #2
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QCompleter on editable CombBox or LineEdit

    Both QLineEdit::setCompleter and QComboBox::setCompleter works great for one single line of input without spaces. Can you be able to post some code with what are you trying to do?

  3. #3
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: QCompleter on editable CombBox or LineEdit

    I mean QtQucik2 here not QLineEDit without QProxyWidget.

    And Yes QLineEdit works fine.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. QCompleter + SQL
    By Wild Pointer in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2012, 10:18
  2. QCompleter display
    By yuvaraj.addu in forum Qt Programming
    Replies: 3
    Last Post: 16th December 2011, 06:26
  3. Qcompleter
    By wambagilles in forum Qt Programming
    Replies: 7
    Last Post: 6th April 2011, 08:14
  4. QCompleter Help
    By shinegun in forum Qt Programming
    Replies: 0
    Last Post: 2nd September 2010, 13:26
  5. Replies: 1
    Last Post: 12th October 2008, 08:21

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.