QGCTabbedInfoView.cpp 705 Bytes
Newer Older
1 2 3 4 5
#include "QGCTabbedInfoView.h"

QGCTabbedInfoView::QGCTabbedInfoView(QWidget *parent) : QWidget(parent)
{
    ui.setupUi(this);
6
    messageView = new QGCMessageView(this);
7
    //actionsWidget = new UASActionsWidget(this);
8
    quickView = new UASQuickView(this);
9
    //rawView = new UASRawStatusView(this);
10
    ui.tabWidget->addTab(quickView,"Quick");
11 12
    //ui.tabWidget->addTab(actionsWidget,"Actions");
    //ui.tabWidget->addTab(rawView,"Status");
13
    ui.tabWidget->addTab(messageView,"Messages");
14 15 16 17
}
void QGCTabbedInfoView::addSource(MAVLinkDecoder *decoder)
{
    m_decoder = decoder;
18
    //rawView->addSource(decoder);
19
    quickView->addSource(decoder);
20 21 22 23 24
}

QGCTabbedInfoView::~QGCTabbedInfoView()
{
}