CharakterVorteileWrapper.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Sephrasto 作者: Aeolitus 项目源码 文件源码
def __init__(self):
        super().__init__()
        if Wolke.Debug:
            print("Initializing VorteileWrapper...")
        self.formVor = QtWidgets.QWidget()
        self.uiVor = CharakterVorteile.Ui_Form()
        self.uiVor.setupUi(self.formVor)

        self.uiVor.treeWidget.itemSelectionChanged.connect(self.vortClicked)
        self.uiVor.treeWidget.itemChanged.connect(self.itemChangeHandler)
        self.uiVor.treeWidget.header().setSectionResizeMode(0,1)

        if len(Wolke.Char.vorteile) > 0:
            self.currentVort = Wolke.Char.vorteile[0]
        else:
            self.currentVort = ""

        self.itemWidgets = {}

        self.initVorteile()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号