Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
numerickeyboard.cpp
Go to the documentation of this file.
1 #include "numerickeyboard.h"
2 #include "ui_numerickeyboard.h"
3 
5  QGroupBox(parent),
6  ui(new Ui::NumericKeyboard)
7 {
8  ui->setupUi(this);
9  /* das geht leider nicht ? */
10 // connect(ui->button_0, &QPushButton::clicked, this, &NumericKeyboard::relayDigit);
11 
12  connect(ui->button_0, &QPushButton::clicked, this, &NumericKeyboard::relayDigit0);
13  connect(ui->button_1, &QPushButton::clicked, this, &NumericKeyboard::relayDigit1);
14  connect(ui->button_2, &QPushButton::clicked, this, &NumericKeyboard::relayDigit2);
15  connect(ui->button_3, &QPushButton::clicked, this, &NumericKeyboard::relayDigit3);
16  connect(ui->button_4, &QPushButton::clicked, this, &NumericKeyboard::relayDigit4);
17  connect(ui->button_5, &QPushButton::clicked, this, &NumericKeyboard::relayDigit5);
18  connect(ui->button_6, &QPushButton::clicked, this, &NumericKeyboard::relayDigit6);
19  connect(ui->button_7, &QPushButton::clicked, this, &NumericKeyboard::relayDigit7);
20  connect(ui->button_8, &QPushButton::clicked, this, &NumericKeyboard::relayDigit8);
21  connect(ui->button_9, &QPushButton::clicked, this, &NumericKeyboard::relayDigit9);
22 
23  connect(ui->button_del, &QPushButton::clicked, this, &NumericKeyboard::relayDelete);
24 }
25 
27 {
28  delete ui;
29 }
30 
NumericKeyboard(QWidget *parent=0)
void digitTyped(int)
~NumericKeyboard() override
Ui::NumericKeyboard * ui