QT C++ GUI Tutorial 27- How to read text file and display file to a textbrowser or textEdit

preview_player
Показать описание
How to display text from a file to a text browser
Reading and Writing Text | C++ GUI Programming with Qt4
QtCreator GUI open text file
parsing - Load Text File Into Table Widget in Qt
How to read a textfile and display result in gui
Thread: how to use QtextEdit to open & read text files
How to read and display BMP image just using QT's GUI?
QT file reading example
How to load a map in QT GUI application using text file
Рекомендации по теме
Комментарии
Автор

Мужик, ты заложил основу мой курсовой. Благодарность тебе и всем людям, что безвозмездно делятся знаниями в интернете. Ты классный

humanmm
Автор

Excellent!!! Simply the Excellent!!! So many tweaks for me!!!

UAConstantine
Автор

good job dude, easy to follow and clear tutorial

bobschmidt
Автор

thanks again, it's the third video saving my life.

JackPillawa
Автор

Hello thanks for the tutorial, i have a question, how i can read the text from a textedit or a text browser?

osvanicolina
Автор

Thank for your tutorial... but i have problem, what function i use for read text and display text automatically, dont need to click the push button? because i have a project for displaying many text files one by one... Thank for your help 

wendythai
Автор

I think you should also show the contents of this file what you have opened.

arsov
Автор

how to use readLine() and read only the last line of text document?

snehabhat
Автор

sir how to create text file using qt..im getting so many errors plz help me out.?

BAT_
Автор

hello, i have a question, i take a string data from serialport but i want to show it hex format how can i do this ?

veyselolgun
Автор

This will never work because if you distribute this application no one will have the exact file location on their machine how do I address this issue?

ElectricMilesLLC
Автор

I need a global variable that store value entered by user in PlainTextEditor ... and when push button clicked it should get stored in a new file(File handling Concept)..

#urgent  

ashutoshsingh
Автор

whether the pdf file can be opened with this method?

renaldi
Автор

Hi, what should i do if i want to read large file (20Go)?

yasmine
Автор

My code wasn't working till i add this function:


QMessageBox::information(0, "info", myFile.errorString());
}

the question is Why?! :\

ziadhassan
Автор

It doesn't function with a .docx file. What I am doing wrong?

maotoledos
Автор

why is it that all the people who make these kinds of videos have accents

Thisgeekykid
Автор

good effort though you are too slow! (just saying) :) 

sanchit.samuel