QTableView: how to take screenshot (grab widget) of complete content

  • Hello,

    is it possible, to take a screenshot of the complete widget that is contained in a QTableView?
    Think QScrollArea->widget()->grab().

    Background: I want to create a kind of overview scrollbar like SublimeText does.
    I want to display a miniature version of the complete contents of the QTableView at the side of the TableView to be able to

    • get an overview
    • use it to navigate (scroll) in the tableview

    Thus it is important for me, to get a representation of all the content in the QTableView and not just the parts that are visible through the viewport.

    Best regards,

Log in to reply

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