libyui-qt
2.47.1.1
|
Helper class - needed to have the benefits of both QVBox as the base class for YQRichText so uniform margins can be implemented (outside, not inside the scroll window as QTextBrowser normally does it) and QTextBrowser's featurs (enable hyperlinks) without removing the text each time the user clicks. More...
#include <YQRichText.h>
Public Slots | |
virtual void | setSource (const QUrl &name) |
Get the document pointed to by a hyperlink. More... | |
Public Member Functions | |
YQTextBrowser (QWidget *parent=0) | |
Constructor. | |
Helper class - needed to have the benefits of both QVBox as the base class for YQRichText so uniform margins can be implemented (outside, not inside the scroll window as QTextBrowser normally does it) and QTextBrowser's featurs (enable hyperlinks) without removing the text each time the user clicks.
This class is required only to overwrite setSource().
Definition at line 156 of file YQRichText.h.
|
virtualslot |
Get the document pointed to by a hyperlink.
Reimplemented from QTextBrowser to avoid having an empty text each time the user clicks on a hyperlink.
Definition at line 222 of file YQRichText.cc.