29 #include "ui_TiePointLocatorWidgetForm.h" 32 #include <QGridLayout> 33 #include <QMessageBox> 39 QGridLayout* layout =
new QGridLayout(
this);
41 layout->addWidget(
m_widget.get(), 0, 0);
42 layout->setContentsMargins(0,0,0,0);
46 this->setWindowTitle(tr(
"Tie Points Locator"));
72 m_widget->getOutputResolution(resx, resy);
76 QMessageBox::warning(
this, tr(
"Warning"), tr(
"Output SRID not defined."));
80 if (resx <= 0.0 || resy <= 0.0)
82 QMessageBox::warning(
this, tr(
"Warning"), tr(
"Invalid output resolution"));
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr