app.py 文件源码

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

项目:SantosGUI 作者: santosfamilyfoundation 项目源码 文件源码
def gridRowHelper(self, label_txt, info_txt=None):
        """Helper to construct the widgets that make up the config UI
        grid rows.
        Returns (label, info, line_edit) elements.
        """
        label = QtWidgets.QLabel(label_txt)
        if info_txt:
            info = QtWidgets.QToolButton()
            info.setIcon(qta.icon('fa.question'))
            info.clicked.connect(lambda: self.parent.show_message(info_txt))
        else:
            info = None
        line_edit = QtWidgets.QLineEdit()
        return label, info, line_edit
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号