Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

YQRichText Class Reference

#include <YQRichText.h>

Inheritance diagram for YQRichText:

YRichText YWidget List of all members.

Public Member Functions

 YQRichText (QWidget *parent, const YWidgetOpt &opt, const YCPString &text)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)
void setText (const YCPString &RichText)
virtual bool setKeyboardFocus ()
bool eventFilter (QObject *obj, QEvent *ev)
bool haveHyperLinks ()

Protected Slots

void linkClicked (const QString &url)

Protected Attributes

YQTextBrowser_textBrowser
bool _shrinkable

Constructor & Destructor Documentation

YQRichText::YQRichText QWidget *  parent,
const YWidgetOpt opt,
const YCPString text
 

Constructor


Member Function Documentation

bool YQRichText::eventFilter QObject *  obj,
QEvent *  ev
 

Event filter - inherited from QWidget

bool YQRichText::haveHyperLinks  ) 
 

Returns 'true' if the current text of this RichText widget contains hyperlinks.

void YQRichText::linkClicked const QString &  url  )  [protected, slot]
 

Notification that a hyperlink is clicked.

long YQRichText::nicesize YUIDimension  dim  )  [virtual]
 

Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT

Implements YWidget.

void YQRichText::setEnabling bool  enabled  )  [virtual]
 

Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input.

Reimplemented from YWidget.

bool YQRichText::setKeyboardFocus  )  [virtual]
 

Accept the keyboard focus.

Reimplemented from YWidget.

void YQRichText::setSize long  newWidth,
long  newHeight
[virtual]
 

Sets the new size of the widget.

Reimplemented from YWidget.

void YQRichText::setText const YCPString RichText  )  [virtual]
 

Change the RichText text.

Reimplemented from YRichText.


Member Data Documentation

bool YQRichText::_shrinkable [protected]
 

YQTextBrowser* YQRichText::_textBrowser [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Oct 14 19:03:49 2005 for yast2-qt by doxygen 1.3.6