c++ - QListWidget
- by user1889459
I created a working QListWidget with multiple items, but I can't figure out how to make it user-friendly. It looks like this:
1000
1001
1002
...
But I want it to look like this, where firt 4 numbers have a meaning, while all the rest info is just for user.
1000 Name LastName and some other helpful info
1001 tom jeff smallville
1002 ming vase, 1992
...
For example, this line
fotoId = ui->devices->currentItem()->text().toInt();
should give me same result in both cases.