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

How to change color of contour line/border in Tableview



  • I want to reformulate my last question i post here: https://forum.qt.io/topic/125538/stylesheet-with-tableview/8

    I have a tableview.
    The actual border of TableView is pink , the horizontal contour line header is pink and the vertical contour line header is pink, I want to change the color of the vertical contour line header in blue, and the horizontal contour line header in red. I still want the big rectangle contour in pink.

    tableview.png

    Also, I don't know how to put the color of vertical line of the horizontal header in black like this
    aaa.png

    This is the actual stylesheet of my tableview
    style.png

    So, im new with stylesheet and I dont know how to color the vertical header border in blue, the horizontal header border in red, and the vertical line of the horizontal border in black


Log in to reply