OpenHantek
Public Member Functions
SelectSupportedDevice Class Reference

#include <selectsupporteddevice.h>

Inheritance diagram for SelectSupportedDevice:

Public Member Functions

 SelectSupportedDevice (QWidget *parent=0)
 
std::unique_ptr< USBDeviceshowSelectDeviceModal (libusb_context *context)
 
void showLibUSBFailedDialogModel (int error)
 

Detailed Description

Offers the user a device selection dialog. If you call any of the -Modal methods, the method will block and show a dialog for selection or for a usb error message. The method returns as soon as the user closes the dialog.

An example to get a user selected device: std::unique_ptr<USBDevice> device = SelectDevice().showSelectDeviceModal(context);


The documentation for this class was generated from the following files: