• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Friends | List of all members
TDEHTMLView Class Reference

#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::TDEHTMLView ( TDEHTMLPart * part,
TQWidget * parent,
const char * name = 0 )

Constructs a TDEHTMLView.

Definition at line 487 of file tdehtmlview.cpp.

◆ ~TDEHTMLView()

TDEHTMLView::~TDEHTMLView ( )
virtual

Definition at line 528 of file tdehtmlview.cpp.

Member Function Documentation

◆ clear()

void TDEHTMLView::clear ( )
protected

Definition at line 564 of file tdehtmlview.cpp.

◆ closeEvent()

void TDEHTMLView::closeEvent ( TQCloseEvent * ev)
protectedvirtual

Definition at line 930 of file tdehtmlview.cpp.

◆ contentsContextMenuEvent()

void TDEHTMLView::contentsContextMenuEvent ( TQContextMenuEvent * _ce)
protected

Definition at line 1776 of file tdehtmlview.cpp.

◆ displayAccessKeys()

void TDEHTMLView::displayAccessKeys ( )

Display all accesskeys in small tooltips.

Definition at line 2256 of file tdehtmlview.cpp.

◆ doAutoScroll()

void TDEHTMLView::doAutoScroll ( )
protected

Definition at line 1822 of file tdehtmlview.cpp.

◆ dragEnterEvent()

void TDEHTMLView::dragEnterEvent ( TQDragEnterEvent * ev)
protectedvirtual

Definition at line 3313 of file tdehtmlview.cpp.

◆ drawContents() [1/2]

void TDEHTMLView::drawContents ( TQPainter * )
protectedvirtual

Definition at line 644 of file tdehtmlview.cpp.

◆ drawContents() [2/2]

void TDEHTMLView::drawContents ( TQPainter * p,
int clipx,
int clipy,
int clipw,
int cliph )
protectedvirtual

Definition at line 648 of file tdehtmlview.cpp.

◆ dropEvent()

void TDEHTMLView::dropEvent ( TQDropEvent * ev)
protectedvirtual

Definition at line 3326 of file tdehtmlview.cpp.

◆ eventFilter()

bool TDEHTMLView::eventFilter ( TQObject * o,
TQEvent * e )
protectedvirtual

Definition at line 1863 of file tdehtmlview.cpp.

◆ finishedLayout

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.

◆ focusInEvent()

void TDEHTMLView::focusInEvent ( TQFocusEvent * e)
protectedvirtual

Definition at line 3339 of file tdehtmlview.cpp.

◆ focusNextPrevChild()

bool TDEHTMLView::focusNextPrevChild ( bool next)
protectedvirtual

Definition at line 1803 of file tdehtmlview.cpp.

◆ focusOutEvent()

void TDEHTMLView::focusOutEvent ( TQFocusEvent * e)
protectedvirtual

Definition at line 3369 of file tdehtmlview.cpp.

◆ frameWidth()

int TDEHTMLView::frameWidth ( ) const
inline

Definition at line 115 of file tdehtmlview.h.

◆ hideEvent()

void TDEHTMLView::hideEvent ( TQHideEvent * e)
protectedvirtual

Definition at line 591 of file tdehtmlview.cpp.

◆ keyPressEvent()

void TDEHTMLView::keyPressEvent ( TQKeyEvent * _ke)
protected

Definition at line 1445 of file tdehtmlview.cpp.

◆ keyReleaseEvent()

void TDEHTMLView::keyReleaseEvent ( TQKeyEvent * _ke)
protected

Definition at line 1716 of file tdehtmlview.cpp.

◆ layout()

void TDEHTMLView::layout ( )

ensure the display is up to date

Definition at line 800 of file tdehtmlview.cpp.

◆ marginHeight()

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.

◆ marginWidth()

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.

◆ part()

TDEHTMLPart * TDEHTMLView::part ( ) const
inline

Returns a pointer to the TDEHTMLPart that is rendering the page.

Definition at line 113 of file tdehtmlview.h.

◆ print() [1/2]

void TDEHTMLView::print ( )

Prints the HTML document.

Definition at line 2767 of file tdehtmlview.cpp.

◆ print() [2/2]

void TDEHTMLView::print ( bool quick)

Prints the HTML document.

Parameters
quickif true, fully automated printing, without print dialog

Definition at line 2772 of file tdehtmlview.cpp.

◆ resizeEvent()

void TDEHTMLView::resizeEvent ( TQResizeEvent * event)
protectedvirtual

Definition at line 605 of file tdehtmlview.cpp.

◆ scrollBy

void TDEHTMLView::scrollBy ( int dx,
int dy )
slot

Definition at line 4514 of file tdehtmlview.cpp.

◆ scrollTick

void TDEHTMLView::scrollTick ( )
protectedslot

Definition at line 4551 of file tdehtmlview.cpp.

◆ scrollViewWheelEvent()

void TDEHTMLView::scrollViewWheelEvent ( TQWheelEvent * e)
protected

Definition at line 4599 of file tdehtmlview.cpp.

◆ setHScrollBarMode()

void TDEHTMLView::setHScrollBarMode ( ScrollBarMode mode)
virtual

Sets horizontal scrollbar mode.

Reimplemented for internal reasons.

Definition at line 3026 of file tdehtmlview.cpp.

◆ setMarginHeight()

void TDEHTMLView::setMarginHeight ( int y)

Definition at line 794 of file tdehtmlview.cpp.

