Dimensions Of QHeaderView
Solved
General and Desktop
-
Hi Community,
I have QTreeView object that has a header. Which can be accessed by header() which returns QTreeView* object. Is there a way to get the header geometry of my treeview?
-
@Abhi_Varma And what is the problem?
treeView->header()->geometry();
-
@Abhi_Varma Yes, QTreeView is a QWidget so you can use https://doc.qt.io/qt-6/qwidget.html#geometry-prop
-
@Abhi_Varma And what is the problem?
treeView->header()->geometry();
-