How to change scroll position in QTableView to be below the title?

How to change scrollbar position next to title

enter image description here

below the title?

enter image description here

Any ideas how to implement this are appreciated.

+4
source share
1 answer

You can try the hack below:

  • Put QTableViewinQVBoxLayout
  • Get horizontal header view from QTableView using horizontalHeader()
  • Paste the horizontal header view on QVBoxLayouttopQTableView
0
source

Source: https://habr.com/ru/post/1649795/


All Articles