def __init__(self, parent):
super().__init__('Outline', parent)
self.outline_width_edit = QtWidgets.QDoubleSpinBox(
self, minimum=0, maximum=999)
self.shadow_width_edit = QtWidgets.QDoubleSpinBox(
self, minimum=0, maximum=999)
layout = QtWidgets.QGridLayout(self)
layout.setColumnStretch(0, 1)
layout.setColumnStretch(1, 2)
layout.addWidget(QtWidgets.QLabel('Outline:', self), 0, 0)
layout.addWidget(self.outline_width_edit, 0, 1)
layout.addWidget(QtWidgets.QLabel('Shadow:', self), 1, 0)
layout.addWidget(self.shadow_width_edit, 1, 1)
评论列表
文章目录