I wish to print all the items of listwidget in a file. The listwidget is contained in a dialog.
I wanted to access the listwidget items row by row and print the name of items in a file. Kindly suggest some way to do this.
Qt Code:
for(int i=0; i<=listwidget->count(); i++) { spf_in<<bstr<<"\n"; }To copy to clipboard, switch view to plain text mode
Any help will be appreciated.
Bookmarks