PyQt5最全47 表格之setTextAlignment设置单元格的文本对齐方式
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import Qt
import sys
class CellTextAlignment(QWidget):
"""
设置单元格的文本对齐方式
setTextAlignment
Qt.AlignRight Qt.AlignBottom
"""
def __init__(self):
super(CellTextAlignment, self).