diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp index 32d8f0038..251628bc6 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp @@ -954,7 +954,7 @@ void ConfigTaskWidget::connectWidgetUpdatesToSlot(QWidget *widget, const char *f } else if (QPushButton * cb = qobject_cast(widget)) { connect(cb, SIGNAL(clicked()), this, function); } else { - qDebug() << __FUNCTION__ << "widget to uavobject relation not implemented" << widget->metaObject()->className(); + qDebug() << __FUNCTION__ << "widget binding not implemented" << widget->metaObject()->className(); } } @@ -983,7 +983,7 @@ void ConfigTaskWidget::disconnectWidgetUpdatesToSlot(QWidget *widget, const char } else if (QPushButton * cb = qobject_cast(widget)) { disconnect(cb, SIGNAL(clicked()), this, function); } else { - qDebug() << __FUNCTION__ << "widget to uavobject relation not implemented" << widget->metaObject()->className(); + qDebug() << __FUNCTION__ << "widget binding not implemented" << widget->metaObject()->className(); } } @@ -1265,10 +1265,6 @@ bool ConfigTaskWidget::eventFilter(QObject *obj, QEvent *evt) } return QWidget::eventFilter(obj, evt); } -/** - @} - @} - */ WidgetBinding::WidgetBinding(QWidget *widget, UAVObject *object, UAVObjectField *field, int index, double scale, bool isLimited) : ShadowWidgetBinding(widget, scale, isLimited) @@ -1280,7 +1276,6 @@ WidgetBinding::WidgetBinding(QWidget *widget, UAVObject *object, UAVObjectField WidgetBinding::~WidgetBinding() { - } QString WidgetBinding::units() const @@ -1337,7 +1332,6 @@ ShadowWidgetBinding::ShadowWidgetBinding(QWidget *widget, double scale, bool isL ShadowWidgetBinding::~ShadowWidgetBinding() { - } QWidget *ShadowWidgetBinding::widget() const diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h index b259f52fe..ee56b6f21 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h @@ -137,7 +137,7 @@ public: void addReloadButton(QPushButton *button, int buttonGroup); void addDefaultButton(QPushButton *button, int buttonGroup); - void addWidgetToDefaultReloadGroups(QWidget *widget, QList *groups); + void addWidgetToReloadGroups(QWidget *widget, QList *groups); bool addShadowWidgetBinding(QWidget *masterWidget, QWidget *shadowWidget, double shadowScale = 1, bool shadowIsLimited = false); bool addShadowWidgetBinding(QString object, QString field, QWidget *widget, int index = 0, double scale = 1, bool isLimited = false,