MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / connectAll

Method connectAll

Components/DeviceTweaks.cpp:24–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using namespace SigDigger;
23
24void
25DeviceTweaks::connectAll(void)
26{
27 QPushButton *resetButton = this->ui->buttonBox->button(
28 QDialogButtonBox::Reset);
29
30 connect(
31 this->ui->addButton,
32 SIGNAL(clicked(void)),
33 this,
34 SLOT(onAddEntry(void)));
35
36 connect(
37 this->ui->removeButton,
38 SIGNAL(clicked(void)),
39 this,
40 SLOT(onRemoveEntry(void)));
41
42 connect(
43 this->ui->tableWidget->selectionModel(),
44 SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
45 this,
46 SLOT(onSelectionChanged(const QItemSelection &, const QItemSelection &)));
47
48 connect(
49 this->ui->tableWidget,
50 SIGNAL(itemChanged(QTableWidgetItem *)),
51 this,
52 SLOT(onChanged()));
53
54
55 connect(
56 resetButton,
57 SIGNAL(clicked(void)),
58 this,
59 SLOT(onReset()));
60}
61
62void
63DeviceTweaks::refreshUi(void)

Callers 1

DeviceTweaksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected