(self)
| 24 | https://build-system.fman.io/manual/#your-python-code |
| 25 | """ |
| 26 | def __init__(self): |
| 27 | if self.excepthook: |
| 28 | self.excepthook.install() |
| 29 | # Many Qt classes require a QApplication to have been instantiated. |
| 30 | # Do this here, before everything else, to achieve this: |
| 31 | self.app |
| 32 | # We don't build as a console app on Windows, so no point in installing |
| 33 | # the SIGINT handler: |
| 34 | if not is_windows(): |
| 35 | self._signal_wakeup_handler = \ |
| 36 | SignalWakeupHandler(self.app, self._qt_binding.QAbstractSocket) |
| 37 | self._signal_wakeup_handler.install() |
| 38 | if self.app_icon: |
| 39 | self.app.setWindowIcon(self.app_icon) |
| 40 | def run(self): |
| 41 | """ |
| 42 | You should overwrite this method with the steps for starting your app. |
nothing calls this directly
no test coverage detected