1
0
Fork 0

connect unfinished actions to todo notes

This commit is contained in:
Kevin Matz 2023-04-24 17:04:08 -04:00
parent 773375757e
commit e29b41c812
1 changed files with 22 additions and 0 deletions

View File

@ -51,6 +51,13 @@ DeviceWindow::DeviceWindow(QWidget *parent)
return;
openDmxWindow(selected);
});
connect(ui->actionRDM, &QAction::triggered,
this, [this]() {
auto selected = ui->widgetView->currentIndex();
if (!selected.isValid())
return;
/// \todo Add an action to monitor RDM.
});
connect(ui->actionParameter, &QAction::triggered,
this, [this]() {
auto selected = ui->widgetView->currentIndex();
@ -59,6 +66,21 @@ DeviceWindow::DeviceWindow(QWidget *parent)
MetadataDialog dlg(selected.data(Qt::EditRole).value<std::shared_ptr<DmxWidget>>().get(), this);
dlg.exec();
});
connect(ui->actionUserData, &QAction::triggered,
this, [this]() {
auto selected = ui->widgetView->currentIndex();
if (!selected.isValid())
return;
/// \todo Add an action to manage user configuraion data.
});
connect(ui->actionFirmware, &QAction::triggered,
this, [this]() {
auto selected = ui->widgetView->currentIndex();
if (!selected.isValid())
return;
/// \todo Add a notice about firmware support.
});
// action connections
connect(ui->actionRefreshList, &QAction::triggered, model, &WidgetModel::rescanPorts);
connect(ui->actionRefreshList, &QAction::triggered, this, [this](){