No, I don't know all the constants by heart. It's best to look into source-code of QAbstractScrollArea to see what gets called by it. It could be that you can get the proper numbers (at least for the padding of the viewport relative to the whole widget) by the public API of the latter.
Bookmarks