6 """ |
6 """ |
7 Module implementing a dialog to select the port to connect to and the type of |
7 Module implementing a dialog to select the port to connect to and the type of |
8 the attached device. |
8 the attached device. |
9 """ |
9 """ |
10 |
10 |
11 from PyQt6.QtCore import pyqtSlot, Qt |
11 from PyQt6.QtCore import Qt, pyqtSlot |
12 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
12 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
13 |
13 |
|
14 from . import MicroPythonDevices |
14 from .Ui_ConnectionSelectionDialog import Ui_ConnectionSelectionDialog |
15 from .Ui_ConnectionSelectionDialog import Ui_ConnectionSelectionDialog |
15 |
|
16 from . import MicroPythonDevices |
|
17 |
16 |
18 |
17 |
19 class ConnectionSelectionDialog(QDialog, Ui_ConnectionSelectionDialog): |
18 class ConnectionSelectionDialog(QDialog, Ui_ConnectionSelectionDialog): |
20 """ |
19 """ |
21 Class implementing a dialog to select the port to connect to and the type |
20 Class implementing a dialog to select the port to connect to and the type |