mirror of
git://projects.qi-hardware.com/qvido.git
synced 2024-12-22 07:21:10 +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()) {
|
switch (e->key()) {
|
||||||
case Qt::Key_Right:
|
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();
|
QPoint pos = qApp->overrideCursor()->pos();
|
||||||
qApp->overrideCursor()->setPos(pos.x() + 5, pos.y());
|
qApp->overrideCursor()->setPos(pos.x() + 5, pos.y());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user