Commit 89284742 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

BUG: do key recording for QVTKWidget only until I can figure out how to do it

      for all widgets properly.
parent bdd38bdd
......@@ -60,20 +60,6 @@ bool pqBasicWidgetEventTranslator::translateEvent(QObject* Object,
emit recordEvent(Object, "contextMenu", "");
}
break;
case QEvent::KeyPress:
case QEvent::KeyRelease:
{
QKeyEvent* ke = static_cast<QKeyEvent*>(Event);
QString data =QString("%1:%2:%3:%4:%5:%6")
.arg(ke->type())
.arg(ke->key())
.arg(static_cast<int>(ke->modifiers()))
.arg(ke->text())
.arg(ke->isAutoRepeat())
.arg(ke->count());
emit recordEvent(Object, "keyEvent", data);
}
break;
default:
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment