1
0
mirror of git://projects.qi-hardware.com/qvido.git synced 2024-12-22 07:13:21 +02:00

test fcts

Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
Mirko Lindner 2010-04-07 21:24:50 +02:00
parent c4feb4a5b3
commit 647931addb

View File

@ -333,6 +333,10 @@ void HtmlArea::keyPressEvent(QKeyEvent *e){
switch (e->key()) {
case Qt::Key_Right:
{
// QPoint pos = qobject_cast<QMain *>(this->parentWidget())->cursor().pos();
// qobject_cast<QMain *>(this->parentWidget())->cursor().setPos(pos.x() + 5, pos.y());
// QPoint pos2 = qobject_cast<QMain *>(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());
}