def __init__(self, *args, **kwargs):
super(KeyboardWidget, self).__init__(*args, **kwargs)
self.key_map = {}
self.active_sequence = QtGui.QKeySequence()
layout = QtGui.QVBoxLayout()
# Setting up the context checkboxes above.
self.init_context_box(layout)
# Setting up the main keyboard view.
self.init_keyboard_base(layout)
# Setting up the bottom area. The search area and the extra keyboard buttons.
self.setLayout(layout)
评论列表
文章目录