libyui-qt
2.46.13
|
Public Member Functions | |
YQRichText (YWidget *parent, const std::string &text, bool plainTextMode=false) | |
Constructor. | |
virtual | ~YQRichText () |
Destructor. | |
virtual void | setValue (const std::string &newValue) |
Change the text content of the RichText widget. More... | |
virtual void | setPlainTextMode (bool on=true) |
Set this RichText widget's "plain text" mode on or off. More... | |
virtual void | setAutoScrollDown (bool on=true) |
Set this RichText widget's "auto scroll down" mode on or off. More... | |
virtual int | preferredWidth () |
Preferred width of the widget. More... | |
virtual int | preferredHeight () |
Preferred height of the widget. More... | |
virtual void | setSize (int newWidth, int newHeight) |
Set the new size of the widget. More... | |
virtual void | setEnabled (bool enabled) |
Set enabled/disabled state. More... | |
virtual bool | setKeyboardFocus () |
Accept the keyboard focus. More... | |
virtual bool | eventFilter (QObject *obj, QEvent *ev) |
Event filter. More... | |
bool | haveHyperLinks () |
Returns 'true' if the current text of this RichText widget contains hyperlinks. | |
Protected Slots | |
void | linkClicked (const QUrl &url) |
Notification that a hyperlink is clicked. | |
Protected Attributes | |
YQTextBrowser * | _textBrowser |
Definition at line 38 of file YQRichText.h.
|
virtual |
Event filter.
Reimplemented from QWidget.
Definition at line 157 of file YQRichText.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 196 of file YQRichText.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 190 of file YQRichText.cc.
|
virtual |
Set this RichText widget's "auto scroll down" mode on or off.
Reimplemented from YRichText.
Definition at line 141 of file YQRichText.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 208 of file YQRichText.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 215 of file YQRichText.cc.
|
virtual |
Set this RichText widget's "plain text" mode on or off.
Reimplemented from YRichText.
Definition at line 130 of file YQRichText.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 202 of file YQRichText.cc.
|
virtual |
Change the text content of the RichText widget.
Reimplemented from YRichText.
Definition at line 98 of file YQRichText.cc.