290 """ |
290 """ |
291 Private slot called to handle the navigation button menu selection. |
291 Private slot called to handle the navigation button menu selection. |
292 |
292 |
293 @param act reference to the selected action (QAction) |
293 @param act reference to the selected action (QAction) |
294 """ |
294 """ |
295 index, ok = act.data() |
295 index = act.data() |
296 if ok: |
296 if index is not None: |
297 self.setCurrentIndex(index) |
297 self.setCurrentIndex(index) |
298 |
298 |
299 def showIndicator(self, on): |
299 def showIndicator(self, on): |
300 """ |
300 """ |
301 Public slot to set the indicator on or off. |
301 Public slot to set the indicator on or off. |