def addSection(self, text):
action = QtGui.QAction(text, self)
# action.setSeparator(True)
font = action.font()
font.setPointSize(9)
font.setItalic(True)
action.setFont(font)
action.setEnabled(False)
self.addAction(action)
return action
评论列表
文章目录