OpenHantek
Public Types | Public Member Functions
RawDevicesListModel Class Reference

#include <rawdeviceslistmodel.h>

Inheritance diagram for RawDevicesListModel:

Public Types

enum  Roles {
  ProductIDRole = Qt::UserRole+0, VendorIDRole = Qt::UserRole+1, AccessRole = Qt::UserRole+2, DeviceNameRole = Qt::UserRole+3,
  EntryPointerRole = Qt::UserRole+4
}
 

Public Member Functions

 RawDevicesListModel (libusb_context *context, QObject *parent=0)
 
virtual int rowCount (const QModelIndex &parent) const override
 
virtual int columnCount (const QModelIndex &parent) const override
 
virtual QVariant data (const QModelIndex &index, int role) const override
 
void updateDeviceList ()
 

Detailed Description

Provides a Model for the Qt Model/View concept. The {

See also
FindDevices} is required to update the list of available devices.

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