QGCMapTool.cc 281 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "QGCMapTool.h"
#include "ui_QGCMapTool.h"

QGCMapTool::QGCMapTool(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::QGCMapTool)
{
    ui->setupUi(this);

    // Connect map and toolbar
    ui->toolBar->setMap(ui->map);
}

QGCMapTool::~QGCMapTool()
{
    delete ui;
}