KeyboardKey.py 文件源码

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

项目:pyqt5 作者: yurisnm 项目源码 文件源码
def __init__(self, style, str_icon_on, str_icon_off, auto_repeat, size,
                 receiver, key, str_key):
        super(KeyboardKey, self).__init__()
        self.__size = size
        self.__style = style
        self.__icon_on = str_icon_on
        self.__icon_off = str_icon_off
        self.__auto_repeat = auto_repeat
        self.__receiver = receiver
        self.__key = key
        self.__str_key = str_key
        self.set_up_button(style, str_icon_on, str_icon_off, auto_repeat, size,
                           receiver, key, str_key)
        self.setCursor(QCursor(Qt.PointingHandCursor))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号