Important: Please read the Qt Code of Conduct -

Retrieve the visible QTabeleWidgetItems in a QTableWidget with ScrollBars

  • Hi there,

    I have a large QTableWidget (which is a kind of calendar) which has a horizontal scrollbar. I'd like to retrieve the currently visible QTableWidgetItems.
    The reason is that I want to display some informations depending to the currently visible items.

    Is there a way to get this information?

    Thank you all!

  • I do not know much English, but this should help you.

    Ps. Qt 5.3

  • Thanks, but I already searched the documentation without finding a solution for me. I am using 5.1 atm but also looking in the 5.3 documentation did not give me a hint...

    I saw the visibleRegion()-method, but I don't know how I should get my visible items out of that.

    Could you give me an example?

Log in to reply