63 _layout =
new QGridLayout(
this);
65 int numberOfEntities = 0;
68 setWindowTitle(
"Import SHP File");
72 if ((shpType - 1) % 10 == 0)
76 if ((shpType - 3) % 10 == 0)
80 if ((shpType - 5) % 10 == 0)
84 if ((shpType - 8) % 10 == 0)
90 type =
"TIN elements";
94 new QLabel(
"The selected file contains " +
95 QString::number(numberOfEntities) +
" " + type,
99 QFileInfo fi(QString::fromStdString(
_filename));
102 if ((shpType - 1) % 10 == 0 && shpType != 31)
104 _choice1 =
new QRadioButton(
"Read as Geometry Points");
105 _choice2 =
new QRadioButton(
"Read as Station Points");
114 else if ((shpType - 3) % 10 == 0 ||
115 (shpType - 5) % 10 == 0)
117 _choice1 =
new QRadioButton(
"Read Polylines only");
118 _choice2 =
new QRadioButton(
"Read Polylines/Surfaces");
119 if ((shpType - 3) % 10 == 0)
135 "This element type is currently not supported.");
140 _buttonBox =
new QDialogButtonBox(QDialogButtonBox::Ok |
141 QDialogButtonBox::Cancel);