MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetMacroTree

Method SetMacroTree

lib/macro/macro-run-button.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void MacroRunButton::SetMacroTree(MacroTree *macros)
29{
30 _macros = macros;
31
32 QWidget::connect(macros, SIGNAL(MacroSelectionChanged()), this,
33 SLOT(MacroSelectionChanged()));
34 QWidget::connect(&_timer, &QTimer::timeout, this,
35 [this]() { MacroSelectionChanged(); });
36
37 _timer.start(1000);
38}
39
40void MacroRunButton::MacroSelectionChanged()
41{

Callers 1

SetupMacroTabMethod · 0.80

Calls 1

startMethod · 0.45

Tested by

no test coverage detected