[PyQt5] QTableWidget Cell에 넣는 CheckBox 중앙정렬하기
다음 코드처럼 PyQt5로 테이블을 만드는 중에 데이블 안의 아이템안에 체크박스를 넣게 되었다. import sys from PyQt5.QtWidgets import QMainWindow, QApplication, QWidget, QTableWidget,QTableWidgetItem,QVBoxLayout,QCheckBox from PyQt5 import Qt,QtCore class TableWidget(QWidget): def __init__(self): super().__init__() self.title = 'Checkbox in Table' self.left = 0 self.top = 0 self.width = 640 self.height = 480 self.numRow = 5 self.numCol..
Programming/python
2019. 5. 22. 19:49
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- MicroBit
- docker
- fablab
- git
- Streamlit
- WSL
- vscode
- comfyUI
- 단축키
- 메이커
- Arduino
- ssh
- ubuntu
- conda
- vvvv
- tensorflow
- Linux
- Maker
- opencv
- CAD
- nodejs
- 한글
- 3d프린터
- Fusion360
- Stable Diffusion
- nvidia
- Python
- cura
- 파이썬
- 우분투
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함