mirror of
git://projects.qi-hardware.com/qvido.git
synced 2024-12-22 06:58:58 +02:00
test fcts
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
parent
c4feb4a5b3
commit
647931addb
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user