Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved how to select all the row in qtableview of qabstracttablemodel

    General and Desktop
    2
    2
    3687
    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.
    • Q
      Qt Enthusiast last edited by

      I have a Application in which QWidget ,in which which is split into two parts QtreeWidget at left and QtableView with QAbstractTablemodel on the right .There is a selectall button ,When I selectall button , it should select all the rows in QtableView and emit relevant selection

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Just use QTableView::selectAll() :-)

        (Z(:^

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