DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
ui_linkharboursdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'linkharboursdialog.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_LINKHARBOURSDIALOG_H
10 #define UI_LINKHARBOURSDIALOG_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/QDialog>
18 #include <QtWidgets/QDialogButtonBox>
19 #include <QtWidgets/QDoubleSpinBox>
20 #include <QtWidgets/QGridLayout>
21 #include <QtWidgets/QGroupBox>
22 #include <QtWidgets/QHeaderView>
23 #include <QtWidgets/QLabel>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QSpinBox>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QGridLayout *gridLayout;
33  QLabel *label_2;
34  QDialogButtonBox *buttonBox;
35  QDoubleSpinBox *maxDinstance;
36  QSpacerItem *verticalSpacer;
37  QLabel *label;
38  QSpinBox *maxConnections;
39  QGroupBox *groupBox;
40  QGridLayout *gridLayout_2;
41  QCheckBox *checkLonelyHarbours;
42  QCheckBox *removeOldLinks;
43  QCheckBox *checkHarboursLinks;
44 
45  void setupUi(QDialog *LinkHarboursDialog)
46  {
47  if (LinkHarboursDialog->objectName().isEmpty())
48  LinkHarboursDialog->setObjectName(QStringLiteral("LinkHarboursDialog"));
49  LinkHarboursDialog->resize(400, 300);
50  gridLayout = new QGridLayout(LinkHarboursDialog);
51  gridLayout->setObjectName(QStringLiteral("gridLayout"));
52  label_2 = new QLabel(LinkHarboursDialog);
53  label_2->setObjectName(QStringLiteral("label_2"));
54 
55  gridLayout->addWidget(label_2, 1, 0, 1, 1);
56 
57  buttonBox = new QDialogButtonBox(LinkHarboursDialog);
58  buttonBox->setObjectName(QStringLiteral("buttonBox"));
59  buttonBox->setOrientation(Qt::Horizontal);
60  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
61 
62  gridLayout->addWidget(buttonBox, 6, 0, 1, 2);
63 
64  maxDinstance = new QDoubleSpinBox(LinkHarboursDialog);
65  maxDinstance->setObjectName(QStringLiteral("maxDinstance"));
66  maxDinstance->setMaximum(1000);
67  maxDinstance->setValue(15);
68 
69  gridLayout->addWidget(maxDinstance, 1, 1, 1, 1);
70 
71  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
72 
73  gridLayout->addItem(verticalSpacer, 5, 0, 1, 1);
74 
75  label = new QLabel(LinkHarboursDialog);
76  label->setObjectName(QStringLiteral("label"));
77 
78  gridLayout->addWidget(label, 0, 0, 1, 1);
79 
80  maxConnections = new QSpinBox(LinkHarboursDialog);
81  maxConnections->setObjectName(QStringLiteral("maxConnections"));
82  maxConnections->setValue(3);
83 
84  gridLayout->addWidget(maxConnections, 0, 1, 1, 1);
85 
86  groupBox = new QGroupBox(LinkHarboursDialog);
87  groupBox->setObjectName(QStringLiteral("groupBox"));
88  gridLayout_2 = new QGridLayout(groupBox);
89  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
90  checkLonelyHarbours = new QCheckBox(groupBox);
91  checkLonelyHarbours->setObjectName(QStringLiteral("checkLonelyHarbours"));
92  checkLonelyHarbours->setChecked(true);
93 
94  gridLayout_2->addWidget(checkLonelyHarbours, 0, 1, 1, 1);
95 
96  removeOldLinks = new QCheckBox(groupBox);
97  removeOldLinks->setObjectName(QStringLiteral("removeOldLinks"));
98 
99  gridLayout_2->addWidget(removeOldLinks, 0, 0, 1, 1);
100 
101  checkHarboursLinks = new QCheckBox(groupBox);
102  checkHarboursLinks->setObjectName(QStringLiteral("checkHarboursLinks"));
103  checkHarboursLinks->setChecked(true);
104 
105  gridLayout_2->addWidget(checkHarboursLinks, 1, 1, 1, 1);
106 
107 
108  gridLayout->addWidget(groupBox, 4, 0, 1, 2);
109 
110 
112  QObject::connect(buttonBox, SIGNAL(accepted()), LinkHarboursDialog, SLOT(accept()));
113  QObject::connect(buttonBox, SIGNAL(rejected()), LinkHarboursDialog, SLOT(reject()));
114 
115  QMetaObject::connectSlotsByName(LinkHarboursDialog);
116  } // setupUi
117 
119  {
120  LinkHarboursDialog->setWindowTitle(QApplication::translate("LinkHarboursDialog", "Dialog", nullptr));
121  label_2->setText(QApplication::translate("LinkHarboursDialog", "Max Dinstance", nullptr));
122  maxDinstance->setSuffix(QApplication::translate("LinkHarboursDialog", " km", nullptr));
123  label->setText(QApplication::translate("LinkHarboursDialog", "Max connections", nullptr));
124  maxConnections->setSpecialValueText(QApplication::translate("LinkHarboursDialog", "Unlimited", nullptr));
125  groupBox->setTitle(QApplication::translate("LinkHarboursDialog", "Options", nullptr));
126  checkLonelyHarbours->setText(QApplication::translate("LinkHarboursDialog", "Avoid lonely harbours", nullptr));
127  removeOldLinks->setText(QApplication::translate("LinkHarboursDialog", "Remove old links", nullptr));
128  checkHarboursLinks->setText(QApplication::translate("LinkHarboursDialog", "Avoid Harbours/Harbours links", nullptr));
129  } // retranslateUi
130 
131 };
132 
133 namespace Ui {
135 } // namespace Ui
136 
137 QT_END_NAMESPACE
138 
139 #endif // UI_LINKHARBOURSDIALOG_H
Definition: dteditorwindow.h:32