AlexW.H.B.
AlexW.H.B.

Reputation: 1871

how to make a Qt text output widget?

What is the best way to a text based output in a Qt widget? what I mean by this is... like in win RAR or some windows installers where there is a drop down arrow showing more details and it shows live text output of files modified and things of that nature. how would I go about doing that in a Qt app?

I was thinking maybe a none editable multiple line text box... but I'm not sure, because I don't wan't it to be editable.

any help on this would be greatly appreciated.

Upvotes: 0

Views: 714

Answers (1)

phyatt
phyatt

Reputation: 19142

QLabel

QTextDocument

QTextEdit

Almost all of the options above, can be configured to be "Read-only" or even unclickable by making them disabled.

QTextStream is also a really useful class.

Hope that helps.

Upvotes: 1

Related Questions