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))
评论列表
文章目录