Home > Mobile >  QT: QTableWidget header set problem
QT: QTableWidget header set problem

Time:03-26

QTableWidget after set the header form the blank area in the upper left corner how to set up and header? Like the picture in the blank area in the upper left corner set style and add text

CodePudding user response:

The know bosses reply, thank you

CodePudding user response:

Can hide the vertical header, there is no the blank area

CodePudding user response:

refer to the second floor of salted fish DoYoung reply:
can hide the vertical header, there is no the white space ah
I of this project need to make like header, a blank area because QTableWidget click on the blank area all rows and columns are all I need this function

CodePudding user response:

The corner widget in a QTableView is implemented as a QAbstractButton and can be styled using The "QTableView QTableCornerButton: : section" selector.
  •  Tags:  
  • Qt
  • Related