๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘จ๐Ÿผ‍๐Ÿ’ป๊ฐœ๋ฐœ/PyQt

PyQt - ํ…Œ์ด๋ธ” ํ—ค๋” ๋ฐฐ๊ฒฝ ์ƒ‰ ๋ณ€๊ฒฝ

by Janger 2022. 11. 8.
728x90
๋ฐ˜์‘ํ˜•
self.table_invest = QtWidgets.QTableWidget(self.tab)
self.table_invest.setStyleSheet('QTableWidget{\ncolor:black;}\nQHeaderView::section{background-color: rgb(23,33,43); };')

 

์ฐธ๊ณ : 

https://forum.qt.io/topic/87371/how-to-change-qtablewidget-header-color-and-selection-color

 

How to change QTableWidget header color and selection color ?

Solved! tableWidget->setStyleSheet("QTableView::item:selected { color:white; background:#000000; font-weight:900; }" "QTableCornerButton::section { background-color:#232326; }" "QHeaderView::section { ...

forum.qt.io

 

728x90
๋ฐ˜์‘ํ˜•