0

I'm working on a project that has a lot of tables. I used QTableWidget. Horizontal headers are visible, verticals are hiddden. I wrote style sheet for one of them, rest of them are just copied from that one. In Qt Designer, everything is alright, but when I run the program, there's not headers on QTableWidgets. I checked horizontalHeaderVisible property of every tables, it checked. I don't know why this is happening. It seems bug to me.

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Abdurahmon
  • 148
  • 1
  • 9

1 Answers1

0

I'm using Qt creator v4.13.1. In designer, everything is ok as I said. Then I opened all .ui files in notepad, and searched for horizontalHeaderVisible property. Of course there were many false values as I expected, then I changed them to true. Then headers became visible. It seems bug of Qt creator.

Abdurahmon
  • 148
  • 1
  • 9