Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    The visible part of a listView.

    General and Desktop
    3
    4
    1479
    Loading More Posts
    • 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.
    • F
      freecamellia last edited by

      Because of the limited area of a listView, how the visible part of this listView (and automatically his scroll bar) can be commanded to show a defined part of the full list. Because I want the visible part be commanded by the content of a lineEdit.

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        QAbstractItemView::scrollTo() should be your friend.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • A
          andre last edited by

          Are you trying to filter the list based on the contents of that line edit, by any chance?

          1 Reply Last reply Reply Quote 0
          • F
            freecamellia last edited by

            No, because of that I am changing the way.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post