◆ YQRichText()
| YQRichText::YQRichText |
( |
YWidget * |
parent, |
|
|
const std::string & |
text, |
|
|
bool |
plainTextMode = false |
|
) |
| |
◆ ~YQRichText()
| YQRichText::~YQRichText |
( |
| ) |
|
|
virtual |
◆ activateLink()
| void YQRichText::activateLink |
( |
const std::string & |
url | ) |
|
|
virtual |
Derived classes should implement this, method is used to trigger event like user has clicked link in the RichText
◆ eventFilter()
| bool YQRichText::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
ev |
|
) |
| |
|
virtual |
Event filter.
Reimplemented from QWidget.
◆ haveHyperLinks()
| bool YQRichText::haveHyperLinks |
( |
| ) |
|
Returns 'true' if the current text of this RichText widget contains hyperlinks.
◆ hScrollValue()
| string YQRichText::hScrollValue |
( |
| ) |
const |
|
overridevirtual |
Get the horizontal scrollbar position.
Reimplemented from YRichText.
◆ linkClicked
| void YQRichText::linkClicked |
( |
const QUrl & |
url | ) |
|
|
protectedslot |
Notification that a hyperlink is clicked.
◆ preferredHeight()
| int YQRichText::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
| int YQRichText::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setAutoScrollDown()
| void YQRichText::setAutoScrollDown |
( |
bool |
on = true | ) |
|
|
virtual |
Set this RichText widget's "auto scroll down" mode on or off.
Reimplemented from YRichText.
◆ setEnabled()
| void YQRichText::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
◆ setHScrollValue()
| void YQRichText::setHScrollValue |
( |
const std::string & |
newValue | ) |
|
|
overridevirtual |
Set the horizontal scrollbar position.
Reimplemented from YRichText.
◆ setKeyboardFocus()
| bool YQRichText::setKeyboardFocus |
( |
| ) |
|
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
◆ setPlainTextMode()
| void YQRichText::setPlainTextMode |
( |
bool |
on = true | ) |
|
|
virtual |
Set this RichText widget's "plain text" mode on or off.
Reimplemented from YRichText.
◆ setSize()
| void YQRichText::setSize |
( |
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
◆ setValue()
| void YQRichText::setValue |
( |
const std::string & |
newValue | ) |
|
|
overridevirtual |
Change the text content of the RichText widget.
Reimplemented from YRichText.
◆ setVScrollValue()
| void YQRichText::setVScrollValue |
( |
const std::string & |
newValue | ) |
|
|
overridevirtual |
Set the vertical scrollbar position.
Reimplemented from YRichText.
◆ vScrollValue()
| string YQRichText::vScrollValue |
( |
| ) |
const |
|
overridevirtual |
Get the vertical scrollbar position.
Reimplemented from YRichText.
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libyui-qt-4.0.0/src/YQRichText.h
- /home/abuild/rpmbuild/BUILD/libyui-qt-4.0.0/src/YQRichText.cc