KHTML
#include "khtmlview.h"
#include "khtmlview.moc"
#include "khtml_part.h"
#include "khtml_events.h"
#include <qx11info_x11.h>
#include "html/html_documentimpl.h"
#include "html/html_inlineimpl.h"
#include "html/html_formimpl.h"
#include "html/htmltokenizer.h"
#include "editing/editor.h"
#include "rendering/render_arena.h"
#include "rendering/render_canvas.h"
#include "rendering/render_frames.h"
#include "rendering/render_replaced.h"
#include "rendering/render_form.h"
#include "rendering/render_layer.h"
#include "rendering/render_line.h"
#include "rendering/render_table.h"
#include "rendering/render_text.h"
#include "xml/dom2_eventsimpl.h"
#include "css/cssstyleselector.h"
#include "misc/loader.h"
#include "khtml_settings.h"
#include "khtml_printsettings.h"
#include "khtmlpart_p.h"
#include <kcursor.h>
#include <kdebug.h>
#include <kglobalsettings.h>
#include <kdialog.h>
#include <kiconloader.h>
#include <klocale.h>
#include <knotification.h>
#include <kdeprintdialog.h>
#include <kconfig.h>
#include <kstandarddirs.h>
#include <kstandardshortcut.h>
#include <kstringhandler.h>
#include <kconfiggroup.h>
#include <QtGui/QBitmap>
#include <QtGui/QLabel>
#include <QtCore/QObject>
#include <QtGui/QPainter>
#include <QtCore/QHash>
#include <QtGui/QToolTip>
#include <QtCore/QString>
#include <QtGui/QTextDocument>
#include <QtCore/QTimer>
#include <QtCore/QAbstractEventDispatcher>
#include <QtCore/QVector>
#include <QtGui/QAbstractScrollArea>
#include <QtGui/QPrinter>
#include <QtGui/QPrintDialog>
#include <limits.h>
#include <X11/Xlib.h>
#include <fixx11h.h>
Go to the source code of this file.
|
static QMap< NodeImpl *, QString > | buildLabels (NodeImpl *start) |
|
static bool | findImageMapRect (HTMLImageElementImpl *img, const QPoint &scrollOfs, const QPoint &p, QRect &r, QString &s) |
|
static QString | getElementText (NodeImpl *start, bool after) |
|
static void | handleWidget (QWidget *w, KHTMLView *view, bool recurse=true) |
|
static DOM::Position | positionOfLineBegin (const DOM::Position &pos) |
|
static DOM::Position | positionOfLineBoundary (const DOM::Position &pos, bool toEnd) |
|
static DOM::Position | positionOfLineEnd (const DOM::Position &pos) |
|
static void | setInPaintEventFlag (QWidget *w, bool b=true, bool recurse=true) |
|
static bool | targetOpensNewWindow (KHTMLPart *part, QString target) |
|
◆ protected
◆ buildLabels()
static QMap< NodeImpl *, QString > buildLabels |
( |
NodeImpl * |
start | ) |
|
|
static |
◆ findImageMapRect()
static bool findImageMapRect |
( |
HTMLImageElementImpl * |
img, |
|
|
const QPoint & |
scrollOfs, |
|
|
const QPoint & |
p, |
|
|
QRect & |
r, |
|
|
QString & |
s |
|
) |
| |
|
static |
calculates the client-side image map rectangle for the given image element
- Parameters
-
img | image element |
scrollOfs | scroll offset of viewport in content coordinates |
p | position to be probed in viewport coordinates |
r | returns the bounding rectangle in content coordinates |
s | returns the title string |
- Returns
- true if an appropriate area was found – only in this case r and s are valid, false otherwise
Definition at line 451 of file khtmlview.cpp.
◆ getElementText()
static QString getElementText |
( |
NodeImpl * |
start, |
|
|
bool |
after |
|
) |
| |
|
static |
◆ handleWidget()
◆ positionOfLineBegin()
static DOM::Position positionOfLineBegin |
( |
const DOM::Position & |
pos | ) |
|
|
inlinestatic |
◆ positionOfLineBoundary()
static DOM::Position positionOfLineBoundary |
( |
const DOM::Position & |
pos, |
|
|
bool |
toEnd |
|
) |
| |
|
static |
◆ positionOfLineEnd()
static DOM::Position positionOfLineEnd |
( |
const DOM::Position & |
pos | ) |
|
|
inlinestatic |
◆ setInPaintEventFlag()
static void setInPaintEventFlag |
( |
QWidget * |
w, |
|
|
bool |
b = true , |
|
|
bool |
recurse = true |
|
) |
| |
|
static |
◆ targetOpensNewWindow()
static bool targetOpensNewWindow |
( |
KHTMLPart * |
part, |
|
|
QString |
target |
|
) |
| |
|
static |
◆ sFirstLayoutDelay
const int sFirstLayoutDelay = 520 |
|
static |
◆ sLayoutAttemptDelay
const int sLayoutAttemptDelay = 300 |
|
static |
◆ sLayoutAttemptIncrement
const int sLayoutAttemptIncrement = 20 |
|
static |
◆ sMaxMissedDeadlines
const int sMaxMissedDeadlines = 12 |
|
static |
◆ sParsingLayoutsIncrement
const int sParsingLayoutsIncrement = 60 |
|
static |
◆ sParsingLayoutsInterval
const int sParsingLayoutsInterval = 380 |
|
static |
◆ sSmoothScrollMinStaticPixels
const int sSmoothScrollMinStaticPixels = 320*200 |
|
static |
◆ sSmoothScrollTick
const int sSmoothScrollTick = 16 |
|
static |
◆ sSmoothScrollTime
const int sSmoothScrollTime = 128 |
|
static |
◆ sWayTooMany
const int sWayTooMany = -1 |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.