Пример #1
0
 def updateEditorGeometry(self, editor, opt, index):
     #print "geometry:", opt.rect
     #opt.rect.adjust(0, 30, 100, 60)
     QStyledItemDelegate.updateEditorGeometry(self, editor, opt, index)
Пример #2
0
 def updateEditorGeometry(self, editor, opt, index):
     #print "geometry:", opt.rect
     #opt.rect.adjust(0, 30, 100, 60)
     QStyledItemDelegate.updateEditorGeometry(self, editor, opt, index)