added shortcut on trainmode to reset tracktimes
This commit is contained in:
@@ -37,7 +37,13 @@ Training::Training(QWidget *parent, DataBase *db) :
|
||||
//QObject::connect(this->ui->pBStop, SIGNAL(clicked()), this, SLOT(stopClicked()));
|
||||
|
||||
QShortcut *shortcut = new QShortcut(QKeySequence("Ctrl+Q"), this);
|
||||
QShortcut *shellReset = new QShortcut(QKeySequence("Ctrl+s"), this);
|
||||
QShortcut *deaReset = new QShortcut(QKeySequence("Ctrl+d"), this);
|
||||
|
||||
QObject::connect(shortcut, SIGNAL(activated()), this, SLOT(close()));
|
||||
QObject::connect(shellReset, SIGNAL(activated()), this, SLOT(ResetShell()));
|
||||
QObject::connect(deaReset, SIGNAL(activated()), this, SLOT(ResetDea()));
|
||||
|
||||
QObject::connect(this->ui->pBReset, SIGNAL(clicked()), this, SLOT(Reset()));
|
||||
QObject::connect(this->ui->pBResetDea, SIGNAL(clicked()), this, SLOT(ResetDea()));
|
||||
QObject::connect(this->ui->pBResetShell, SIGNAL(clicked()), this, SLOT(ResetShell()));
|
||||
|
||||
Reference in New Issue
Block a user