232 self.__flashMicroPython) |
232 self.__flashMicroPython) |
233 act.setEnabled(not connected) |
233 act.setEnabled(not connected) |
234 menu.addSeparator() |
234 menu.addSeparator() |
235 menu.addAction(self.tr("MicroPython Flash Instructions"), |
235 menu.addAction(self.tr("MicroPython Flash Instructions"), |
236 self.__showFlashInstructions) |
236 self.__showFlashInstructions) |
|
237 |
|
238 def hasFlashMenuEntry(self): |
|
239 """ |
|
240 Public method to check, if the device has its own flash menu entry. |
|
241 |
|
242 @return flag indicating a specific flash menu entry |
|
243 @rtype bool |
|
244 """ |
|
245 return True |
237 |
246 |
238 @pyqtSlot() |
247 @pyqtSlot() |
239 def __showFlashInstructions(self): |
248 def __showFlashInstructions(self): |
240 """ |
249 """ |
241 Private slot to open the URL containing instructions for installing |
250 Private slot to open the URL containing instructions for installing |