28 #include "ui_LayerAttributesWidgetForm.h"
31 : QWizardPage(parent),
32 m_ui(new Ui::LayerAttributesWidgetForm)
37 this->setTitle(tr(
"Layer Attributes"));
38 this->setSubTitle(tr(
"Used to define all layer attributes."));
40 connect(
m_ui->m_layerNameLineEdit, SIGNAL(textChanged(QString)), SLOT(
layerNameChanged(QString)));
49 if(m_ui->m_layerNameLineEdit->text().isEmpty())
57 std::string name =
"";
59 if(m_ui->m_layerNameLineEdit->text().isEmpty() ==
false)
61 name = m_ui->m_layerNameLineEdit->text().toStdString();
69 emit completeChanged();
~LayerAttributesWizardPage()
std::auto_ptr< Ui::LayerAttributesWidgetForm > m_ui
void layerNameChanged(QString)
This file has the LayerAttributesWizardPage class.
LayerAttributesWizardPage(QWidget *parent=0)
std::string getLayerName()