hi. how can i insert a path in a list widget?
here's the scene..i will insert a path of a .txt file in the code then the listwidget will display its content..can someone help me?
hi. how can i insert a path in a list widget?
here's the scene..i will insert a path of a .txt file in the code then the listwidget will display its content..can someone help me?
There is no magic bullet readAndDisplayMyArbitraryData() method.
Open and read the file then do whatever you like with the content:
QFile and QTextStream
QListWidget might be the sort of display widget you were referring to. You might also look at QPlainTextEdit.
Bookmarks