Yes, in another project.
QGraphicsView lays a top of QAbstaractScrollArea, so scroll bars appears there out of a box. But it requires a few lines of code to add scrolling by drag a scene.
This time I needed QML way.
Ok, we have one model , we are continuously appending data, on that time scroll will be always at bottom, even if we scroll to top , it will come back to bottom, until wee stop appending.
void CustomeTableView::createTabel(QString thText)
IF u have this case,
user click on Tab
In tab there are many widget so he need to scroll to see last of them, then u just use
a scroll area and put all stuff inside. then it will just work. ScrollArea have scrollbars.
U can control if both horz and vert or just horz.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.