- 1
- 2
- 3
- 4
auto id = qobject_cast<QStandardItemModel *>(ui->cbxDevice->model())
->item(ui->cbxDevice->currentIndex(),
RemoteDev::Constants::DEV_ID_COLUMN)
->data(RemoteDev::Constants::DEV_ID_ROLE);
Antervis 21.12.2015 06:18 # 0