forked from MrBesen/soundboard
updated gitignore
This commit is contained in:
parent
92b7defaf5
commit
56505a2e57
|
@ -71,3 +71,7 @@ Thumbs.db
|
||||||
*.dll
|
*.dll
|
||||||
*.exe
|
*.exe
|
||||||
|
|
||||||
|
generated/
|
||||||
|
|
||||||
|
.vscode/settings.json
|
||||||
|
testqt
|
|
@ -12,10 +12,10 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||||
sound.addDefaultDevice();
|
sound.addDefaultDevice();
|
||||||
|
|
||||||
QPushButton* btn = ui->pushButton;
|
QPushButton* btn = ui->pushButton;
|
||||||
QObject::connect(btn, SIGNAL( clicked() ), this, SLOT( buttonPressed() ));
|
QObject::connect(btn, SIGNAL( clicked() ), this, SLOT( buttonPressed0() ));
|
||||||
|
|
||||||
QPushButton* btn2 = ui->pushButton2;
|
QPushButton* btn2 = ui->pushButton2;
|
||||||
QObject::connect(btn2, SIGNAL( clicked() ), this, SLOT( buttonPressed() ));
|
QObject::connect(btn2, SIGNAL( clicked() ), this, SLOT( buttonPressed1() ));
|
||||||
|
|
||||||
sc = new QShortcut(QKeySequence("Shift+1"), this, 0, 0, Qt::ApplicationShortcut);
|
sc = new QShortcut(QKeySequence("Shift+1"), this, 0, 0, Qt::ApplicationShortcut);
|
||||||
QObject::connect(sc, SIGNAL( activated() ), this, SLOT( shortcut() ));
|
QObject::connect(sc, SIGNAL( activated() ), this, SLOT( shortcut() ));
|
||||||
|
|
Loading…
Reference in New Issue