• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

TextBox Class Reference

Represents a rectangular region in a RenderedDocumentPage that contains text. More...

#include <textBox.h>

List of all members.


Public Member Functions

 TextBox (const QRect &re, const QString &lT)
 TextBox ()

Public Attributes

QRect box
QString text

Detailed Description

Represents a rectangular region in a RenderedDocumentPage that contains text.

This trivial class is used in the RenderedDocumentPage class to give a non-graphical representation of text in a rendered document page. This is used, e.g. by text search and the text selection functions that need to know the contents and the position of text on a page

Author:
Stefan Kebekus <kebekus@kde.org>
Version:
1.0.0

Definition at line 28 of file textBox.h.


Constructor & Destructor Documentation

TextBox::TextBox (  )  [inline]

Default Constructor.

The default constructor leaves all fields uninitialized.

Definition at line 35 of file textBox.h.

TextBox::TextBox ( const QRect &  re,
const QString &  lT 
) [inline]

Constructor.

Trivial constructor leaves that initialized all members.

Parameters:
re value for the box
lT valus for the text field

Definition at line 44 of file textBox.h.


Member Data Documentation

QRect TextBox::box

Bounding box of the text or hyperlink.

This rectangle specifies where on the page the text or hyperlink is found. It uses the same coordinates that were used when the associated documentPage was rendered by the documentRenderer.drawPage() method. The contents of the box is graphically inverted to indicate marked text.

Definition at line 54 of file textBox.h.

QString TextBox::text

Name of the region.

The text associated with the box is stored here.

Definition at line 60 of file textBox.h.


The documentation for this class was generated from the following file:
  • textBox.h

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal