Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Remove border lines from QHeaderView.



  • Hi
    I Have QTableView object and I get the header view with horizontalHeader() method.
    I want to remove horizontal border lines from headerview. I know that QHeaderView inherits QFrame but when I do setFrameShape(QFrame::VLine) it does nothing. Can somebody explain me what is wrong and what I should do?
    thank you!