31 #include "ui_CreateLayerDialogForm.h" 34 #include <QMessageBox> 39 m_ui(new
Ui::CreateLayerDialogForm)
43 m_ui->m_imgLabel->setPixmap(QIcon::fromTheme(
"layer-new").pixmap(50, 50));
46 QGridLayout* layout =
new QGridLayout(
m_ui->m_widget);
47 layout->setContentsMargins(0, 0, 0, 0);
66 std::string errorMessage;
72 QMessageBox::warning(
this, tr(
"Warning"), errorMessage.c_str());
76 QMessageBox::information(
this, tr(
"Warning"), tr(
"Layer Created"));
This interface is used to create new layer operation.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr