diff --git a/app/gui/oven_control/keyboardwidget.cpp b/app/gui/oven_control/keyboardwidget.cpp index a30fe65..5db548a 100644 --- a/app/gui/oven_control/keyboardwidget.cpp +++ b/app/gui/oven_control/keyboardwidget.cpp @@ -19,6 +19,7 @@ KeyboardWidget::KeyboardWidget(QWidget *parent) : m_pSignalMapper->setMapping(ui->pushButton_7, tr("7")); m_pSignalMapper->setMapping(ui->pushButton_8, tr("8")); m_pSignalMapper->setMapping(ui->pushButton_9, tr("9")); + m_pSignalMapper->setMapping(ui->pushButton_10, tr("0")); m_pSignalMapper->setMapping(ui->pushButton_11, tr("Q")); m_pSignalMapper->setMapping(ui->pushButton_12, tr("W")); m_pSignalMapper->setMapping(ui->pushButton_13, tr("E")); @@ -47,6 +48,7 @@ KeyboardWidget::KeyboardWidget(QWidget *parent) : m_pSignalMapper->setMapping(ui->pushButton_36, tr("M")); m_pSignalMapper->setMapping(ui->pushButton_37, tr("-")); m_pSignalMapper->setMapping(ui->pushButton_38, tr(",")); + m_pSignalMapper->setMapping(ui->pushButton_40, tr(" ")); connect(ui->pushButton_1,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map())); @@ -87,6 +89,7 @@ KeyboardWidget::KeyboardWidget(QWidget *parent) : connect(ui->pushButton_36,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map())); connect(ui->pushButton_37,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map())); connect(ui->pushButton_38,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map())); + connect(ui->pushButton_40,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map())); connect(m_pSignalMapper,SIGNAL(mapped(QString)), this, SLOT(onKeyboardClicked(QString))); } diff --git a/app/gui/oven_control/keyboardwidget.ui b/app/gui/oven_control/keyboardwidget.ui index fee02fd..1bc2013 100644 --- a/app/gui/oven_control/keyboardwidget.ui +++ b/app/gui/oven_control/keyboardwidget.ui @@ -1108,6 +1108,9 @@ QPushButton:pressed { border-image: url(:/images/keyboard/088_keyboard_a039_ov.p + + true + false