Object Detection  5.0
Image Processing Using Qt and Opencv
Utilities::SerialPortModel Class Reference
+ Inheritance diagram for Utilities::SerialPortModel:
+ Collaboration diagram for Utilities::SerialPortModel:

Public Types

enum  type {
  PORT = Qt::UserRole + 1, PORT_INFO, PORT_NAME, PORT_DESCRIPTION,
  PORT_SYSTEM_LOCATION, MANUFACTURER, SERIAL_NUM
}
 

Public Slots

void refreshModel ()
 

Public Member Functions

 SerialPortModel (QObject *parent=nullptr)
 
QList< QSerialPortInfo > portsInfo () const
 
void setPortsInfo (const QList< QSerialPortInfo > &portsInfo)
 
QList< QSerialPort * > avialabePorts () const
 
void setAvialabePorts (const QList< QSerialPort *> &avialabePorts)
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
virtual bool removeRows (int row, int count, const QModelIndex &parent) override
 
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
 

Detailed Description

Definition at line 16 of file serialportmodel.h.


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