virtual void setValue(const std::string &newValue)
Change the text content of the RichText widget.
virtual void setPlainTextMode(bool on=true)
Set this RichText widget's "plain text" mode on or off.
virtual int preferredWidth()
Preferred width of the widget.
virtual void setAutoScrollDown(bool on=true)
Set this RichText widget's "auto scroll down" mode on or off.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
Helper class - needed to have the benefits of both QVBox as the base class for YQRichText so uniform ...
virtual bool setKeyboardFocus()
Accept the keyboard focus.
YQRichText(YWidget *parent, const std::string &text, bool plainTextMode=false)
Constructor.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
void linkClicked(const QUrl &url)
Notification that a hyperlink is clicked.
virtual bool eventFilter(QObject *obj, QEvent *ev)
Event filter.
bool haveHyperLinks()
Returns 'true' if the current text of this RichText widget contains hyperlinks.
YQTextBrowser(QWidget *parent=0)
Constructor.
virtual void setSource(const QUrl &name)
Get the document pointed to by a hyperlink.