• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ConnectWizardScreen
  • ConnectWizardScreen Class

    The first screen of the controller wizard: a table of serial ports, the board found on each, and what the user can do with it. More...

    Header: #include <ConnectWizardScreen>
    Since: 1.0
    Inherits: QWidget

    Detailed Description

    The screen shows one row for each port that setPortList() gives it, with the newest port at the top. It does no probing itself. Its owner starts a probe when the screen emits probePortRequested(), and reports back through setPortProbing() and updatePortProbeResult(). The action button of each row follows the result: "Probe", a spinner, "Use this board" when the OctoMY firmware answered, or "Install firmware" when the board is known but has no firmware. These buttons emit portSelected() and firmwareInstallRequested().

    ControllerWidget in libfixo creates the screen as its child and puts it in its stacked widget. "Skip" shows only when the owner has a previous configuration, and "Compatible boards" shows only after the owner sets the URL to open.