ui->ListDevice->clear();
int k = 1;
for(QVector< CDevice >::iterator it = arrDevice.begin(); it != arrDevice.end(); it++){
QListWidgetItem *itemDevice = new QListWidgetItem;
itemDevice->setText(it->getName());
ui->ListDevice->insertItem(k,itemDevice);
k++;
}