Toolbox.cc 328 Bytes
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
#include "Toolbox.hh"
#include <QtGui>
#include <iostream>

DatacontrolToolboxWidget::DatacontrolToolboxWidget(QWidget* _parent)
    : QWidget(_parent)
{
}


void DatacontrolToolboxWidget::keyPressEvent (QKeyEvent * _event ) {
12
13
14
15
  if ( _event->key() == Qt::Key_Escape )
    _event->ignore();
  else
    emit keyEvent( _event );
Jan Möbius's avatar
Jan Möbius committed
16
}