I have a QListWidget lwFoo whch cantains a column of QString items.
I double clicked on an item and got an index, but what I want is the item itself. In Ot3 terminalogy the "text"!!!.
I can't make heads or tails of documentation to do this.
I would appreciate is if someone could give me the code or explain the documentation in an understandable format.
I think I found a way
inputText = wow->text();
QListWidgetItem *wow = lwCurrentList->item ( index );
inputText = wow->text();
To copy to clipboard, switch view to plain text mode
or
inputText = lwCurrentList->item ( index ) -> text();
inputText = lwCurrentList->item ( index ) -> text();
To copy to clipboard, switch view to plain text mode
tsk! tsk! tsk!
Thanks.
Bookmarks