eric6/MicroPython/PyBoardDevices.py

changeset 8096
5425a9072300
parent 8081
e0087e542717
child 8117
aaa5e0eacd4e
equal deleted inserted replaced
8095:d8caff84ffcf 8096:5425a9072300
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

eric ide

mercurial