def __init__(self):
super(MatcherUI, self).__init__()
self.setWindowTitle("Matcher")
self.resize(230, 180)
self.layout = QtGui.QVBoxLayout(self)
label = QtGui.QLabel("Match attributes\nbetween objects")
separator = HSeparator()
self.name = QtGui.QCheckBox("Name")
self.color = QtGui.QCheckBox("Color")
self.position = QtGui.QCheckBox("Position")
self.rotation = QtGui.QCheckBox("Rotation")
self.ref = QtGui.QCheckBox("Ref")
separator2 = HSeparator()
self.button = QtGui.QPushButton("Apply")
self.layout.addWidget(label)
self.layout.addWidget(separator)
self.layout.addWidget(self.name)
self.layout.addWidget(self.color)
self.layout.addWidget(self.position)
self.layout.addWidget(self.rotation)
self.layout.addWidget(self.ref)
self.layout.addWidget(separator2)
self.layout.addWidget(self.button)
评论列表
文章目录