I cannot figure out how to extract the value of a selected item from a QListWidget.
For example, say I have a list with three items "Hello", "Goodbye", "Goodmorning".
The user interface has a push button, the QListWidget and a label.
I have a slot connected to the clicked() button in which I want the selected item from the list widget, that value is put into the value of the label using ui->label->setText(value); What I don't understand is how to extract the value from the selected item in the QListWidget. Thank you in advance.
Bookmarks