QScrollbar vertical bar goes to the buttom?



  • Hi Guys,

    I have no ideas about those two questions. please help me out:

    1.how can I get to know whether a vertical bar in the QtableView already goes to the buttom?

    1. how can I know the default size or row numbers which are displayed in the QTableView?


    1. I use this:
      @if (tableView->verticalScrollBar()->value() == tableView->verticalScrollBar()->maximum()) {
      //something;
      }@
    2. "default size"
      @tableView->rowHeight();@

    PS: maybe you need scrollTo()?



  • thank you very much


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.