Add support to resolve variables on action queue add

This commit is contained in:
WarmUpTill
2024-03-01 23:42:12 +01:00
committed by WarmUpTill
parent f8dadd38b4
commit 03e71e9183
82 changed files with 835 additions and 248 deletions

View File

@@ -136,6 +136,21 @@ std::string MacroActionWindow::GetShortDesc() const
return _window;
}
std::shared_ptr<MacroAction> MacroActionWindow::Create(Macro *m)
{
return std::make_shared<MacroActionWindow>(m);
}
std::shared_ptr<MacroAction> MacroActionWindow::Copy() const
{
return std::make_shared<MacroActionWindow>(*this);
}
void MacroActionWindow::ResolveVariablesToFixedValues()
{
_window.ResolveVariables();
}
static inline void populateActionSelection(QComboBox *list)
{
for (const auto &[_, name] : actionTypes) {