Rev 278 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#include "qmteamselector.h"#include <QKeyEvent>QmTeamSelector::QmTeamSelector(){qDebug("QmTeamSelector");}void QmTeamSelector::focusInEvent(QFocusEvent * event){qDebug("QmTeamSelector::focusInEvent");//QSpinBox::focusInEvent(event);//selectAll();}void QmTeamSelector::keyPressEvent(QKeyEvent * event){qDebug("QmTeamSelector::keyPressEvent");if(event->key() == Qt::Key_Return){qDebug("QmTeamSelector::keyPressEvent - return Pressed");emit teamSelected( );}else{QSpinBox::keyPressEvent(event);}}