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 *actionReference;
44  QAction *actionMask;
45  QAction *actionOutput;
46  QAction *actionColor_table;
47  QWidget *centralWidget;
48  QVBoxLayout *verticalLayout;
49  QTabWidget *tabWidget;
50  QWidget *tab_2;
51  QWidget *layoutWidget;
52  QGridLayout *gridLayout_2;
53  QLabel *label_2;
54  QToolButton *toolButton_output;
55  QLineEdit *lclass;
56  QLineEdit *output;
57  QLabel *label_6;
58  QLineEdit *input;
59  QCheckBox *confusion;
60  QLabel *label_14;
61  QToolButton *toolButton_input;
62  QLabel *label_13;
63  QLineEdit *mask;
64  QToolButton *toolButton_mask;
65  QLineEdit *msknodata;
66  QSpacerItem *horizontalSpacer_15;
67  QLabel *label_3;
68  QLineEdit *nclass;
69  QLabel *label_4;
70  QLabel *label_5;
71  QLineEdit *lref;
72  QLabel *label_reference;
73  QLineEdit *reference;
74  QToolButton *toolButton_reference;
75  QSpacerItem *verticalSpacer_2;
76  QComboBox *f;
77  QLabel *label_7;
78  QLineEdit *nodata;
79  QLabel *label;
80  QWidget *widget;
81  QVBoxLayout *verticalLayout_2;
82  QToolButton *commandLinkButtonPrepareTable;
83  QTableView *tableView_labels;
84  QWidget *tab_4;
85  QVBoxLayout *verticalLayout_6;
86  QLabel *label_18;
87  QLineEdit *commandLineEdit;
88  QLabel *label_19;
89  QPlainTextEdit *consoleEdit;
90  QHBoxLayout *horizontalLayout;
91  QPushButton *pushButton_run;
92  QSpacerItem *horizontalSpacer;
93  QPushButton *pushButton_restore;
94  QMenuBar *menuBar;
95  QMenu *menuFile;
96  QToolBar *mainToolBar;
97  QStatusBar *statusBar;
98 
99  void setupUi(QMainWindow *MainWindow)
100  {
101  if (MainWindow->objectName().isEmpty())
102  MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
103  MainWindow->resize(810, 777);
104  actionInput = new QAction(MainWindow);
105  actionInput->setObjectName(QString::fromUtf8("actionInput"));
106  actionReference = new QAction(MainWindow);
107  actionReference->setObjectName(QString::fromUtf8("actionReference"));
108  actionMask = new QAction(MainWindow);
109  actionMask->setObjectName(QString::fromUtf8("actionMask"));
110  actionOutput = new QAction(MainWindow);
111  actionOutput->setObjectName(QString::fromUtf8("actionOutput"));
112  actionColor_table = new QAction(MainWindow);
113  actionColor_table->setObjectName(QString::fromUtf8("actionColor_table"));
114  centralWidget = new QWidget(MainWindow);
115  centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
116  verticalLayout = new QVBoxLayout(centralWidget);
117  verticalLayout->setSpacing(6);
118  verticalLayout->setContentsMargins(11, 11, 11, 11);
119  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
120  tabWidget = new QTabWidget(centralWidget);
121  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
122  tab_2 = new QWidget();
123  tab_2->setObjectName(QString::fromUtf8("tab_2"));
124  layoutWidget = new QWidget(tab_2);
125  layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
126  layoutWidget->setGeometry(QRect(9, 9, 761, 264));
127  gridLayout_2 = new QGridLayout(layoutWidget);
128  gridLayout_2->setSpacing(6);
129  gridLayout_2->setContentsMargins(11, 11, 11, 11);
130  gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
131  gridLayout_2->setContentsMargins(0, 0, 0, 0);
132  label_2 = new QLabel(layoutWidget);
133  label_2->setObjectName(QString::fromUtf8("label_2"));
134 
135  gridLayout_2->addWidget(label_2, 5, 5, 1, 1);
136 
137  toolButton_output = new QToolButton(layoutWidget);
138  toolButton_output->setObjectName(QString::fromUtf8("toolButton_output"));
139 
140  gridLayout_2->addWidget(toolButton_output, 4, 3, 1, 1);
141 
142  lclass = new QLineEdit(layoutWidget);
143  lclass->setObjectName(QString::fromUtf8("lclass"));
144 
145  gridLayout_2->addWidget(lclass, 4, 6, 1, 1);
146 
147  output = new QLineEdit(layoutWidget);
148  output->setObjectName(QString::fromUtf8("output"));
149 
150  gridLayout_2->addWidget(output, 4, 2, 1, 1);
151 
152  label_6 = new QLabel(layoutWidget);
153  label_6->setObjectName(QString::fromUtf8("label_6"));
154 
155  gridLayout_2->addWidget(label_6, 4, 5, 1, 1);
156 
157  input = new QLineEdit(layoutWidget);
158  input->setObjectName(QString::fromUtf8("input"));
159 
160  gridLayout_2->addWidget(input, 0, 2, 1, 1);
161 
162  confusion = new QCheckBox(layoutWidget);
163  confusion->setObjectName(QString::fromUtf8("confusion"));
164 
165  gridLayout_2->addWidget(confusion, 6, 0, 1, 1);
166 
167  label_14 = new QLabel(layoutWidget);
168  label_14->setObjectName(QString::fromUtf8("label_14"));
169 
170  gridLayout_2->addWidget(label_14, 3, 5, 1, 1);
171 
172  toolButton_input = new QToolButton(layoutWidget);
173  toolButton_input->setObjectName(QString::fromUtf8("toolButton_input"));
174 
175  gridLayout_2->addWidget(toolButton_input, 0, 3, 1, 1);
176 
177  label_13 = new QLabel(layoutWidget);
178  label_13->setObjectName(QString::fromUtf8("label_13"));
179 
180  gridLayout_2->addWidget(label_13, 3, 0, 1, 1);
181 
182  mask = new QLineEdit(layoutWidget);
183  mask->setObjectName(QString::fromUtf8("mask"));
184 
185  gridLayout_2->addWidget(mask, 3, 2, 1, 1);
186 
187  toolButton_mask = new QToolButton(layoutWidget);
188  toolButton_mask->setObjectName(QString::fromUtf8("toolButton_mask"));
189 
190  gridLayout_2->addWidget(toolButton_mask, 3, 3, 1, 1);
191 
192  msknodata = new QLineEdit(layoutWidget);
193  msknodata->setObjectName(QString::fromUtf8("msknodata"));
194 
195  gridLayout_2->addWidget(msknodata, 3, 6, 1, 1);
196 
197  horizontalSpacer_15 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
198 
199  gridLayout_2->addItem(horizontalSpacer_15, 3, 4, 1, 1);
200 
201  label_3 = new QLabel(layoutWidget);
202  label_3->setObjectName(QString::fromUtf8("label_3"));
203 
204  gridLayout_2->addWidget(label_3, 0, 0, 1, 1);
205 
206  nclass = new QLineEdit(layoutWidget);
207  nclass->setObjectName(QString::fromUtf8("nclass"));
208 
209  gridLayout_2->addWidget(nclass, 7, 2, 1, 1);
210 
211  label_4 = new QLabel(layoutWidget);
212  label_4->setObjectName(QString::fromUtf8("label_4"));
213 
214  gridLayout_2->addWidget(label_4, 4, 0, 1, 1);
215 
216  label_5 = new QLabel(layoutWidget);
217  label_5->setObjectName(QString::fromUtf8("label_5"));
218 
219  gridLayout_2->addWidget(label_5, 2, 5, 1, 1);
220 
221  lref = new QLineEdit(layoutWidget);
222  lref->setObjectName(QString::fromUtf8("lref"));
223 
224  gridLayout_2->addWidget(lref, 2, 6, 1, 1);
225 
226  label_reference = new QLabel(layoutWidget);
227  label_reference->setObjectName(QString::fromUtf8("label_reference"));
228 
229  gridLayout_2->addWidget(label_reference, 2, 0, 1, 1);
230 
231  reference = new QLineEdit(layoutWidget);
232  reference->setObjectName(QString::fromUtf8("reference"));
233 
234  gridLayout_2->addWidget(reference, 2, 2, 1, 1);
235 
236  toolButton_reference = new QToolButton(layoutWidget);
237  toolButton_reference->setObjectName(QString::fromUtf8("toolButton_reference"));
238 
239  gridLayout_2->addWidget(toolButton_reference, 2, 3, 1, 1);
240 
241  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
242 
243  gridLayout_2->addItem(verticalSpacer_2, 8, 0, 1, 1);
244 
245  f = new QComboBox(layoutWidget);
246  f->setObjectName(QString::fromUtf8("f"));
247 
248  gridLayout_2->addWidget(f, 5, 6, 1, 1);
249 
250  label_7 = new QLabel(layoutWidget);
251  label_7->setObjectName(QString::fromUtf8("label_7"));
252 
253  gridLayout_2->addWidget(label_7, 7, 0, 1, 1);
254 
255  nodata = new QLineEdit(layoutWidget);
256  nodata->setObjectName(QString::fromUtf8("nodata"));
257 
258  gridLayout_2->addWidget(nodata, 0, 6, 1, 1);
259 
260  label = new QLabel(layoutWidget);
261  label->setObjectName(QString::fromUtf8("label"));
262 
263  gridLayout_2->addWidget(label, 0, 5, 1, 1);
264 
265  widget = new QWidget(tab_2);
266  widget->setObjectName(QString::fromUtf8("widget"));
267  widget->setGeometry(QRect(11, 281, 391, 331));
268  verticalLayout_2 = new QVBoxLayout(widget);
269  verticalLayout_2->setSpacing(6);
270  verticalLayout_2->setContentsMargins(11, 11, 11, 11);
271  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
272  verticalLayout_2->setContentsMargins(0, 0, 0, 0);
273  commandLinkButtonPrepareTable = new QToolButton(widget);
274  commandLinkButtonPrepareTable->setObjectName(QString::fromUtf8("commandLinkButtonPrepareTable"));
275 
276  verticalLayout_2->addWidget(commandLinkButtonPrepareTable);
277 
278  tableView_labels = new QTableView(widget);
279  tableView_labels->setObjectName(QString::fromUtf8("tableView_labels"));
280 
281  verticalLayout_2->addWidget(tableView_labels);
282 
283  tabWidget->addTab(tab_2, QString());
284  tab_4 = new QWidget();
285  tab_4->setObjectName(QString::fromUtf8("tab_4"));
286  verticalLayout_6 = new QVBoxLayout(tab_4);
287  verticalLayout_6->setSpacing(6);
288  verticalLayout_6->setContentsMargins(11, 11, 11, 11);
289  verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
290  label_18 = new QLabel(tab_4);
291  label_18->setObjectName(QString::fromUtf8("label_18"));
292 
293  verticalLayout_6->addWidget(label_18);
294 
295  commandLineEdit = new QLineEdit(tab_4);
296  commandLineEdit->setObjectName(QString::fromUtf8("commandLineEdit"));
297 
298  verticalLayout_6->addWidget(commandLineEdit);
299 
300  label_19 = new QLabel(tab_4);
301  label_19->setObjectName(QString::fromUtf8("label_19"));
302 
303  verticalLayout_6->addWidget(label_19);
304 
305  consoleEdit = new QPlainTextEdit(tab_4);
306  consoleEdit->setObjectName(QString::fromUtf8("consoleEdit"));
307 
308  verticalLayout_6->addWidget(consoleEdit);
309 
310  tabWidget->addTab(tab_4, QString());
311 
312  verticalLayout->addWidget(tabWidget);
313 
314  horizontalLayout = new QHBoxLayout();
315  horizontalLayout->setSpacing(6);
316  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
317  pushButton_run = new QPushButton(centralWidget);
318  pushButton_run->setObjectName(QString::fromUtf8("pushButton_run"));
319 
320  horizontalLayout->addWidget(pushButton_run);
321 
322  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
323 
324  horizontalLayout->addItem(horizontalSpacer);
325 
326  pushButton_restore = new QPushButton(centralWidget);
327  pushButton_restore->setObjectName(QString::fromUtf8("pushButton_restore"));
328 
329  horizontalLayout->addWidget(pushButton_restore);
330 
331 
332  verticalLayout->addLayout(horizontalLayout);
333 
334  MainWindow->setCentralWidget(centralWidget);
335  menuBar = new QMenuBar(MainWindow);
336  menuBar->setObjectName(QString::fromUtf8("menuBar"));
337  menuBar->setGeometry(QRect(0, 0, 810, 27));
338  menuFile = new QMenu(menuBar);
339  menuFile->setObjectName(QString::fromUtf8("menuFile"));
340  MainWindow->setMenuBar(menuBar);
341  mainToolBar = new QToolBar(MainWindow);
342  mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
343  MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
344  statusBar = new QStatusBar(MainWindow);
345  statusBar->setObjectName(QString::fromUtf8("statusBar"));
346  MainWindow->setStatusBar(statusBar);
347  QWidget::setTabOrder(input, toolButton_input);
348  QWidget::setTabOrder(toolButton_input, nodata);
349  QWidget::setTabOrder(nodata, reference);
350  QWidget::setTabOrder(reference, toolButton_reference);
351  QWidget::setTabOrder(toolButton_reference, lref);
352  QWidget::setTabOrder(lref, mask);
353  QWidget::setTabOrder(mask, toolButton_mask);
354  QWidget::setTabOrder(toolButton_mask, msknodata);
355  QWidget::setTabOrder(msknodata, output);
356  QWidget::setTabOrder(output, toolButton_output);
357  QWidget::setTabOrder(toolButton_output, lclass);
358  QWidget::setTabOrder(lclass, f);
359  QWidget::setTabOrder(f, confusion);
360  QWidget::setTabOrder(confusion, nclass);
361  QWidget::setTabOrder(nclass, commandLinkButtonPrepareTable);
362  QWidget::setTabOrder(commandLinkButtonPrepareTable, tableView_labels);
363  QWidget::setTabOrder(tableView_labels, consoleEdit);
364  QWidget::setTabOrder(consoleEdit, pushButton_restore);
365  QWidget::setTabOrder(pushButton_restore, pushButton_run);
366  QWidget::setTabOrder(pushButton_run, commandLineEdit);
367  QWidget::setTabOrder(commandLineEdit, tabWidget);
368 
369  menuBar->addAction(menuFile->menuAction());
370  menuFile->addAction(actionInput);
371  menuFile->addAction(actionReference);
372  menuFile->addAction(actionMask);
373  menuFile->addAction(actionOutput);
374 
375  retranslateUi(MainWindow);
376 
377  tabWidget->setCurrentIndex(0);
378 
379 
380  QMetaObject::connectSlotsByName(MainWindow);
381  } // setupUi
382 
383  void retranslateUi(QMainWindow *MainWindow)
384  {
385  MainWindow->setWindowTitle(QApplication::translate("MainWindow", "pkdiff_gui", 0, QApplication::UnicodeUTF8));
386  actionInput->setText(QApplication::translate("MainWindow", "Input", 0, QApplication::UnicodeUTF8));
387  actionInput->setShortcut(QApplication::translate("MainWindow", "Alt+I", 0, QApplication::UnicodeUTF8));
388  actionReference->setText(QApplication::translate("MainWindow", "Reference", 0, QApplication::UnicodeUTF8));
389  actionReference->setShortcut(QApplication::translate("MainWindow", "Alt+T", 0, QApplication::UnicodeUTF8));
390  actionMask->setText(QApplication::translate("MainWindow", "Mask", 0, QApplication::UnicodeUTF8));
391  actionMask->setShortcut(QApplication::translate("MainWindow", "Alt+M", 0, QApplication::UnicodeUTF8));
392  actionOutput->setText(QApplication::translate("MainWindow", "Output", 0, QApplication::UnicodeUTF8));
393  actionOutput->setShortcut(QApplication::translate("MainWindow", "Alt+O", 0, QApplication::UnicodeUTF8));
394  actionColor_table->setText(QApplication::translate("MainWindow", "Color table", 0, QApplication::UnicodeUTF8));
395  actionColor_table->setShortcut(QApplication::translate("MainWindow", "Alt+C", 0, QApplication::UnicodeUTF8));
396  label_2->setText(QApplication::translate("MainWindow", "OGR output format", 0, QApplication::UnicodeUTF8));
397  toolButton_output->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
398  label_6->setText(QApplication::translate("MainWindow", "class label", 0, QApplication::UnicodeUTF8));
399  confusion->setText(QApplication::translate("MainWindow", "confusion matrix", 0, QApplication::UnicodeUTF8));
400  label_14->setText(QApplication::translate("MainWindow", "msknodata", 0, QApplication::UnicodeUTF8));
401  toolButton_input->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
402 #ifndef QT_NO_TOOLTIP
403  label_13->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Dimensions of mask image must correspond to input image. Pixels in mask with values=masknodata are not classified and get nodata value.</p></body></html>", 0, QApplication::UnicodeUTF8));
404 #endif // QT_NO_TOOLTIP
405  label_13->setText(QApplication::translate("MainWindow", "Mask image", 0, QApplication::UnicodeUTF8));
406  toolButton_mask->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
407 #ifndef QT_NO_TOOLTIP
408  label_3->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Input image. Both OGR vectors and GDAL rasters are supported. Number of bands must match those in training sample.</p></body></html>", 0, QApplication::UnicodeUTF8));
409 #endif // QT_NO_TOOLTIP
410  label_3->setText(QApplication::translate("MainWindow", "Input data", 0, QApplication::UnicodeUTF8));
411  label_4->setText(QApplication::translate("MainWindow", "Output data", 0, QApplication::UnicodeUTF8));
412  label_5->setText(QApplication::translate("MainWindow", "class label", 0, QApplication::UnicodeUTF8));
413  label_reference->setText(QApplication::translate("MainWindow", "Reference", 0, QApplication::UnicodeUTF8));
414  toolButton_reference->setText(QApplication::translate("MainWindow", "...", 0, QApplication::UnicodeUTF8));
415  label_7->setText(QApplication::translate("MainWindow", "Number of classes to prepare table", 0, QApplication::UnicodeUTF8));
416  label->setText(QApplication::translate("MainWindow", "nodata", 0, QApplication::UnicodeUTF8));
417  commandLinkButtonPrepareTable->setText(QApplication::translate("MainWindow", "prepare table", 0, QApplication::UnicodeUTF8));
418  tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("MainWindow", "Input/Output", 0, QApplication::UnicodeUTF8));
419  label_18->setText(QApplication::translate("MainWindow", "Command line", 0, QApplication::UnicodeUTF8));
420  label_19->setText(QApplication::translate("MainWindow", "Console output", 0, QApplication::UnicodeUTF8));
421  tabWidget->setTabText(tabWidget->indexOf(tab_4), QApplication::translate("MainWindow", "Console", 0, QApplication::UnicodeUTF8));
422 #ifndef QT_NO_TOOLTIP
423  pushButton_run->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>Classify with current settings (check Console for output)</p></body></html>", 0, QApplication::UnicodeUTF8));
424 #endif // QT_NO_TOOLTIP
425  pushButton_run->setText(QApplication::translate("MainWindow", "Run", 0, QApplication::UnicodeUTF8));
426 #ifndef QT_NO_TOOLTIP
427  pushButton_restore->setToolTip(QApplication::translate("MainWindow", "<html><head/><body><p>reset all parameters to default</p></body></html>", 0, QApplication::UnicodeUTF8));
428 #endif // QT_NO_TOOLTIP
429  pushButton_restore->setText(QApplication::translate("MainWindow", "Restore defaults", 0, QApplication::UnicodeUTF8));
430  menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8));
431  } // retranslateUi
432 
433 };
434 
435 namespace Ui {
436  class MainWindow: public Ui_MainWindow {};
437 } // namespace Ui
438 
439 QT_END_NAMESPACE
440 
441 #endif // UI_MAINWINDOW_H