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
๋ฐ์ํ
'๐จ๐ผโ๐ป๊ฐ๋ฐ > PyQt' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
PyQt - ๋ฆฌ์์ค ์ ์ฉํ๊ธฐ (0) | 2022.05.31 |
---|---|
PyQt - ๋๋ ํ ๋ฆฌ ๋ฐ ํ์ผ ๊ฒฝ๋ก ๋ถ๋ฌ์ค๊ธฐ(QFileDialog) (0) | 2022.05.19 |
PyQt - ์คํ์ผ์ํธ ๋ ํผ๋ฐ์ค (0) | 2022.05.09 |
PyQt - ๊ฐ๋จํ๊ฒ ํ ๊ธ ์ค์์น ๋์์ธํ๊ธฐ (0) | 2022.05.07 |
PyQt - designer .ui๋ฅผ .py๋ก ๋ณํํ๊ธฐ (0) | 2022.05.07 |