|
enum | type {
PORT = Qt::UserRole + 1,
PORT_INFO,
PORT_NAME,
PORT_DESCRIPTION,
PORT_SYSTEM_LOCATION,
MANUFACTURER,
SERIAL_NUM
} |
|
|
| 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 |
|
Definition at line 16 of file serialportmodel.h.
The documentation for this class was generated from the following files: