An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 156af2cb authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

BUG: Allow event filters to intercept key press events.
parent 7c4e5157
......@@ -292,10 +292,13 @@ QPixmap &QVTKWidget::cachedImagePixmap()
}
/*! overloaded Qt's event handler to capture additional keys that Qt has
default behavior for (for example the Tab key)
default behavior for (for example the Tab and Shift-Tab key)
*/
bool QVTKWidget::event(QEvent* e)
{
if(QObject::event(e))
return TRUE;
if(e->type() == QEvent::KeyPress)
{
QKeyEvent* ke = static_cast<QKeyEvent*>(e);
......
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