I am trying to obscure passwords in my Qtableview in Qt. I tried :
QTableView view;
View.setItemDelegateForColumn(8,());
Also :
ui->tableView->setColumnhidden(8,true);
I know it's not right, just what I was trying to hide/obscure column 8.
I am trying to obscure passwords in my Qtableview in Qt. I tried :
QTableView view;
View.setItemDelegateForColumn(8,());
Also :
ui->tableView->setColumnhidden(8,true);
I know it's not right, just what I was trying to hide/obscure column 8.
Copyright © 2021 Jogjafile Inc.
You can store password in item data. Something like this:
I also used Qt::AccessibleTextRole to store whether the password is shown or not, it seems to be free