DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
ui_creategraphdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'creategraphdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.10.0
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_CREATEGRAPHDIALOG_H
10 #define UI_CREATEGRAPHDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QDialog>
19 #include <QtWidgets/QDoubleSpinBox>
20 #include <QtWidgets/QGridLayout>
21 #include <QtWidgets/QGroupBox>
22 #include <QtWidgets/QHBoxLayout>
23 #include <QtWidgets/QHeaderView>
24 #include <QtWidgets/QLabel>
25 #include <QtWidgets/QPushButton>
26 #include <QtWidgets/QRadioButton>
27 #include <QtWidgets/QSpacerItem>
28 #include <QtWidgets/QSpinBox>
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QGridLayout *gridLayout;
36  QDoubleSpinBox *long2;
37  QLabel *label_2;
38  QHBoxLayout *horizontalLayout;
39  QPushButton *cmdCancel;
40  QPushButton *cmdOk;
41  QLabel *label_4;
42  QLabel *label_3;
43  QDoubleSpinBox *long1;
44  QLabel *label_6;
45  QLabel *label;
46  QLabel *label_5;
47  QDoubleSpinBox *lat1;
48  QDoubleSpinBox *lat2;
49  QSpacerItem *verticalSpacer;
50  QGroupBox *groupBox;
51  QGridLayout *gridLayout_2;
52  QRadioButton *hex;
53  QRadioButton *quad;
54  QRadioButton *hex_planar;
55  QRadioButton *quad_planar;
56  QGroupBox *groupBox_2;
57  QGridLayout *gridLayout_3;
58  QComboBox *shapefileIncluding1;
59  QComboBox *shapefileExcluding;
60  QLabel *label_8;
61  QLabel *label_9;
62  QDoubleSpinBox *step1;
63  QLabel *label_7;
64  QLabel *label_10;
65  QComboBox *shapefileIncluding2;
66  QLabel *label_11;
67  QDoubleSpinBox *step2;
68  QDoubleSpinBox *step;
69  QCheckBox *enableOutside;
70  QLabel *label_12;
72  QGroupBox *groupBox_3;
73  QGridLayout *gridLayout_4;
74  QCheckBox *removesLongEdges;
75  QDoubleSpinBox *longEdgesLimit;
76  QCheckBox *minLinksEnabled;
77  QSpinBox *minLinks;
78  QCheckBox *maxLinksEnabled;
79  QSpinBox *maxLinks;
80 
81  void setupUi(QDialog *CreateGraphDialog)
82  {
83  if (CreateGraphDialog->objectName().isEmpty())
84  CreateGraphDialog->setObjectName(QStringLiteral("CreateGraphDialog"));
85  CreateGraphDialog->resize(695, 521);
86  gridLayout = new QGridLayout(CreateGraphDialog);
87  gridLayout->setObjectName(QStringLiteral("gridLayout"));
88  long2 = new QDoubleSpinBox(CreateGraphDialog);
89  long2->setObjectName(QStringLiteral("long2"));
90  long2->setDecimals(6);
91  long2->setMinimum(-180);
92  long2->setMaximum(180);
93 
94  gridLayout->addWidget(long2, 1, 2, 1, 1);
95 
96  label_2 = new QLabel(CreateGraphDialog);
97  label_2->setObjectName(QStringLiteral("label_2"));
98 
99  gridLayout->addWidget(label_2, 0, 1, 1, 1);
100 
101  horizontalLayout = new QHBoxLayout();
102  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
103  cmdCancel = new QPushButton(CreateGraphDialog);
104  cmdCancel->setObjectName(QStringLiteral("cmdCancel"));
105 
106  horizontalLayout->addWidget(cmdCancel);
107 
108  cmdOk = new QPushButton(CreateGraphDialog);
109  cmdOk->setObjectName(QStringLiteral("cmdOk"));
110 
111  horizontalLayout->addWidget(cmdOk);
112 
113 
114  gridLayout->addLayout(horizontalLayout, 7, 2, 1, 3);
115 
116  label_4 = new QLabel(CreateGraphDialog);
117  label_4->setObjectName(QStringLiteral("label_4"));
118 
119  gridLayout->addWidget(label_4, 1, 0, 1, 1);
120 
121  label_3 = new QLabel(CreateGraphDialog);
122  label_3->setObjectName(QStringLiteral("label_3"));
123 
124  gridLayout->addWidget(label_3, 0, 3, 1, 1);
125 
126  long1 = new QDoubleSpinBox(CreateGraphDialog);
127  long1->setObjectName(QStringLiteral("long1"));
128  long1->setDecimals(6);
129  long1->setMinimum(-180);
130  long1->setMaximum(180);
131 
132  gridLayout->addWidget(long1, 0, 2, 1, 1);
133 
134  label_6 = new QLabel(CreateGraphDialog);
135  label_6->setObjectName(QStringLiteral("label_6"));
136 
137  gridLayout->addWidget(label_6, 1, 3, 1, 1);
138 
139  label = new QLabel(CreateGraphDialog);
140  label->setObjectName(QStringLiteral("label"));
141 
142  gridLayout->addWidget(label, 0, 0, 1, 1);
143 
144  label_5 = new QLabel(CreateGraphDialog);
145  label_5->setObjectName(QStringLiteral("label_5"));
146 
147  gridLayout->addWidget(label_5, 1, 1, 1, 1);
148 
149  lat1 = new QDoubleSpinBox(CreateGraphDialog);
150  lat1->setObjectName(QStringLiteral("lat1"));
151  lat1->setDecimals(6);
152  lat1->setMinimum(-90);
153  lat1->setMaximum(90);
154 
155  gridLayout->addWidget(lat1, 0, 4, 1, 1);
156 
157  lat2 = new QDoubleSpinBox(CreateGraphDialog);
158  lat2->setObjectName(QStringLiteral("lat2"));
159  lat2->setDecimals(6);
160  lat2->setMinimum(-90);
161  lat2->setMaximum(90);
162 
163  gridLayout->addWidget(lat2, 1, 4, 1, 1);
164 
165  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
166 
167  gridLayout->addItem(verticalSpacer, 6, 3, 1, 1);
168 
169  groupBox = new QGroupBox(CreateGraphDialog);
170  groupBox->setObjectName(QStringLiteral("groupBox"));
171  gridLayout_2 = new QGridLayout(groupBox);
172  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
173  hex = new QRadioButton(groupBox);
174  hex->setObjectName(QStringLiteral("hex"));
175  hex->setChecked(true);
176 
177  gridLayout_2->addWidget(hex, 0, 0, 1, 1);
178 
179  quad = new QRadioButton(groupBox);
180  quad->setObjectName(QStringLiteral("quad"));
181 
182  gridLayout_2->addWidget(quad, 0, 1, 1, 1);
183 
184  hex_planar = new QRadioButton(groupBox);
185  hex_planar->setObjectName(QStringLiteral("hex_planar"));
186 
187  gridLayout_2->addWidget(hex_planar, 1, 0, 1, 1);
188 
189  quad_planar = new QRadioButton(groupBox);
190  quad_planar->setObjectName(QStringLiteral("quad_planar"));
191 
192  gridLayout_2->addWidget(quad_planar, 1, 1, 1, 1);
193 
194 
195  gridLayout->addWidget(groupBox, 2, 0, 1, 5);
196 
197  groupBox_2 = new QGroupBox(CreateGraphDialog);
198  groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
199  gridLayout_3 = new QGridLayout(groupBox_2);
200  gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
201  shapefileIncluding1 = new QComboBox(groupBox_2);
202  shapefileIncluding1->setObjectName(QStringLiteral("shapefileIncluding1"));
203 
204  gridLayout_3->addWidget(shapefileIncluding1, 1, 1, 1, 1);
205 
206  shapefileExcluding = new QComboBox(groupBox_2);
207  shapefileExcluding->setObjectName(QStringLiteral("shapefileExcluding"));
208 
209  gridLayout_3->addWidget(shapefileExcluding, 3, 1, 1, 1);
210 
211  label_8 = new QLabel(groupBox_2);
212  label_8->setObjectName(QStringLiteral("label_8"));
213 
214  gridLayout_3->addWidget(label_8, 1, 0, 1, 1);
215 
216  label_9 = new QLabel(groupBox_2);
217  label_9->setObjectName(QStringLiteral("label_9"));
218 
219  gridLayout_3->addWidget(label_9, 3, 0, 1, 1);
220 
221  step1 = new QDoubleSpinBox(groupBox_2);
222  step1->setObjectName(QStringLiteral("step1"));
223  step1->setMinimum(0.5);
224  step1->setMaximum(1000);
225  step1->setSingleStep(0.5);
226  step1->setValue(10);
227 
228  gridLayout_3->addWidget(step1, 1, 3, 1, 1);
229 
230  label_7 = new QLabel(groupBox_2);
231  label_7->setObjectName(QStringLiteral("label_7"));
232 
233  gridLayout_3->addWidget(label_7, 1, 2, 1, 1);
234 
235  label_10 = new QLabel(groupBox_2);
236  label_10->setObjectName(QStringLiteral("label_10"));
237 
238  gridLayout_3->addWidget(label_10, 2, 0, 1, 1);
239 
240  shapefileIncluding2 = new QComboBox(groupBox_2);
241  shapefileIncluding2->setObjectName(QStringLiteral("shapefileIncluding2"));
242 
243  gridLayout_3->addWidget(shapefileIncluding2, 2, 1, 1, 1);
244 
245  label_11 = new QLabel(groupBox_2);
246  label_11->setObjectName(QStringLiteral("label_11"));
247 
248  gridLayout_3->addWidget(label_11, 2, 2, 1, 1);
249 
250  step2 = new QDoubleSpinBox(groupBox_2);
251  step2->setObjectName(QStringLiteral("step2"));
252  step2->setMinimum(0.5);
253  step2->setMaximum(1000);
254  step2->setSingleStep(0.5);
255  step2->setValue(5);
256 
257  gridLayout_3->addWidget(step2, 2, 3, 1, 1);
258 
259  step = new QDoubleSpinBox(groupBox_2);
260  step->setObjectName(QStringLiteral("step"));
261  step->setMinimum(0.5);
262  step->setMaximum(1000);
263  step->setSingleStep(0.5);
264  step->setValue(2.5);
265 
266  gridLayout_3->addWidget(step, 0, 3, 1, 1);
267 
268  enableOutside = new QCheckBox(groupBox_2);
269  enableOutside->setObjectName(QStringLiteral("enableOutside"));
270  enableOutside->setChecked(true);
271 
272  gridLayout_3->addWidget(enableOutside, 0, 0, 1, 2);
273 
274  label_12 = new QLabel(groupBox_2);
275  label_12->setObjectName(QStringLiteral("label_12"));
276 
277  gridLayout_3->addWidget(label_12, 0, 2, 1, 1);
278 
279  removeEdgesExclusion = new QCheckBox(groupBox_2);
280  removeEdgesExclusion->setObjectName(QStringLiteral("removeEdgesExclusion"));
281  removeEdgesExclusion->setChecked(true);
282 
283  gridLayout_3->addWidget(removeEdgesExclusion, 3, 2, 1, 2);
284 
285  gridLayout_3->setColumnStretch(1, 1);
286  gridLayout_3->setColumnStretch(3, 1);
287 
288  gridLayout->addWidget(groupBox_2, 4, 0, 1, 5);
289 
290  groupBox_3 = new QGroupBox(CreateGraphDialog);
291  groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
292  gridLayout_4 = new QGridLayout(groupBox_3);
293  gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
294  removesLongEdges = new QCheckBox(groupBox_3);
295  removesLongEdges->setObjectName(QStringLiteral("removesLongEdges"));
296 
297  gridLayout_4->addWidget(removesLongEdges, 2, 0, 1, 1);
298 
299  longEdgesLimit = new QDoubleSpinBox(groupBox_3);
300  longEdgesLimit->setObjectName(QStringLiteral("longEdgesLimit"));
301  longEdgesLimit->setMaximum(1000);
302 
303  gridLayout_4->addWidget(longEdgesLimit, 2, 1, 1, 1);
304 
305  minLinksEnabled = new QCheckBox(groupBox_3);
306  minLinksEnabled->setObjectName(QStringLiteral("minLinksEnabled"));
307  minLinksEnabled->setChecked(true);
308 
309  gridLayout_4->addWidget(minLinksEnabled, 0, 0, 1, 1);
310 
311  minLinks = new QSpinBox(groupBox_3);
312  minLinks->setObjectName(QStringLiteral("minLinks"));
313  minLinks->setMinimum(1);
314 
315  gridLayout_4->addWidget(minLinks, 0, 1, 1, 1);
316 
317  maxLinksEnabled = new QCheckBox(groupBox_3);
318  maxLinksEnabled->setObjectName(QStringLiteral("maxLinksEnabled"));
319  maxLinksEnabled->setChecked(false);
320 
321  gridLayout_4->addWidget(maxLinksEnabled, 1, 0, 1, 1);
322 
323  maxLinks = new QSpinBox(groupBox_3);
324  maxLinks->setObjectName(QStringLiteral("maxLinks"));
325  maxLinks->setMinimum(1);
326  maxLinks->setValue(6);
327 
328  gridLayout_4->addWidget(maxLinks, 1, 1, 1, 1);
329 
330 
331  gridLayout->addWidget(groupBox_3, 5, 0, 1, 5);
332 
333  QWidget::setTabOrder(long1, lat1);
334  QWidget::setTabOrder(lat1, long2);
335  QWidget::setTabOrder(long2, lat2);
336  QWidget::setTabOrder(lat2, hex);
337  QWidget::setTabOrder(hex, quad);
338  QWidget::setTabOrder(quad, enableOutside);
339  QWidget::setTabOrder(enableOutside, step);
340  QWidget::setTabOrder(step, shapefileIncluding1);
341  QWidget::setTabOrder(shapefileIncluding1, step1);
342  QWidget::setTabOrder(step1, shapefileIncluding2);
343  QWidget::setTabOrder(shapefileIncluding2, step2);
344  QWidget::setTabOrder(step2, shapefileExcluding);
345  QWidget::setTabOrder(shapefileExcluding, removeEdgesExclusion);
346  QWidget::setTabOrder(removeEdgesExclusion, minLinksEnabled);
347  QWidget::setTabOrder(minLinksEnabled, minLinks);
348  QWidget::setTabOrder(minLinks, maxLinksEnabled);
349  QWidget::setTabOrder(maxLinksEnabled, maxLinks);
350  QWidget::setTabOrder(maxLinks, removesLongEdges);
351  QWidget::setTabOrder(removesLongEdges, longEdgesLimit);
352  QWidget::setTabOrder(longEdgesLimit, cmdCancel);
353  QWidget::setTabOrder(cmdCancel, cmdOk);
354 
356  QObject::connect(cmdOk, SIGNAL(clicked()), CreateGraphDialog, SLOT(accept()));
357  QObject::connect(cmdCancel, SIGNAL(clicked()), CreateGraphDialog, SLOT(reject()));
358 
359  cmdOk->setDefault(true);
360 
361 
362  QMetaObject::connectSlotsByName(CreateGraphDialog);
363  } // setupUi
364 
366  {
367  CreateGraphDialog->setWindowTitle(QApplication::translate("CreateGraphDialog", "Create Graph", nullptr));
368  label_2->setText(QApplication::translate("CreateGraphDialog", "Long:", nullptr));
369  cmdCancel->setText(QApplication::translate("CreateGraphDialog", "Cancel", nullptr));
370  cmdOk->setText(QApplication::translate("CreateGraphDialog", "Ok", nullptr));
371  label_4->setText(QApplication::translate("CreateGraphDialog", "Corner 2", nullptr));
372  label_3->setText(QApplication::translate("CreateGraphDialog", "Lat:", nullptr));
373  label_6->setText(QApplication::translate("CreateGraphDialog", "Lat:", nullptr));
374  label->setText(QApplication::translate("CreateGraphDialog", "Corner 1", nullptr));
375  label_5->setText(QApplication::translate("CreateGraphDialog", "Long:", nullptr));
376  groupBox->setTitle(QApplication::translate("CreateGraphDialog", "Shape", nullptr));
377  hex->setText(QApplication::translate("CreateGraphDialog", "Geodesic Hex", nullptr));
378  quad->setText(QApplication::translate("CreateGraphDialog", "Geodesic Quad", nullptr));
379  hex_planar->setText(QApplication::translate("CreateGraphDialog", "Planar Hex", nullptr));
380  quad_planar->setText(QApplication::translate("CreateGraphDialog", "Planar Quad", nullptr));
381  groupBox_2->setTitle(QApplication::translate("CreateGraphDialog", "Zones", nullptr));
382  label_8->setText(QApplication::translate("CreateGraphDialog", "1st Inclusion Shapefile", nullptr));
383  label_9->setText(QApplication::translate("CreateGraphDialog", "Exclusion Shapefile", nullptr));
384  step1->setSuffix(QApplication::translate("CreateGraphDialog", " km", nullptr));
385  label_7->setText(QApplication::translate("CreateGraphDialog", "Step", nullptr));
386  label_10->setText(QApplication::translate("CreateGraphDialog", "2nd Inclusion Shapefile", nullptr));
387  label_11->setText(QApplication::translate("CreateGraphDialog", "Step", nullptr));
388  step2->setSuffix(QApplication::translate("CreateGraphDialog", " km", nullptr));
389  step->setSuffix(QApplication::translate("CreateGraphDialog", " km", nullptr));
390  enableOutside->setText(QApplication::translate("CreateGraphDialog", "Include points outside all shapefiles", nullptr));
391  label_12->setText(QApplication::translate("CreateGraphDialog", "Step", nullptr));
392  removeEdgesExclusion->setText(QApplication::translate("CreateGraphDialog", "Remove edges traversing this shapefile", nullptr));
393  groupBox_3->setTitle(QApplication::translate("CreateGraphDialog", "Options", nullptr));
394  removesLongEdges->setText(QApplication::translate("CreateGraphDialog", "Remove edges longer than", nullptr));
395  longEdgesLimit->setSuffix(QApplication::translate("CreateGraphDialog", " km", nullptr));
396  minLinksEnabled->setText(QApplication::translate("CreateGraphDialog", "Leave at least n links to any node", nullptr));
397  maxLinksEnabled->setText(QApplication::translate("CreateGraphDialog", "Limit the number of links per node to", nullptr));
398  } // retranslateUi
399 
400 };
401 
402 namespace Ui {
404 } // namespace Ui
405 
406 QT_END_NAMESPACE
407 
408 #endif // UI_CREATEGRAPHDIALOG_H
Definition: creategraphdialog.h:51
QDoubleSpinBox * long1
Definition: ui_creategraphdialog.h:43
QHBoxLayout * horizontalLayout
Definition: ui_creategraphdialog.h:38
Definition: dteditorwindow.h:32
QDoubleSpinBox * lat1
Definition: ui_creategraphdialog.h:47
QPushButton * cmdOk
Definition: ui_creategraphdialog.h:40
QLabel * label_9
Definition: ui_creategraphdialog.h:61
QDoubleSpinBox * step1
Definition: ui_creategraphdialog.h:62
QPushButton * cmdCancel
Definition: ui_creategraphdialog.h:39
QLabel * label_4
Definition: ui_creategraphdialog.h:41
QRadioButton * hex_planar
Definition: ui_creategraphdialog.h:54
QDoubleSpinBox * step
Definition: ui_creategraphdialog.h:68
QSpinBox * maxLinks
Definition: ui_creategraphdialog.h:79
Definition: ui_creategraphdialog.h:403
QDoubleSpinBox * long2
Definition: ui_creategraphdialog.h:36
QLabel * label_5
Definition: ui_creategraphdialog.h:46
QSpinBox * minLinks
Definition: ui_creategraphdialog.h:77
QLabel * label_8
Definition: ui_creategraphdialog.h:60
QGroupBox * groupBox
Definition: ui_creategraphdialog.h:50
Definition: ui_creategraphdialog.h:32
QCheckBox * enableOutside
Definition: ui_creategraphdialog.h:69
QGroupBox * groupBox_2
Definition: ui_creategraphdialog.h:56
QGroupBox * groupBox_3
Definition: ui_creategraphdialog.h:72
void setupUi(QDialog *CreateGraphDialog)
Definition: ui_creategraphdialog.h:81
QLabel * label_12
Definition: ui_creategraphdialog.h:70
QGridLayout * gridLayout_4
Definition: ui_creategraphdialog.h:73
QGridLayout * gridLayout_2
Definition: ui_creategraphdialog.h:51
QLabel * label_2
Definition: ui_creategraphdialog.h:37
QLabel * label_6
Definition: ui_creategraphdialog.h:44
QComboBox * shapefileExcluding
Definition: ui_creategraphdialog.h:59
QCheckBox * removeEdgesExclusion
Definition: ui_creategraphdialog.h:71
QComboBox * shapefileIncluding1
Definition: ui_creategraphdialog.h:58
QRadioButton * quad
Definition: ui_creategraphdialog.h:53
QRadioButton * hex
Definition: ui_creategraphdialog.h:52
QLabel * label
Definition: ui_creategraphdialog.h:45
QLabel * label_10
Definition: ui_creategraphdialog.h:64
QRadioButton * quad_planar
Definition: ui_creategraphdialog.h:55
QCheckBox * maxLinksEnabled
Definition: ui_creategraphdialog.h:78
QLabel * label_3
Definition: ui_creategraphdialog.h:42
QDoubleSpinBox * lat2
Definition: ui_creategraphdialog.h:48
QDoubleSpinBox * longEdgesLimit
Definition: ui_creategraphdialog.h:75
QSpacerItem * verticalSpacer
Definition: ui_creategraphdialog.h:49
QGridLayout * gridLayout_3
Definition: ui_creategraphdialog.h:57
QCheckBox * removesLongEdges
Definition: ui_creategraphdialog.h:74
void retranslateUi(QDialog *CreateGraphDialog)
Definition: ui_creategraphdialog.h:365
QDoubleSpinBox * step2
Definition: ui_creategraphdialog.h:67
QComboBox * shapefileIncluding2
Definition: ui_creategraphdialog.h:65
QCheckBox * minLinksEnabled
Definition: ui_creategraphdialog.h:76
QGridLayout * gridLayout
Definition: ui_creategraphdialog.h:35
QLabel * label_11
Definition: ui_creategraphdialog.h:66
QLabel * label_7
Definition: ui_creategraphdialog.h:63