From 647931addb12cce55a27deb479a271079646b511 Mon Sep 17 00:00:00 2001 From: Mirko Lindner Date: Wed, 7 Apr 2010 21:24:50 +0200 Subject: [PATCH] test fcts Signed-off-by: Mirko Lindner --- htmlarea.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htmlarea.cpp b/htmlarea.cpp index a45b050..7cc8cdd 100644 --- a/htmlarea.cpp +++ b/htmlarea.cpp @@ -333,6 +333,10 @@ void HtmlArea::keyPressEvent(QKeyEvent *e){ switch (e->key()) { case Qt::Key_Right: { +// QPoint pos = qobject_cast(this->parentWidget())->cursor().pos(); +// qobject_cast(this->parentWidget())->cursor().setPos(pos.x() + 5, pos.y()); +// QPoint pos2 = qobject_cast(this->parentWidget())->cursor().pos(); +// log_debug("y: " << pos2.y() << " x: " << pos2.x()); QPoint pos = qApp->overrideCursor()->pos(); qApp->overrideCursor()->setPos(pos.x() + 5, pos.y()); }