void QComboBox::setItemData ( int index, const QVariant & value, int role = Qt::UserRole )
void Dialog::auth(){ QMap <int,QString> pass; pass.insert(ui->comboBox->currentIndex(1),ui->lineEdit->setText("123");)}
QCombobox box;box.addItem("LEO", "password")
if (box.currentIndex()->itemData() == ui.lineEdit->text()) qDebug() << "Ok";else qDebug() << "NoOk";
box.itemData(box.currentIndex())