diff python/ide.py @ 137:0a540ce31cd5

Added debug toolbar and spaced hexedit
author Windel Bouwman
date Fri, 25 Jan 2013 23:47:34 +0100
parents 9af544be5d2a
children 1cc59ac80950
line wrap: on
line diff
--- a/python/ide.py	Wed Jan 23 21:54:14 2013 +0100
+++ b/python/ide.py	Fri Jan 25 23:47:34 2013 +0100
@@ -151,8 +151,12 @@
     self.devxplr = addComponent('Device explorer', stutil.DeviceExplorer())
     self.regview = addComponent('Registers', stutil.RegisterView())
     self.memview = addComponent('Memory', stutil.MemoryView())
+    self.ctrlToolbar = stutil.DebugToolbar()
+    self.addToolBar(self.ctrlToolbar)
+    self.ctrlToolbar.setObjectName('debugToolbar')
     self.devxplr.deviceSelected.connect(self.regview.mdl.setDevice)
     self.devxplr.deviceSelected.connect(self.memview.setDevice)
+    self.devxplr.deviceSelected.connect(self.ctrlToolbar.setDevice)
 
     # About dialog:
     self.aboutDialog = AboutDialog()