Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QLineEdit && use popup similar to QCompleter

QLineEdit && use popup similar to QCompleter

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 4.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    Hi all,
    I need to implement my own "completer" for a QLineEdit because QCompleter doesn't filter using QRegExp.
    I have a data model and a QSortFilterProxyModel to filter in data.
    I actually show filtered data in a QListView that is showed in the right of QLineEdit.

    How can I show the QListView as the QCompleter popup?

    I tried to read QLineEdit source but I think there isn't what I need.

    Thanks.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      "Have a look at this post :":http://developer.qt.nokia.com/forums/viewthread/7719

      Edit : but you know that thread already because you started it...

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        Please don't open multiple topics on the same issue. I am closing this issue, please continue the discussion in the topic indicated by Eddy.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          troubalex
          wrote on last edited by
          #4

          It doesn't seem to be a real duplicate, so I reopen it after discussion with other moderators. I'll edit the other thread to keep things clean.
          Thanks!

          THE CAKE IS A LIE
          Web Community Manager - Qt Development Frameworks

          1 Reply Last reply
          0
          • L Offline
            L Offline
            luca
            wrote on last edited by
            #5

            [quote author="Alexandra" date="1311153765"]It doesn't seem to be a real duplicate, so I reopen it after discussion with other moderators. I'll edit the other thread to keep things clean.
            Thanks![/quote]

            Thanks!

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved