Nominate our 2022 Qt Champions!

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!