/***************************************************************************
 *   Copyright (C) 2003 by Tim Sutton                                      *
 *   tim@linfiniti.com                                                     *
 *                                                                         *
 *   This is a plugin generated from the QGIS plugin template              *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/
#include "coordinatecapturegui.h"
#include "qgscontexthelp.h"

//qt includes

//standard includes

CoordinateCaptureGui::CoordinateCaptureGui( QWidget* parent, Qt::WFlags fl )
    : QDialog( parent, fl )
{
  setupUi( this );

  textBrowser->setHtml( tr( "Coordinate Capture Plugin" ) );
}

CoordinateCaptureGui::~CoordinateCaptureGui()
{
}

void CoordinateCaptureGui::on_buttonBox_accepted()
{
  //close the dialog
  accept();
}

void CoordinateCaptureGui::on_buttonBox_rejected()
{
  reject();
}

void CoordinateCaptureGui::on_buttonBox_helpRequested()
{
  QgsContextHelp::run( context_id );
}