◆ setMarginWidth()

void TDEHTMLView::setMarginWidth ( int x)

Sets a margin in x direction.

Definition at line 788 of file tdehtmlview.cpp.

◆ setVScrollBarMode()

void TDEHTMLView::setVScrollBarMode ( ScrollBarMode mode)
virtual

Sets verticals scrollbar mode.

Reimplemented for internal reasons.

Definition at line 3016 of file tdehtmlview.cpp.

◆ showEvent()

void TDEHTMLView::showEvent ( TQShowEvent * e)
protectedvirtual

Definition at line 598 of file tdehtmlview.cpp.

◆ slotPaletteChanged

void TDEHTMLView::slotPaletteChanged ( )
protectedslot

Definition at line 2962 of file tdehtmlview.cpp.

◆ slotScrollBarMoved

void TDEHTMLView::slotScrollBarMoved ( )
protectedslot

Definition at line 3414 of file tdehtmlview.cpp.

◆ startScrolling()

void TDEHTMLView::startScrolling ( )
protected

Definition at line 4585 of file tdehtmlview.cpp.

◆ stopScrolling()

void TDEHTMLView::stopScrolling ( )
protected

Definition at line 4591 of file tdehtmlview.cpp.

◆ timerEvent()

void TDEHTMLView::timerEvent ( TQTimerEvent * e)
protected

Definition at line 3436 of file tdehtmlview.cpp.

◆ viewportMouseDoubleClickEvent()

void TDEHTMLView::viewportMouseDoubleClickEvent ( TQMouseEvent * _mouse)
protectedvirtual

Definition at line 1061 of file tdehtmlview.cpp.

◆ viewportMouseMoveEvent()

void TDEHTMLView::viewportMouseMoveEvent ( TQMouseEvent * _mouse)
protectedvirtual

Definition at line 1139 of file tdehtmlview.cpp.

◆ viewportMousePressEvent()

void TDEHTMLView::viewportMousePressEvent ( TQMouseEvent * _mouse)
protectedvirtual

Definition at line 941 of file tdehtmlview.cpp.

◆ viewportMouseReleaseEvent()

void TDEHTMLView::viewportMouseReleaseEvent ( TQMouseEvent * _mouse)
protectedvirtual

Definition at line 1319 of file tdehtmlview.cpp.

◆ viewportResizeEvent()

void TDEHTMLView::viewportResizeEvent ( TQResizeEvent * e)
protectedvirtual

Definition at line 623 of file tdehtmlview.cpp.

◆ viewportWheelEvent()

void TDEHTMLView::viewportWheelEvent ( TQWheelEvent * e)
protectedvirtual

Definition at line 3268 of file tdehtmlview.cpp.

Friends And Related Symbol Documentation

◆ DOM::DocumentImpl

friend class DOM::DocumentImpl
friend

Definition at line 88 of file tdehtmlview.h.

◆ DOM::HTMLAnchorElementImpl

friend class DOM::HTMLAnchorElementImpl
friend

Definition at line 86 of file tdehtmlview.h.

◆ DOM::HTMLDocumentImpl

friend class DOM::HTMLDocumentImpl
friend

Definition at line 82 of file tdehtmlview.h.

◆ DOM::HTMLFormElementImpl

friend class DOM::HTMLFormElementImpl
friend

Definition at line 85 of file tdehtmlview.h.

◆ DOM::HTMLGenericFormElementImpl

friend class DOM::HTMLGenericFormElementImpl
friend

Definition at line 84 of file tdehtmlview.h.

◆ DOM::HTMLInputElementImpl

friend class DOM::HTMLInputElementImpl
friend

Definition at line 87 of file tdehtmlview.h.

◆ DOM::HTMLTitleElementImpl

friend class DOM::HTMLTitleElementImpl
friend

Definition at line 83 of file tdehtmlview.h.

◆ KJS::ExternalFunc

friend class KJS::ExternalFunc
friend

Definition at line 98 of file tdehtmlview.h.

◆ KJS::WindowFunc

friend class KJS::WindowFunc
friend

Definition at line 97 of file tdehtmlview.h.

◆ tdehtml::CSSStyleSelector

friend class tdehtml::CSSStyleSelector
friend

Definition at line 95 of file tdehtmlview.h.

◆ tdehtml::LineEditWidget

friend class tdehtml::LineEditWidget
friend

Definition at line 96 of file tdehtmlview.h.

◆ tdehtml::RenderCanvas

friend class tdehtml::RenderCanvas
friend

Definition at line 90 of file tdehtmlview.h.

◆ tdehtml::RenderLineEdit

friend class tdehtml::RenderLineEdit
friend

Definition at line 92 of file tdehtmlview.h.

◆ tdehtml::RenderObject

friend class tdehtml::RenderObject
friend

Definition at line 91 of file tdehtmlview.h.

◆ tdehtml::RenderPartObject

friend class tdehtml::RenderPartObject
friend

Definition at line 93 of file tdehtmlview.h.

◆ tdehtml::RenderWidget

friend class tdehtml::RenderWidget
friend

Definition at line 94 of file tdehtmlview.h.

◆ TDEHTMLPart

friend class TDEHTMLPart
friend

Definition at line 89 of file tdehtmlview.h.


The documentation for this class was generated from the following files:
  • tdehtmlview.h
  • tdehtmlview.cpp

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.15.0
This website is maintained by Timothy Pearson.