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?
2. how can I know the default size or row numbers which are displayed in the QTableView? -
- I use this:
@if (tableView->verticalScrollBar()->value() == tableView->verticalScrollBar()->maximum()) {
//something;
}@ - "default size"
@tableView->rowHeight();@
PS: maybe you need scrollTo()?
- I use this:
-
thank you very much