libyui-qt
Loading...
Searching...
No Matches
YQTextBrowser Class Reference

#include <YQRichText.h>

Inheritance diagram for YQTextBrowser:
Collaboration diagram for YQTextBrowser:

Public Slots

virtual void setSource (const QUrl &name)
 

Public Member Functions

 YQTextBrowser (QWidget *parent=0)
 

Detailed Description

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 feature (enable hyperlinks) without removing the text each time the user clicks.

This class is required only to overwrite setSource().

Constructor & Destructor Documentation

◆ YQTextBrowser()

YQTextBrowser::YQTextBrowser ( QWidget *  parent = 0)
inline

Constructor

Member Function Documentation

◆ setSource

void YQTextBrowser::setSource ( const QUrl &  name)
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.


The documentation for this class was generated from the following files: