728x90
๋ฐ์ํ
QCheckBox::indicator:unchecked {
image: url("switch_off.png");
}
QCheckBox::indicator:checked {
image: url("switch_on.png");
}
์ด๋ฏธ์ง๋ฅผ ์ด์ฉํด์ ํ ๊ธ ๋์์ธ
์ถ์ฒ:
https://stackoverflow.com/questions/62363953/how-to-create-toggle-switch-button-in-qt-designer
728x90
๋ฐ์ํ
'๐จ๐ผโ๐ป๊ฐ๋ฐ > PyQt' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
PyQt - ๋๋ ํ ๋ฆฌ ๋ฐ ํ์ผ ๊ฒฝ๋ก ๋ถ๋ฌ์ค๊ธฐ(QFileDialog) (0) | 2022.05.19 |
---|---|
PyQt - ์คํ์ผ์ํธ ๋ ํผ๋ฐ์ค (0) | 2022.05.09 |
PyQt - designer .ui๋ฅผ .py๋ก ๋ณํํ๊ธฐ (0) | 2022.05.07 |
PyQt - ์๋์ฐ์ฐฝ ํฌ๋ช ํ๊ฒ ๋ง๋ค๊ธฐ (0) | 2022.05.07 |
PyQt - ํธ๋ ์ด(Tray) ๋ง๋ค๊ธฐ ๋ฐ ๋ฉ๋ด ์ถ๊ฐ (0) | 2022.05.07 |