#include "QGCPendingParamWidget.h"#include "UASManager.h"#include "UASParameterCommsMgr.h"QGCPendingParamWidget::QGCPendingParamWidget(QObject*parent):QGCParamWidget(UASManager::instance()->getActiveUAS(),(QWidget*)parent){}voidQGCPendingParamWidget::init(){//we override a lot of the super's init methodslayoutWidget();connectSignalsAndSlots();//don't request update params here...assume that everything we need is in the data model}voidQGCPendingParamWidget::connectSignalsAndSlots(){// Listing for pending list updateconnect(paramDataModel,SIGNAL(pendingParamUpdate(int,constQString&,QVariant,bool)),this,SLOT(handlePendingParamUpdate(int,constQString&,QVariant,bool)));// Listen to communications status messages so we can display themconnect(paramCommsMgr,SIGNAL(parameterStatusMsgUpdated(QString,int)),this,SLOT(handleParamStatusMsgUpdate(QString,int)));}