Skip to content
Snippets Groups Projects
QGCTabbedInfoView.cpp 642 B
Newer Older
  • Learn to ignore specific revisions
  • #include "QGCApplication.h"
    
    QGCTabbedInfoView::QGCTabbedInfoView(const QString& title, QAction* action, QWidget *parent)
        : QGCDockWidget(title, action, parent)
    
        messageView = new UASMessageViewWidget(qgcApp()->toolbox()->uasMessageHandler(), this);
    
        quickView = new UASQuickView(this);
    
        ui.tabWidget->addTab(quickView,"Quick");
    
        ui.tabWidget->addTab(messageView,"Messages");
    
        
        loadSettings();
    
    }
    void QGCTabbedInfoView::addSource(MAVLinkDecoder *decoder)
    {
        m_decoder = decoder;
        quickView->addSource(decoder);