tdehtml
TDEHTMLView Class Reference
Renders and displays HTML in a TQScrollView. More...
#include <tdehtmlview.h>

Public Slots | |
void | scrollBy (int dx, int dy) |
Signals | |
void | finishedLayout () |
void | cleared () |
void | zoomView (int) |
void | hideAccessKeys () |
void | repaintAccessKeys () |
void | findAheadActive (bool) |
Public Member Functions | |
TDEHTMLView (TDEHTMLPart *part, TQWidget *parent, const char *name=0) | |
TDEHTMLPart * | part () const |
int | frameWidth () const |
void | setMarginWidth (int x) |
int | marginWidth () const |
void | setMarginHeight (int y) |
int | marginHeight () |
virtual void | setVScrollBarMode (ScrollBarMode mode) |
virtual void | setHScrollBarMode (ScrollBarMode mode) |
void | print () |
void | print (bool quick) |
void | layout () |
void | displayAccessKeys () |
Protected Slots | |
void | slotPaletteChanged () |
void | slotScrollBarMoved () |
void | scrollTick () |
Protected Member Functions | |
void | clear () |
virtual void | resizeEvent (TQResizeEvent *event) |
virtual void | showEvent (TQShowEvent *) |
virtual void | hideEvent (TQHideEvent *) |
virtual bool | focusNextPrevChild (bool next) |
virtual void | drawContents (TQPainter *p, int clipx, int clipy, int clipw, int cliph) |
virtual void | drawContents (TQPainter *) |
virtual void | viewportMousePressEvent (TQMouseEvent *) |
virtual void | focusInEvent (TQFocusEvent *) |
virtual void | focusOutEvent (TQFocusEvent *) |
virtual void | viewportMouseDoubleClickEvent (TQMouseEvent *) |
virtual void | viewportMouseMoveEvent (TQMouseEvent *) |
virtual void | viewportMouseReleaseEvent (TQMouseEvent *) |
virtual void | viewportResizeEvent (TQResizeEvent *) |
virtual void | viewportWheelEvent (TQWheelEvent *) |
virtual void | dragEnterEvent (TQDragEnterEvent *) |
virtual void | dropEvent (TQDropEvent *) |
virtual void | closeEvent (TQCloseEvent *) |
virtual bool | eventFilter (TQObject *, TQEvent *) |
void | keyPressEvent (TQKeyEvent *_ke) |
void | keyReleaseEvent (TQKeyEvent *_ke) |
void | contentsContextMenuEvent (TQContextMenuEvent *_ce) |
void | doAutoScroll () |
void | timerEvent (TQTimerEvent *) |
void | startScrolling () |
void | stopScrolling () |
void | scrollViewWheelEvent (TQWheelEvent *e) |
Friends | |
class | DOM::HTMLDocumentImpl |
class | DOM::HTMLTitleElementImpl |
class | DOM::HTMLGenericFormElementImpl |
class | DOM::HTMLFormElementImpl |
class | DOM::HTMLAnchorElementImpl |
class | DOM::HTMLInputElementImpl |
class | DOM::DocumentImpl |
class | TDEHTMLPart |
class | tdehtml::RenderCanvas |
class | tdehtml::RenderObject |
class | tdehtml::RenderLineEdit |
class | tdehtml::RenderPartObject |
class | tdehtml::RenderWidget |
class | tdehtml::CSSStyleSelector |
class | tdehtml::LineEditWidget |
class | KJS::WindowFunc |
class | KJS::ExternalFunc |
void | tdehtml::applyRule (DOM::CSSProperty *prop) |
Detailed Description
Renders and displays HTML in a TQScrollView.
Suitable for use as an application's main view.
Definition at line 78 of file tdehtmlview.h.
Constructor & Destructor Documentation
TDEHTMLView::TDEHTMLView | ( | TDEHTMLPart * | part, | |
TQWidget * | parent, | |||
const char * | name = 0 | |||
) |
Constructs a TDEHTMLView.
Definition at line 487 of file tdehtmlview.cpp.
Member Function Documentation
void TDEHTMLView::displayAccessKeys | ( | ) |
Display all accesskeys in small tooltips.
Definition at line 2256 of file tdehtmlview.cpp.
void TDEHTMLView::finishedLayout | ( | ) | [signal] |
This signal is used for internal layouting.
Don't use it to check if rendering finished. Use TDEHTMLPart completed() signal instead.
void TDEHTMLView::layout | ( | ) |
ensure the display is up to date
Definition at line 800 of file tdehtmlview.cpp.
int TDEHTMLView::marginHeight | ( | ) | [inline] |
Returns the margin height.
A return value of -1 means the default value will be used.
Definition at line 139 of file tdehtmlview.h.
int TDEHTMLView::marginWidth | ( | ) | const [inline] |
Returns the margin width.
A return value of -1 means the default value will be used.
Definition at line 127 of file tdehtmlview.h.
TDEHTMLPart* TDEHTMLView::part | ( | ) | const [inline] |
Returns a pointer to the TDEHTMLPart that is rendering the page.
Definition at line 113 of file tdehtmlview.h.
void TDEHTMLView::print | ( | bool | quick | ) |
Prints the HTML document.
- Parameters:
-
quick if true, fully automated printing, without print dialog
Definition at line 2776 of file tdehtmlview.cpp.
void TDEHTMLView::print | ( | ) |
Prints the HTML document.
Definition at line 2771 of file tdehtmlview.cpp.
void TDEHTMLView::setHScrollBarMode | ( | ScrollBarMode | mode | ) | [virtual] |
Sets horizontal scrollbar mode.
Reimplemented for internal reasons.
Reimplemented from TQScrollView.
Definition at line 3030 of file tdehtmlview.cpp.
void TDEHTMLView::setMarginWidth | ( | int | x | ) |
Sets a margin in x direction.
Definition at line 788 of file tdehtmlview.cpp.
void TDEHTMLView::setVScrollBarMode | ( | ScrollBarMode | mode | ) | [virtual] |
Sets verticals scrollbar mode.
Reimplemented for internal reasons.
Reimplemented from TQScrollView.
Definition at line 3020 of file tdehtmlview.cpp.
The documentation for this class was generated from the following files: