connect unfinished actions to todo notes
This commit is contained in:
parent
773375757e
commit
e29b41c812
|
@ -51,6 +51,13 @@ DeviceWindow::DeviceWindow(QWidget *parent)
|
||||||
return;
|
return;
|
||||||
openDmxWindow(selected);
|
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,
|
connect(ui->actionParameter, &QAction::triggered,
|
||||||
this, [this]() {
|
this, [this]() {
|
||||||
auto selected = ui->widgetView->currentIndex();
|
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);
|
MetadataDialog dlg(selected.data(Qt::EditRole).value<std::shared_ptr<DmxWidget>>().get(), this);
|
||||||
dlg.exec();
|
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
|
// action connections
|
||||||
connect(ui->actionRefreshList, &QAction::triggered, model, &WidgetModel::rescanPorts);
|
connect(ui->actionRefreshList, &QAction::triggered, model, &WidgetModel::rescanPorts);
|
||||||
connect(ui->actionRefreshList, &QAction::triggered, this, [this](){
|
connect(ui->actionRefreshList, &QAction::triggered, this, [this](){
|
||||||
|
|
Loading…
Reference in New Issue