comparison python/st-util.py @ 132:205578c96a79

Moved hexview to seperate class
author Windel Bouwman
date Sun, 20 Jan 2013 17:45:45 +0100
parents 04e45faafd1d
children 9af544be5d2a
comparison
equal deleted inserted replaced
131:04e45faafd1d 132:205578c96a79
49 class RegisterView(QTableView): 49 class RegisterView(QTableView):
50 def __init__(self): 50 def __init__(self):
51 super().__init__() 51 super().__init__()
52 self.mdl = RegisterModel() 52 self.mdl = RegisterModel()
53 self.setModel(self.mdl) 53 self.setModel(self.mdl)
54
55 class MemoryViewer(QWidget):
56 pass
57
58 class FlashTool(QWidget):
59 def __init__(self):
60 super().__init__()
54 61
55 class DeviceTreeModel(QAbstractItemModel): 62 class DeviceTreeModel(QAbstractItemModel):
56 def __init__(self): 63 def __init__(self):
57 super().__init__() 64 super().__init__()
58 self.chipPixmap = QPixmap('chip.png').scaled(32, 32) 65 self.chipPixmap = QPixmap('chip.png').scaled(32, 32)