PDA

View Full Version : Qt class showing text area/text edit



maverick_pol
20th August 2008, 18:26
Hi gusy,

I have to show a part of help text and do not want to create a custom class.
Is there a Qt class that can show a text in a scrollable area and display a close button.

Thanks,

Kacper

roxton
20th August 2008, 18:36
Put the QTextEdit and QPushButton into the QWidget container and show the last as a window. See the documenation about layouts.

maverick_pol
20th August 2008, 18:38
Hi,

Please, once again read my question: Is there a built in Qt class that has features mentioned ?
I do know how to create such custom widget.

Kacper

wysota
20th August 2008, 19:55
Hmm... QErrorMessage maybe?

maverick_pol
21st August 2008, 12:15
Almost what I need.

Thanks for the idea.


Kacper