pktools  2.6.6
Processing Kernel for geospatial data
ui_mainwindow.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'mainwindow.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 4.8.6
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QCheckBox>
17 #include <QtGui/QComboBox>
18 #include <QtGui/QGridLayout>
19 #include <QtGui/QHBoxLayout>
20 #include <QtGui/QHeaderView>
21 #include <QtGui/QLabel>
22 #include <QtGui/QLineEdit>
23 #include <QtGui/QMainWindow>
24 #include <QtGui/QMenu>
25 #include <QtGui/QMenuBar>
26 #include <QtGui/QPlainTextEdit>
27 #include <QtGui/QPushButton>
28 #include <QtGui/QSpacerItem>
29 #include <QtGui/QStatusBar>
30 #include <QtGui/QTabWidget>
31 #include <QtGui/QTableView>
32 #include <QtGui/QToolBar>
33 #include <QtGui/QToolButton>
34 #include <QtGui/QVBoxLayout>
35 #include <QtGui/QWidget>
36 
37 QT_BEGIN_NAMESPACE
38 
39 class Ui_MainWindow
40 {
41 public:
42  QAction *actionInput;
43  QAction *actionSample;
44  QAction *actionMask;
45  QAction *actionOutput;
46  QWidget *centralWidget;
47  QGridLayout *gridLayout_5;
48  QHBoxLayout *horizontalLayout_3;
49  QTabWidget *tabWidget;
50  QWidget *tab_2;
51  QHBoxLayout *horizontalLayout_4;
52  QGridLayout *gridLayout;
53  QLabel *label_14;
54  QLineEdit *bndnodata;
55  QLabel *label_13;
56  QLineEdit *output;
57  QLineEdit *input;
58  QToolButton *toolButton_input;
59  QComboBox *f;
60  QLabel *label_16;
61  QLabel *label_15;
62  QLabel *label_3;
63  QLineEdit *sample;
64  QLabel *label_23;
65  QLineEdit *srcnodata;
66  QToolButton *toolButton_output;
67  QToolButton *toolButton_sample;
68  QCheckBox *polygon;
69  QWidget *tab;
70  QHBoxLayout *horizontalLayout_5;
71  QGridLayout *gridLayout_4;
72  QLineEdit *bname;
73  QLabel *label_20;
74  QComboBox *rule;
75  QLabel *label_4;
76  QLineEdit *nclass;
77  QLabel *label_21;
78  QToolButton *toolButton_createTable;
79  QLabel *label_2;
80  QLabel *label;
81  QLineEdit *threshold;
82  QSpacerItem *verticalSpacer_2;
83  QLabel *label_5;
84  QLineEdit *cname;
85  QVBoxLayout *verticalLayout_2;
86  QLabel *label_17;
87  QTableView *tableView_labels;
88  QLabel *label_22;
89  QWidget *tab_4;
90  QHBoxLayout *horizontalLayout_6;
91  QVBoxLayout *verticalLayout;
92  QLabel *label_18;
93  QLineEdit *commandLineEdit;
94  QLabel *label_19;
95  QPlainTextEdit *consoleEdit;
96  QHBoxLayout *horizontalLayout;
97  QPushButton *pushButton_run;
98  QSpacerItem *horizontalSpacer;
99  QPushButton *pushButton_restore;
100  QMenuBar *menuBar;
101  QMenu *menuFile;
102  QToolBar *mainToolBar;
103  QStatusBar *statusBar;
104 
105  void setupUi(QMainWindow *MainWindow)
106  {
107  if (MainWindow->objectName().isEmpty())
108  MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
109  MainWindow->resize(703, 706);
110  actionInput = new QAction(MainWindow);
111  actionInput->setObjectName(QString::fromUtf8("actionInput"));
112  actionSample = new QAction(MainWindow);
113  actionSample->setObjectName(QString::fromUtf8("actionSample"));
114  actionMask = new QAction(MainWindow);
115  actionMask->setObjectName(QString::fromUtf8("actionMask"));
116  actionOutput = new QAction(MainWindow);
117  actionOutput->setObjectName(QString::fromUtf8("actionOutput"));
118  centralWidget = new QWidget(MainWindow);
119  centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
120  centralWidget->setMinimumSize(QSize(423, 392));
121  gridLayout_5 = new QGridLayout(centralWidget);
122  gridLayout_5->setSpacing(6);
123  gridLayout_5->setContentsMargins(11, 11, 11, 11);
124  gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
125  horizontalLayout_3 = new QHBoxLayout();
126  horizontalLayout_3->setSpacing(6);
127  horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
128  tabWidget = new QTabWidget(centralWidget);
129  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
130  tab_2 = new QWidget();
131  tab_2->setObjectName(QString::fromUtf8("tab_2"));
132  horizontalLayout_4 = new QHBoxLayout(tab_2);
133  horizontalLayout_4->setSpacing(6);
134  horizontalLayout_4->setContentsMargins(11, 11, 11, 11);
135  horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
136  gridLayout = new QGridLayout();
137  gridLayout->setSpacing(6);
138  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
139  label_14 = new QLabel(tab_2);
140  label_14->setObjectName(QString::fromUtf8("label_14"));
141 
142  gridLayout->addWidget(label_14, 1, 3, 1, 1);
143 
144  bndnodata = new QLineEdit(tab_2);
145  bndnodata->setObjectName(QString::fromUtf8("bndnodata"));
146 
147  gridLayout->addWidget(bndnodata, 1, 1, 1, 1);
148 
149  label_13 = new QLabel(tab_2);
150  label_13->setObjectName(QString::fromUtf8("label_13"));
151 
152  gridLayout->addWidget(label_13, 1, 0, 1, 1);
153 
154  output = new QLineEdit(tab_2);
155  output->setObjectName(QString::fromUtf8("output"));
156 
157  gridLayout->addWidget(output, 3, 1, 1, 1);
158 
159  input = new QLineEdit(tab_2);
160  input->setObjectName(QString::fromUtf8("input"));
161 
162  gridLayout->addWidget(input, 0, 1, 1, 1);
163 
164  toolButton_input = new QToolButton(tab_2);
165  toolButton_input->setObjectName(QString::fromUtf8("toolButton_input"));
166 
167  gridLayout->addWidget(toolButton_input, 0, 2, 1, 1);
168 
169  f = new QComboBox(tab_2);
170  f->setObjectName(QString::fromUtf8("f"));
171 
172  gridLayout->addWidget(f, 3, 4, 1, 1);
173 
174  label_16 = new QLabel(tab_2);
175  label_16->setObjectName(QString::fromUtf8("label_16"));
176 
177  gridLayout->addWidget(label_16, 3, 3, 1, 1);
178 
179  label_15 = new QLabel(tab_2);
180  label_15->setObjectName(QString::fromUtf8("label_15"));
181 
182  gridLayout->addWidget(label_15, 3, 0, 1, 1);
183 
184  label_3 = new QLabel(tab_2);
185  label_3->setObjectName(QString::fromUtf8("label_3"));
186 
187  gridLayout->addWidget(label_3, 0, 0, 1, 1);
188 
189  sample = new QLineEdit(tab_2);
190  sample->setObjectName(QString::fromUtf8("sample"));
191 
192  gridLayout->addWidget(sample, 2, 1, 1, 1);
193 
194  label_23 = new QLabel(tab_2);
195  label_23->setObjectName(QString::fromUtf8("label_23"));
196 
197  gridLayout->addWidget(label_23, 2, 0, 1, 1);
198 
199  srcnodata = new QLineEdit(tab_2);
200  srcnodata->setObjectName(QString::fromUtf8("srcnodata"));
201 
202  gridLayout->addWidget(srcnodata, 1, 4, 1, 1);
203 
204  toolButton_output = new QToolButton(tab_2);
205  toolButton_output->setObjectName(QString::fromUtf8("toolButton_output"));
206 
207  gridLayout->addWidget(toolButton_output, 3, 2, 1, 1);
208 
209  toolButton_sample = new QToolButton(tab_2);
210  toolButton_sample->setObjectName(QString::fromUtf8("toolButton_sample"));
211 
212  gridLayout->addWidget(toolButton_sample, 2, 2, 1, 1);
213 
214  polygon = new QCheckBox(tab_2);
215  polygon->setObjectName(QString::fromUtf8("polygon"));
216 
217  gridLayout->addWidget(polygon, 4, 3, 1, 1);
218 
219 
220  horizontalLayout_4->addLayout(gridLayout);
221 
222  tabWidget->addTab(tab_2, QString());
223  tab = new QWidget();
224  tab->setObjectName(QString::fromUtf8("tab"));
225  horizontalLayout_5 = new QHBoxLayout(tab);
226  horizontalLayout_5->setSpacing(6);
227  horizontalLayout_5->setContentsMargins(11, 11, 11, 11);
228  horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
229  gridLayout_4 = new QGridLayout();
230  gridLayout_4->setSpacing(6);
231  gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
232  bname = new QLineEdit(tab);
233  bname->setObjectName(QString::fromUtf8("bname"));
234 
235  gridLayout_4->addWidget(bname, 1, 1, 1, 1);
236 
237  label_20 = new QLabel(tab);
238  label_20->setObjectName(QString::fromUtf8("label_20"));
239 
240  gridLayout_4->addWidget(label_20, 4, 0, 1, 1);
241 
242  rule = new QComboBox(tab);
243  rule->setObjectName(QString::fromUtf8("rule"));
244 
245  gridLayout_4->addWidget(rule, 0, 1, 1, 1);
246 
247  label_4 = new QLabel(tab);
248  label_4->setObjectName(QString::fromUtf8("label_4"));
249 
250  gridLayout_4->addWidget(label_4, 0, 0, 1, 1);
251 
252  nclass = new QLineEdit(tab);
253  nclass->setObjectName(QString::fromUtf8("nclass"));
254  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
255  sizePolicy.setHorizontalStretch(10);
256  sizePolicy.setVerticalStretch(0);
257  sizePolicy.setHeightForWidth(nclass->sizePolicy().hasHeightForWidth());
258  nclass->setSizePolicy(sizePolicy);
259 
260  gridLayout_4->addWidget(nclass, 4, 1, 1, 1);
261 
262  label_21 = new QLabel(tab);
263  label_21->setObjectName(QString::fromUtf8("label_21"));
264 
265  gridLayout_4->addWidget(label_21, 3, 1, 1, 1);
266 
267  toolButton_createTable = new QToolButton(tab);
268  toolButton_createTable->setObjectName(QString::fromUtf8("toolButton_createTable"));
269 
270  gridLayout_4->addWidget(toolButton_createTable, 4, 2, 1, 1);
271 
272  label_2 = new QLabel(tab);
273  label_2->setObjectName(QString::fromUtf8("label_2"));
274 
275  gridLayout_4->addWidget(label_2, 1, 0, 1, 1);
276 
277  label = new QLabel(tab);
278  label->setObjectName(QString::fromUtf8("label"));
279 
280  gridLayout_4->addWidget(label, 5, 0, 1, 1);
281 
282  threshold = new QLineEdit(tab);
283  threshold->setObjectName(QString::fromUtf8("threshold"));
284 
285  gridLayout_4->addWidget(threshold, 5, 1, 1, 1);
286 
287  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
288 
289  gridLayout_4->addItem(verticalSpacer_2, 6, 0, 1, 1);
290 
291  label_5 = new QLabel(tab);
292  label_5->setObjectName(QString::fromUtf8("label_5"));
293 
294  gridLayout_4->addWidget(label_5, 2, 0, 1, 1);
295 
296  cname = new QLineEdit(tab);
297  cname->setObjectName(QString::fromUtf8("cname"));
298 
299  gridLayout_4->addWidget(cname, 2, 1, 1, 1);
300 
301 
302  horizontalLayout_5->addLayout(gridLayout_4);
303 
304  verticalLayout_2 = new QVBoxLayout();
305  verticalLayout_2->setSpacing(6);
306  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
307  label_17 = new QLabel(tab);
308  label_17->setObjectName(QString::fromUtf8("label_17"));
309 
310  verticalLayout_2->addWidget(label_17);
311 
312  tableView_labels = new QTableView(tab);
313  tableView_labels->setObjectName(QString::fromUtf8("tableView_labels"));
314 
315  verticalLayout_2->addWidget(tableView_labels);
316 
317  label_22 = new QLabel(tab);
318  label_22->setObjectName(QString::fromUtf8("label_22"));
319 
320  verticalLayout_2->addWidget(label_22, 0, Qt::AlignHCenter);
321 
322 
323  horizontalLayout_5->addLayout(verticalLayout_2);
324 
325  tabWidget->addTab(tab, QString());
326  tab_4 = new QWidget();
327  tab_4->setObjectName(QString::fromUtf8("tab_4"));
328  horizontalLayout_6 = new QHBoxLayout(tab_4);
329  horizontalLayout_6->setSpacing(6);
330  horizontalLayout_6->setContentsMargins(11, 11, 11, 11);
331  horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
332  verticalLayout = new QVBoxLayout();
333  verticalLayout->setSpacing(6);
334  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
335  label_18 = new QLabel(tab_4);
336  label_18->setObjectName(QString::fromUtf8("label_18"));
337 
338  verticalLayout->addWidget(label_18);
339 
340  commandLineEdit = new QLineEdit(tab_4);
341  commandLineEdit->setObjectName(QString::fromUtf8("commandLineEdit"));
342 
343  verticalLayout->addWidget(commandLineEdit);
344 
345  label_19 = new QLabel(tab_4);
346  label_19->setObjectName(QString::fromUtf8("label_19"));
347 
348  verticalLayout->addWidget(label_19);
349 
350  consoleEdit = new QPlainTextEdit(tab_4);
351  consoleEdit->setObjectName(QString::fromUtf8("consoleEdit"));
352 
353  verticalLayout->addWidget(consoleEdit);
354 
355 
356  horizontalLayout_6->addLayout(verticalLayout);
357 
358  tabWidget->addTab(tab_4, QString());
359 
360  horizontalLayout_3->addWidget(tabWidget);
361 
362 
363  gridLayout_5->addLayout(horizontalLayout_3, 0, 0, 1, 1);
364 
365  horizontalLayout = new QHBoxLayout();
366  horizontalLayout->setSpacing(6);
367  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
368  pushButton_run = new QPushButton(centralWidget);
369  pushButton_run->setObjectName(QString::fromUtf8("pushButton_run"));
370 
371  horizontalLayout->addWidget(pushButton_run);
372 
373  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
374 
375  horizontalLayout->addItem(horizontalSpacer);
376 
377  pushButton_restore = new QPushButton(centralWidget);
378  pushButton_restore->setObjectName(QString::fromUtf8("pushButton_restore"));
379 
380  horizontalLayout->addWidget(pushButton_restore);
381 
382 
383  gridLayout_5->addLayout(horizontalLayout, 1, 0, 1, 1);
384 
385  MainWindow->setCentralWidget(centralWidget);
386  menuBar = new QMenuBar(MainWindow);
387  menuBar->setObjectName(QString::fromUtf8("menuBar"));
388  menuBar->setGeometry(QRect(0, 0, 703, 25));
389  menuFile = new QMenu(menuBar);
390  menuFile->setObjectName(QString::fromUtf8("menuFile"));
391  MainWindow->setMenuBar(menuBar);
392  mainToolBar = new QToolBar(MainWindow);
393  mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
394  MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
395  statusBar = new QStatusBar(MainWindow);
396  statusBar->setObjectName(QString::fromUtf8("statusBar"));
397  MainWindow->setStatusBar(statusBar);
398  QWidget::setTabOrder(input, toolButton_input);
399  QWidget::setTabOrder(toolButton_input, bndnodata);
400  QWidget::setTabOrder(bndnodata, srcnodata);
401  QWidget::setTabOrder(srcnodata, sample);
402  QWidget::setTabOrder(sample, toolButton_sample);
403  QWidget::setTabOrder(toolButton_sample, output);
404  QWidget::setTabOrder(output, toolButton_output);
405  QWidget::setTabOrder(toolButton_output, f);
406  QWidget::setTabOrder(f, polygon);
407  QWidget::setTabOrder(polygon, rule);
408  QWidget::setTabOrder(rule, bname);
409  QWidget::setTabOrder(bname, cname);
410  QWidget::setTabOrder(cname, nclass);
411  QWidget::setTabOrder(nclass, toolButton_createTable);
412  QWidget::setTabOrder(toolButton_createTable, threshold);
413  QWidget::setTabOrder(threshold, pushButton_run);
414  QWidget::setTabOrder(pushButton_run, pushButton_restore);
415  QWidget::setTabOrder(pushButton_restore, tabWidget);
416  QWidget::setTabOrder(tabWidget, tableView_labels);
417  QWidget::setTabOrder(tableView_labels, commandLineEdit);
418  QWidget::setTabOrder(commandLineEdit, consoleEdit);
419 
420  menuBar->addAction(menuFile->menuAction());
421  menuFile->addAction(actionInput);
422  menuFile->addAction(actionMask);
423  menuFile->addAction(actionSample);
424  menuFile->addAction(actionOutput);
425 
426  retranslateUi(MainWindow);
427 
428  tabWidget->setCurrentIndex(0);
429 
430 
431  QMetaObject::connectSlotsByName(MainWindow);
432  } // setupUi
433 
434  void retranslateUi(QMainWindow *MainWindow)
435  {
436  MainWindow->setWindowTitle(QApplication::translate("MainWindow", "pkextract_gui", 0, QApplication::UnicodeUTF8));
437  actionInput->setText(QApplication::translate("MainWindow", "Input", 0, QApplication::UnicodeUTF8));
438  actionSample->setText(QApplication::translate("MainWindow", "Sample", 0, QApplication::UnicodeUTF8));
439  actionMask->setText(QApplication::translate("MainWindow", "Mask", 0, QApplication::UnicodeUTF8));
440  actionOutput->setText(QApplication::translate("MainWindow", "Output", 0, QApplication::UnicodeUTF8));
441 #ifndef QT_NO_TOOLTIP
442  label_14->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>invalid value(s) for input image</p></body></html>", 0, QApplication::UnicodeUTF8));
443 #endif // QT_NO_TOOLTIP
444  label_14->setText(QApplication::translate("MainWindow", "srcnodata", 0, QApplication::UnicodeUTF8));
445 #ifndef QT_NO_TOOLTIP
446  label_13->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Band(s) in input image to check if pixel is valid (used for srcnodata)</p></body></html>", 0, QApplication::UnicodeUTF8));
447 #endif // QT_NO_TOOLTIP
448  label_13->setText(QApplication::translate("MainWindow", "bndnodata", 0, QApplication::UnicodeUTF8));
449  toolButton_input->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
450 #ifndef QT_NO_TOOLTIP
451  label_16->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>OGR supported vector format</p></body></html>", 0, QApplication::UnicodeUTF8));
452 #endif // QT_NO_TOOLTIP
453  label_16->setText(QApplication::translate("MainWindow", "format", 0, QApplication::UnicodeUTF8));
454 #ifndef QT_NO_TOOLTIP
455  label_15->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Output will contain sample features with input band information included</p></body></html>", 0, QApplication::UnicodeUTF8));
456 #endif // QT_NO_TOOLTIP
457  label_15->setText(QApplication::translate("MainWindow", "Output data", 0, QApplication::UnicodeUTF8));
458 #ifndef QT_NO_TOOLTIP
459  label_3->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Raster input dataset containing band information</p></body></html>", 0, QApplication::UnicodeUTF8));
460 #endif // QT_NO_TOOLTIP
461  label_3->setText(QApplication::translate("MainWindow", "Input data", 0, QApplication::UnicodeUTF8));
462 #ifndef QT_NO_TOOLTIP
463  label_23->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>OGR vector file with features to be extracted from input data. Output will contain features with input band information included. Sample image can also be GDAL raster dataset.</p></body></html>", 0, QApplication::UnicodeUTF8));
464 #endif // QT_NO_TOOLTIP
465  label_23->setText(QApplication::translate("MainWindow", "Sample image", 0, QApplication::UnicodeUTF8));
466  toolButton_output->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
467  toolButton_sample->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
468 #ifndef QT_NO_TOOLTIP
469  polygon->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Keep output features as polygons (only if input vector are polygons as well)</p></body></html>", 0, QApplication::UnicodeUTF8));
470 #endif // QT_NO_TOOLTIP
471  polygon->setText(QApplication::translate("MainWindow", "polygons", 0, QApplication::UnicodeUTF8));
472  tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("MainWindow", "Input/Output", 0, QApplication::UnicodeUTF8));
473 #ifndef QT_NO_TOOLTIP
474  label_20->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Prepare a table with class names. To prepare the table, first enter the number of classes and then press the button '-&gt;'. </p><p>Prepare a class table only in two cases:</p><p>1) The sample is a raster file and you want to select a subset of classes, with each a defined threshold (in percentage). A threshold of 50 means you want half of the pixels to be selected.</p><p>2) The sample is a vector file and the extraction rule is either 'proportion' or 'maxvote'. For 'proportion', define only the clas(ses) for which you want to calculate the proportion (e.g. proportion with respect to remaining classes). For 'maxvote', define all the (e.g. land cover) classes in the input raster map</p><p>In all other cases, do NOT prepare a class table</p></body></html>", 0, QApplication::UnicodeUTF8));
475 #endif // QT_NO_TOOLTIP
476  label_20->setText(QApplication::translate("MainWindow", "prepare table ", 0, QApplication::UnicodeUTF8));
477 #ifndef QT_NO_TOOLTIP
478  label_4->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Rule how to extract the features from the input data</p></body></html>", 0, QApplication::UnicodeUTF8));
479 #endif // QT_NO_TOOLTIP
480  label_4->setText(QApplication::translate("MainWindow", "extraction rule", 0, QApplication::UnicodeUTF8));
481  label_21->setText(QApplication::translate("MainWindow", "# classes", 0, QApplication::UnicodeUTF8));
482 #ifndef QT_NO_TOOLTIP
483  toolButton_createTable->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Prepare a table with class names. To prepare the table, first enter the number of classes and then press the button '-&gt;'. </p><p>Prepare a class table only in two cases:</p><p>1) The sample is a raster file and you want to select a subset of classes, with each a defined threshold (in percentage). A threshold of 50 means you want half of the pixels to be selected.</p><p>2) The sample is a vector file and the extraction rule is either 'proportion' or 'maxvote'. For 'proportion', define only the clas(ses) for which you want to calculate the proportion (e.g. proportion with respect to remaining classes). For 'maxvote', define all the (e.g. land cover) classes in the input raster map</p><p>In all other cases, do NOT prepare a class table</p></body></html>", 0, QApplication::UnicodeUTF8));
484 #endif // QT_NO_TOOLTIP
485  toolButton_createTable->setText(QApplication::translate("MainWindow", "->", 0, QApplication::UnicodeUTF8));
486 #ifndef QT_NO_TOOLTIP
487  label_2->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>For single band input data, this extra attribute name will correspond to the raster values. For multi-band input data, multiple attributes with this prefix will be added (e.g. B0, B1, B2, etc.)</p></body></html>", 0, QApplication::UnicodeUTF8));
488 #endif // QT_NO_TOOLTIP
489  label_2->setText(QApplication::translate("MainWindow", "attribute (prefix) name for raster info", 0, QApplication::UnicodeUTF8));
490 #ifndef QT_NO_TOOLTIP
491  label->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Threshold value for selection process. Select this percentage of the raster pixels (if sample is a raster dataset) or this percentage of the features in the vector file (if sample is a vector file). In case the sample is a land cover raster dataset, you can also define a threshold for each land cover class individually by preparing the table on the right.</p></body></html>", 0, QApplication::UnicodeUTF8));
492 #endif // QT_NO_TOOLTIP
493  label->setText(QApplication::translate("MainWindow", "Single threshold", 0, QApplication::UnicodeUTF8));
494  label_5->setText(QApplication::translate("MainWindow", "attribute for class output", 0, QApplication::UnicodeUTF8));
495  label_17->setText(QApplication::translate("MainWindow", "class name-threshold (%) pairs", 0, QApplication::UnicodeUTF8));
496  label_22->setText(QApplication::translate("MainWindow", "replace label names with\n"
497 " the labels in your training\n"
498 " vector file", 0, QApplication::UnicodeUTF8));
499  tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("MainWindow", "Extract", 0, QApplication::UnicodeUTF8));
500  label_18->setText(QApplication::translate("MainWindow", "Command line", 0, QApplication::UnicodeUTF8));
501  label_19->setText(QApplication::translate("MainWindow", "Console output", 0, QApplication::UnicodeUTF8));
502  tabWidget->setTabText(tabWidget->indexOf(tab_4), QApplication::translate("MainWindow", "Console", 0, QApplication::UnicodeUTF8));
503  pushButton_run->setText(QApplication::translate("MainWindow", "Run", 0, QApplication::UnicodeUTF8));
504  pushButton_restore->setText(QApplication::translate("MainWindow", "Restore defaults", 0, QApplication::UnicodeUTF8));
505  menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8));
506  } // retranslateUi
507 
508 };
509 
510 namespace Ui {
511  class MainWindow: public Ui_MainWindow {};
512 } // namespace Ui
513 
514 QT_END_NAMESPACE
515 
516 #endif // UI_MAINWINDOW_H