Mercurial > lcfOS
comparison python/ide.py @ 163:8104fc8b5e90
Added visitor to c3
author | Windel Bouwman |
---|---|
date | Mon, 18 Mar 2013 20:13:57 +0100 |
parents | d8c735dc31f9 |
children | e023d3ce1d63 |
comparison
equal
deleted
inserted
replaced
162:d8c735dc31f9 | 163:8104fc8b5e90 |
---|---|
189 addMenuEntry('About', self.helpMenu, self.aboutDialog.open) | 189 addMenuEntry('About', self.helpMenu, self.aboutDialog.open) |
190 | 190 |
191 addMenuEntry('Cascade windows', self.viewMenu, self.mdiArea.cascadeSubWindows) | 191 addMenuEntry('Cascade windows', self.viewMenu, self.mdiArea.cascadeSubWindows) |
192 addMenuEntry('Tile windows', self.viewMenu, self.mdiArea.tileSubWindows) | 192 addMenuEntry('Tile windows', self.viewMenu, self.mdiArea.tileSubWindows) |
193 | 193 |
194 sb = self.statusBar() | |
195 | |
194 # Load settings: | 196 # Load settings: |
195 self.settings = QSettings('windelsoft', 'lcfoside') | 197 self.settings = QSettings('windelsoft', 'lcfoside') |
196 self.loadSettings() | 198 self.loadSettings() |
197 | 199 |
198 ce = self.newFile() | 200 ce = self.newFile() |
325 | 327 |
326 def errorSelected(self, err): | 328 def errorSelected(self, err): |
327 ce = self.activeMdiChild() | 329 ce = self.activeMdiChild() |
328 if not ce: | 330 if not ce: |
329 return | 331 return |
330 ce.highlightErrorLocation(err.loc.row, err.loc.col) | 332 ce.setRowCol(err.loc.row, err.loc.col) |
331 | 333 |
332 # Project loading: | 334 # Project loading: |
333 | 335 |
334 # Build recepy: | 336 # Build recepy: |
335 def buildFile(self): | 337 def buildFile(self): |