9 #ifndef UI_PQSERVERCONNECTDIALOG_H 10 #define UI_PQSERVERCONNECTDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QComboBox> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QDoubleSpinBox> 19 #include <QtWidgets/QFrame> 20 #include <QtWidgets/QGridLayout> 21 #include <QtWidgets/QHBoxLayout> 22 #include <QtWidgets/QHeaderView> 23 #include <QtWidgets/QLabel> 24 #include <QtWidgets/QLineEdit> 25 #include <QtWidgets/QPushButton> 26 #include <QtWidgets/QSpacerItem> 27 #include <QtWidgets/QSpinBox> 28 #include <QtWidgets/QStackedWidget> 29 #include <QtWidgets/QTableWidget> 30 #include <QtWidgets/QTextEdit> 31 #include <QtWidgets/QVBoxLayout> 32 #include <QtWidgets/QWidget> 120 if (pqServerConnectDialog->objectName().isEmpty())
121 pqServerConnectDialog->setObjectName(QString::fromUtf8(
"pqServerConnectDialog"));
122 pqServerConnectDialog->resize(529, 383);
123 gridLayout_2 =
new QGridLayout(pqServerConnectDialog);
124 gridLayout_2->setContentsMargins(0, 0, 0, 0);
125 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
126 stackedWidget =
new QStackedWidget(pqServerConnectDialog);
127 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
128 page_choose =
new QWidget();
129 page_choose->setObjectName(QString::fromUtf8(
"page_choose"));
130 gridLayout_4 =
new QGridLayout(page_choose);
131 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
132 gridLayout =
new QGridLayout();
134 gridLayout->setSpacing(6);
137 gridLayout->setContentsMargins(0, 0, 0, 0);
139 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
140 addServer =
new QPushButton(page_choose);
141 addServer->setObjectName(QString::fromUtf8(
"addServer"));
143 gridLayout->addWidget(addServer, 0, 0, 1, 1);
145 editServer =
new QPushButton(page_choose);
146 editServer->setObjectName(QString::fromUtf8(
"editServer"));
147 editServer->setEnabled(
false);
149 gridLayout->addWidget(editServer, 0, 1, 1, 1);
151 deleteServer =
new QPushButton(page_choose);
152 deleteServer->setObjectName(QString::fromUtf8(
"deleteServer"));
153 deleteServer->setEnabled(
false);
155 gridLayout->addWidget(deleteServer, 0, 2, 1, 1);
157 load =
new QPushButton(page_choose);
158 load->setObjectName(QString::fromUtf8(
"load"));
160 gridLayout->addWidget(load, 1, 0, 1, 1);
162 save =
new QPushButton(page_choose);
163 save->setObjectName(QString::fromUtf8(
"save"));
165 gridLayout->addWidget(save, 1, 1, 1, 1);
167 fetchServers =
new QPushButton(page_choose);
168 fetchServers->setObjectName(QString::fromUtf8(
"fetchServers"));
170 gridLayout->addWidget(fetchServers, 1, 2, 1, 1);
173 gridLayout_4->addLayout(gridLayout, 1, 0, 1, 1);
175 line =
new QFrame(page_choose);
176 line->setObjectName(QString::fromUtf8(
"line"));
177 line->setFrameShape(QFrame::HLine);
178 line->setFrameShadow(QFrame::Sunken);
180 gridLayout_4->addWidget(line, 2, 0, 1, 1);
182 hboxLayout =
new QHBoxLayout();
184 hboxLayout->setSpacing(6);
186 hboxLayout->setContentsMargins(0, 0, 0, 0);
187 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
188 deleteAll =
new QPushButton(page_choose);
189 deleteAll->setObjectName(QString::fromUtf8(
"deleteAll"));
191 icon.addFile(QString::fromUtf8(
":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
192 deleteAll->setIcon(icon);
194 hboxLayout->addWidget(deleteAll);
196 spacerItem =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
198 hboxLayout->addItem(spacerItem);
200 timeoutLabel =
new QLabel(page_choose);
201 timeoutLabel->setObjectName(QString::fromUtf8(
"timeoutLabel"));
203 hboxLayout->addWidget(timeoutLabel);
205 timeoutSpinBox =
new QSpinBox(page_choose);
206 timeoutSpinBox->setObjectName(QString::fromUtf8(
"timeoutSpinBox"));
207 timeoutSpinBox->setValue(60);
208 timeoutSpinBox->setMinimum(-1);
209 timeoutSpinBox->setMaximum(9999);
211 hboxLayout->addWidget(timeoutSpinBox);
213 connect =
new QPushButton(page_choose);
214 connect->setObjectName(QString::fromUtf8(
"connect"));
215 connect->setEnabled(
false);
217 hboxLayout->addWidget(connect);
219 close =
new QPushButton(page_choose);
220 close->setObjectName(QString::fromUtf8(
"close"));
222 hboxLayout->addWidget(close);
225 gridLayout_4->addLayout(hboxLayout, 3, 0, 1, 1);
227 servers =
new QTableWidget(page_choose);
228 if (servers->columnCount() < 2)
229 servers->setColumnCount(2);
230 QTableWidgetItem *__qtablewidgetitem =
new QTableWidgetItem();
231 servers->setHorizontalHeaderItem(0, __qtablewidgetitem);
232 QTableWidgetItem *__qtablewidgetitem1 =
new QTableWidgetItem();
233 servers->setHorizontalHeaderItem(1, __qtablewidgetitem1);
234 servers->setObjectName(QString::fromUtf8(
"servers"));
235 servers->setEditTriggers(QAbstractItemView::NoEditTriggers);
236 servers->setAlternatingRowColors(
true);
237 servers->setSelectionMode(QAbstractItemView::SingleSelection);
238 servers->setSelectionBehavior(QAbstractItemView::SelectRows);
239 servers->setSortingEnabled(
true);
240 servers->horizontalHeader()->setDefaultSectionSize(250);
241 servers->horizontalHeader()->setStretchLastSection(
true);
242 servers->verticalHeader()->setVisible(
false);
244 gridLayout_4->addWidget(servers, 0, 0, 1, 1);
246 stackedWidget->addWidget(page_choose);
247 page_create =
new QWidget();
248 page_create->setObjectName(QString::fromUtf8(
"page_create"));
249 gridLayout_5 =
new QGridLayout(page_create);
250 gridLayout_5->setObjectName(QString::fromUtf8(
"gridLayout_5"));
251 label_6 =
new QLabel(page_create);
252 label_6->setObjectName(QString::fromUtf8(
"label_6"));
254 gridLayout_5->addWidget(label_6, 0, 0, 1, 1);
256 name =
new QLineEdit(page_create);
257 name->setObjectName(QString::fromUtf8(
"name"));
259 gridLayout_5->addWidget(name, 0, 1, 1, 1);
261 label_5 =
new QLabel(page_create);
262 label_5->setObjectName(QString::fromUtf8(
"label_5"));
263 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
264 sizePolicy.setHorizontalStretch(0);
265 sizePolicy.setVerticalStretch(0);
266 sizePolicy.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
267 label_5->setSizePolicy(sizePolicy);
269 gridLayout_5->addWidget(label_5, 1, 0, 1, 1);
271 type =
new QComboBox(page_create);
272 type->addItem(QString());
273 type->addItem(QString());
274 type->addItem(QString());
275 type->addItem(QString());
276 type->setObjectName(QString::fromUtf8(
"type"));
278 gridLayout_5->addWidget(type, 1, 1, 1, 1);
280 hostLabel =
new QLabel(page_create);
281 hostLabel->setObjectName(QString::fromUtf8(
"hostLabel"));
283 gridLayout_5->addWidget(hostLabel, 2, 0, 1, 1);
285 host =
new QLineEdit(page_create);
286 host->setObjectName(QString::fromUtf8(
"host"));
288 gridLayout_5->addWidget(host, 2, 1, 1, 1);
290 portLabel =
new QLabel(page_create);
291 portLabel->setObjectName(QString::fromUtf8(
"portLabel"));
293 gridLayout_5->addWidget(portLabel, 3, 0, 1, 1);
295 port =
new QSpinBox(page_create);
296 port->setObjectName(QString::fromUtf8(
"port"));
298 port->setMaximum(999999999);
299 port->setValue(11111);
301 gridLayout_5->addWidget(port, 3, 1, 1, 1);
303 dataServerHostLabel =
new QLabel(page_create);
304 dataServerHostLabel->setObjectName(QString::fromUtf8(
"dataServerHostLabel"));
306 gridLayout_5->addWidget(dataServerHostLabel, 4, 0, 1, 1);
308 dataServerHost =
new QLineEdit(page_create);
309 dataServerHost->setObjectName(QString::fromUtf8(
"dataServerHost"));
311 gridLayout_5->addWidget(dataServerHost, 4, 1, 1, 1);
313 dataServerPortLabel =
new QLabel(page_create);
314 dataServerPortLabel->setObjectName(QString::fromUtf8(
"dataServerPortLabel"));
316 gridLayout_5->addWidget(dataServerPortLabel, 5, 0, 1, 1);
318 dataServerPort =
new QSpinBox(page_create);
319 dataServerPort->setObjectName(QString::fromUtf8(
"dataServerPort"));
320 dataServerPort->setMinimum(1);
321 dataServerPort->setMaximum(999999999);
322 dataServerPort->setValue(11111);
324 gridLayout_5->addWidget(dataServerPort, 5, 1, 1, 1);
326 renderServerHostLabel =
new QLabel(page_create);
327 renderServerHostLabel->setObjectName(QString::fromUtf8(
"renderServerHostLabel"));
329 gridLayout_5->addWidget(renderServerHostLabel, 6, 0, 1, 1);
331 renderServerHost =
new QLineEdit(page_create);
332 renderServerHost->setObjectName(QString::fromUtf8(
"renderServerHost"));
334 gridLayout_5->addWidget(renderServerHost, 6, 1, 1, 1);
336 renderServerPortLabel =
new QLabel(page_create);
337 renderServerPortLabel->setObjectName(QString::fromUtf8(
"renderServerPortLabel"));
339 gridLayout_5->addWidget(renderServerPortLabel, 7, 0, 1, 1);
341 renderServerPort =
new QSpinBox(page_create);
342 renderServerPort->setObjectName(QString::fromUtf8(
"renderServerPort"));
343 renderServerPort->setMaximum(999999999);
344 renderServerPort->setValue(22221);
346 gridLayout_5->addWidget(renderServerPort, 7, 1, 1, 1);
348 spacer =
new QSpacerItem(508, 94, QSizePolicy::Minimum, QSizePolicy::Expanding);
350 gridLayout_5->addItem(spacer, 8, 0, 1, 2);
352 _6 =
new QHBoxLayout();
356 _6->setContentsMargins(0, 0, 0, 0);
357 _6->setObjectName(QString::fromUtf8(
"_6"));
358 spacerItem1 =
new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
360 _6->addItem(spacerItem1);
362 okButton =
new QPushButton(page_create);
363 okButton->setObjectName(QString::fromUtf8(
"okButton"));
365 _6->addWidget(okButton);
367 cancelButton =
new QPushButton(page_create);
368 cancelButton->setObjectName(QString::fromUtf8(
"cancelButton"));
370 _6->addWidget(cancelButton);
373 gridLayout_5->addLayout(_6, 9, 0, 1, 2);
375 stackedWidget->addWidget(page_create);
376 page_edit =
new QWidget();
377 page_edit->setObjectName(QString::fromUtf8(
"page_edit"));
378 gridLayout_6 =
new QGridLayout(page_edit);
379 gridLayout_6->setObjectName(QString::fromUtf8(
"gridLayout_6"));
380 message =
new QLabel(page_edit);
381 message->setObjectName(QString::fromUtf8(
"message"));
383 gridLayout_6->addWidget(message, 0, 0, 1, 1);
385 secondaryMessage =
new QLabel(page_edit);
386 secondaryMessage->setObjectName(QString::fromUtf8(
"secondaryMessage"));
387 secondaryMessage->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
388 secondaryMessage->setWordWrap(
true);
390 gridLayout_6->addWidget(secondaryMessage, 1, 0, 1, 1);
392 _9 =
new QHBoxLayout();
396 _9->setContentsMargins(0, 0, 0, 0);
397 _9->setObjectName(QString::fromUtf8(
"_9"));
398 label_11 =
new QLabel(page_edit);
399 label_11->setObjectName(QString::fromUtf8(
"label_11"));
400 sizePolicy.setHeightForWidth(label_11->sizePolicy().hasHeightForWidth());
401 label_11->setSizePolicy(sizePolicy);
403 _9->addWidget(label_11);
405 startup_type =
new QComboBox(page_edit);
406 startup_type->addItem(QString());
407 startup_type->addItem(QString());
408 startup_type->setObjectName(QString::fromUtf8(
"startup_type"));
410 _9->addWidget(startup_type);
412 spacerItem2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
414 _9->addItem(spacerItem2);
417 gridLayout_6->addLayout(_9, 2, 0, 1, 1);
419 stackedWidget_2 =
new QStackedWidget(page_edit);
420 stackedWidget_2->setObjectName(QString::fromUtf8(
"stackedWidget_2"));
421 stackedWidget_2->setFrameShape(QFrame::Box);
422 page_6 =
new QWidget();
423 page_6->setObjectName(QString::fromUtf8(
"page_6"));
424 _8 =
new QVBoxLayout(page_6);
429 _8->setContentsMargins(9, 9, 9, 9);
431 _8->setObjectName(QString::fromUtf8(
"_8"));
432 label_10 =
new QLabel(page_6);
433 label_10->setObjectName(QString::fromUtf8(
"label_10"));
434 label_10->setFrameShape(QFrame::NoFrame);
435 label_10->setAlignment(Qt::AlignCenter);
436 label_10->setWordWrap(
true);
438 _8->addWidget(label_10);
440 stackedWidget_2->addWidget(page_6);
441 page_1 =
new QWidget();
442 page_1->setObjectName(QString::fromUtf8(
"page_1"));
443 _5 =
new QVBoxLayout(page_1);
448 _5->setContentsMargins(9, 9, 9, 9);
450 _5->setObjectName(QString::fromUtf8(
"_5"));
451 label_7 =
new QLabel(page_1);
452 label_7->setObjectName(QString::fromUtf8(
"label_7"));
454 _5->addWidget(label_7);
456 commandLine =
new QTextEdit(page_1);
457 commandLine->setObjectName(QString::fromUtf8(
"commandLine"));
459 _5->addWidget(commandLine);
461 _7 =
new QHBoxLayout();
465 _7->setContentsMargins(0, 0, 0, 0);
466 _7->setObjectName(QString::fromUtf8(
"_7"));
467 label_8 =
new QLabel(page_1);
468 label_8->setObjectName(QString::fromUtf8(
"label_8"));
470 _7->addWidget(label_8);
472 delay =
new QDoubleSpinBox(page_1);
473 delay->setObjectName(QString::fromUtf8(
"delay"));
474 delay->setDecimals(1);
475 delay->setMaximum(300.000000000000000);
476 delay->setValue(5.000000000000000);
478 _7->addWidget(delay);
480 label_9 =
new QLabel(page_1);
481 label_9->setObjectName(QString::fromUtf8(
"label_9"));
483 _7->addWidget(label_9);
485 spacerItem3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
487 _7->addItem(spacerItem3);
492 stackedWidget_2->addWidget(page_1);
494 gridLayout_6->addWidget(stackedWidget_2, 3, 0, 1, 1);
496 editServer2ButtonBox =
new QDialogButtonBox(page_edit);
497 editServer2ButtonBox->setObjectName(QString::fromUtf8(
"editServer2ButtonBox"));
498 editServer2ButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
500 gridLayout_6->addWidget(editServer2ButtonBox, 4, 0, 1, 1);
502 stackedWidget->addWidget(page_edit);
503 page_fetch =
new QWidget();
504 page_fetch->setObjectName(QString::fromUtf8(
"page_fetch"));
505 verticalLayout =
new QVBoxLayout(page_fetch);
506 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
507 importServersTable =
new QTableWidget(page_fetch);
508 if (importServersTable->columnCount() < 3)
509 importServersTable->setColumnCount(3);
510 QTableWidgetItem *__qtablewidgetitem2 =
new QTableWidgetItem();
511 importServersTable->setHorizontalHeaderItem(0, __qtablewidgetitem2);
512 QTableWidgetItem *__qtablewidgetitem3 =
new QTableWidgetItem();
513 importServersTable->setHorizontalHeaderItem(1, __qtablewidgetitem3);
514 QTableWidgetItem *__qtablewidgetitem4 =
new QTableWidgetItem();
515 importServersTable->setHorizontalHeaderItem(2, __qtablewidgetitem4);
516 importServersTable->setObjectName(QString::fromUtf8(
"importServersTable"));
517 importServersTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
518 importServersTable->setAlternatingRowColors(
true);
519 importServersTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
520 importServersTable->setSelectionBehavior(QAbstractItemView::SelectRows);
521 importServersTable->setSortingEnabled(
true);
522 importServersTable->horizontalHeader()->setDefaultSectionSize(150);
523 importServersTable->horizontalHeader()->setStretchLastSection(
true);
524 importServersTable->verticalHeader()->setVisible(
false);
526 verticalLayout->addWidget(importServersTable);
528 horizontalLayout =
new QHBoxLayout();
529 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
530 editSources =
new QPushButton(page_fetch);
531 editSources->setObjectName(QString::fromUtf8(
"editSources"));
533 horizontalLayout->addWidget(editSources);
535 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
537 horizontalLayout->addItem(horizontalSpacer);
539 importSelected =
new QPushButton(page_fetch);
540 importSelected->setObjectName(QString::fromUtf8(
"importSelected"));
541 importSelected->setEnabled(
false);
543 horizontalLayout->addWidget(importSelected);
545 fetchCancel =
new QPushButton(page_fetch);
546 fetchCancel->setObjectName(QString::fromUtf8(
"fetchCancel"));
548 horizontalLayout->addWidget(fetchCancel);
551 verticalLayout->addLayout(horizontalLayout);
553 stackedWidget->addWidget(page_fetch);
554 page_editSources =
new QWidget();
555 page_editSources->setObjectName(QString::fromUtf8(
"page_editSources"));
556 verticalLayout_2 =
new QVBoxLayout(page_editSources);
557 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
558 label_2 =
new QLabel(page_editSources);
559 label_2->setObjectName(QString::fromUtf8(
"label_2"));
561 verticalLayout_2->addWidget(label_2);
563 editSourcesText =
new QTextEdit(page_editSources);
564 editSourcesText->setObjectName(QString::fromUtf8(
"editSourcesText"));
565 editSourcesText->setAcceptRichText(
false);
567 verticalLayout_2->addWidget(editSourcesText);
569 editSourcesButtonBox =
new QDialogButtonBox(page_editSources);
570 editSourcesButtonBox->setObjectName(QString::fromUtf8(
"editSourcesButtonBox"));
571 editSourcesButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Reset|QDialogButtonBox::Save);
573 verticalLayout_2->addWidget(editSourcesButtonBox);
575 stackedWidget->addWidget(page_editSources);
577 gridLayout_2->addWidget(stackedWidget, 0, 0, 1, 1);
579 QWidget::setTabOrder(addServer, editServer);
580 QWidget::setTabOrder(editServer, deleteServer);
581 QWidget::setTabOrder(deleteServer, connect);
582 QWidget::setTabOrder(connect, close);
585 QObject::connect(startup_type, SIGNAL(currentIndexChanged(
int)), stackedWidget_2, SLOT(setCurrentIndex(
int)));
586 QObject::connect(close, SIGNAL(clicked()), pqServerConnectDialog, SLOT(reject()));
588 stackedWidget->setCurrentIndex(4);
589 connect->setDefault(
true);
590 type->setCurrentIndex(0);
591 startup_type->setCurrentIndex(0);
592 stackedWidget_2->setCurrentIndex(0);
593 importSelected->setDefault(
false);
594 fetchCancel->setDefault(
true);
597 QMetaObject::connectSlotsByName(pqServerConnectDialog);
602 pqServerConnectDialog->setWindowTitle(QCoreApplication::translate(
"pqServerConnectDialog",
"Choose Server",
nullptr));
603 addServer->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Add Server",
nullptr));
604 editServer->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Edit Server",
nullptr));
605 deleteServer->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Delete Server",
nullptr));
606 load->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Load Servers",
nullptr));
607 save->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Save Servers",
nullptr));
608 fetchServers->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Fetch Servers",
nullptr));
609 #if QT_CONFIG(tooltip) 610 deleteAll->setToolTip(QCoreApplication::translate(
"pqServerConnectDialog",
"Delete all user server configurations",
nullptr));
611 #endif // QT_CONFIG(tooltip) 612 #if QT_CONFIG(statustip) 613 deleteAll->setStatusTip(QCoreApplication::translate(
"pqServerConnectDialog",
"Delete all user server configurations",
nullptr));
614 #endif // QT_CONFIG(statustip) 615 deleteAll->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Delete All",
nullptr));
616 timeoutLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Timeout (s) ",
nullptr));
617 #if QT_CONFIG(tooltip) 618 timeoutSpinBox->setToolTip(QCoreApplication::translate(
"pqServerConnectDialog",
"Specify the timeout in seconds to use when waiting for server connection. Set it to -1 to wait indefinitely. This value will be saved in your settings for this server once you click connect.",
nullptr));
619 #endif // QT_CONFIG(tooltip) 620 connect->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Connect",
nullptr));
621 close->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Close",
nullptr));
622 QTableWidgetItem *___qtablewidgetitem = servers->horizontalHeaderItem(0);
623 ___qtablewidgetitem->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Configuration",
nullptr));
624 QTableWidgetItem *___qtablewidgetitem1 = servers->horizontalHeaderItem(1);
625 ___qtablewidgetitem1->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Server",
nullptr));
626 label_6->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Name",
nullptr));
627 label_5->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Server Type",
nullptr));
628 type->setItemText(0, QCoreApplication::translate(
"pqServerConnectDialog",
"Client / Server",
nullptr));
629 type->setItemText(1, QCoreApplication::translate(
"pqServerConnectDialog",
"Client / Server (reverse connection)",
nullptr));
630 type->setItemText(2, QCoreApplication::translate(
"pqServerConnectDialog",
"Client / Data Server / Render Server",
nullptr));
631 type->setItemText(3, QCoreApplication::translate(
"pqServerConnectDialog",
"Client / Data Server / Render Server (reverse connection)",
nullptr));
633 hostLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Host",
nullptr));
634 host->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"localhost",
nullptr));
635 portLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Port",
nullptr));
636 dataServerHostLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Data Server host",
nullptr));
637 dataServerHost->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"localhost",
nullptr));
638 dataServerPortLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Data Server port",
nullptr));
639 renderServerHostLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Render Server host",
nullptr));
640 renderServerHost->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"localhost",
nullptr));
641 renderServerPortLabel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Render Server port",
nullptr));
642 okButton->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Configure",
nullptr));
643 cancelButton->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Cancel",
nullptr));
644 message->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Configure server foobar (cs://foobar)",
nullptr));
645 secondaryMessage->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Please configure the startup procedure to be used when connecting to this server:",
nullptr));
646 label_11->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Startup Type:",
nullptr));
647 startup_type->setItemText(0, QCoreApplication::translate(
"pqServerConnectDialog",
"Manual",
nullptr));
648 startup_type->setItemText(1, QCoreApplication::translate(
"pqServerConnectDialog",
"Command",
nullptr));
650 label_10->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Manual Startup - no attempt will be made to start the server. You must start the server manually before trying to connect.",
nullptr));
651 label_7->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Execute an external command to start the server:",
nullptr));
652 label_8->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"After executing the startup command, wait",
nullptr));
653 delay->setSuffix(QCoreApplication::translate(
"pqServerConnectDialog",
" seconds",
nullptr));
654 label_9->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"before connecting.",
nullptr));
655 QTableWidgetItem *___qtablewidgetitem2 = importServersTable->horizontalHeaderItem(0);
656 ___qtablewidgetitem2->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Configuration Name",
nullptr));
657 QTableWidgetItem *___qtablewidgetitem3 = importServersTable->horizontalHeaderItem(1);
658 ___qtablewidgetitem3->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Server",
nullptr));
659 QTableWidgetItem *___qtablewidgetitem4 = importServersTable->horizontalHeaderItem(2);
660 ___qtablewidgetitem4->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Source",
nullptr));
661 editSources->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Edit Sources",
nullptr));
662 importSelected->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Import Selected",
nullptr));
663 fetchCancel->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"Cancel",
nullptr));
664 label_2->setText(QCoreApplication::translate(
"pqServerConnectDialog",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 665 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 666 "p, li { white-space: pre-wrap; }\n" 667 "</style></head><body style=\" font-family:'Helvetica'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 668 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter list of URLs to obtain the servers configurations from, using the syntax:</p>\n" 669 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\"><type> <url> <userfriendly name></span></p></body></html>",
nullptr));
680 #endif // UI_PQSERVERCONNECTDIALOG_H QSpinBox * dataServerPort
QLabel * renderServerPortLabel
QTextEdit * editSourcesText
QSpacerItem * spacerItem3
void setupUi(QDialog *pqServerConnectDialog)
QPushButton * fetchCancel
QGridLayout * gridLayout_4
QSpinBox * timeoutSpinBox
QStackedWidget * stackedWidget_2
QPushButton * cancelButton
QVBoxLayout * verticalLayout
QLineEdit * renderServerHost
QSpinBox * renderServerPort
QPushButton * deleteServer
QVBoxLayout * verticalLayout_2
QDialogButtonBox * editSourcesButtonBox
void retranslateUi(QDialog *pqServerConnectDialog)
QGridLayout * gridLayout_2
QSpacerItem * spacerItem1
QSpacerItem * spacerItem2
QStackedWidget * stackedWidget
QPushButton * importSelected
QSpacerItem * horizontalSpacer
QTableWidget * importServersTable
QPushButton * fetchServers
QLineEdit * dataServerHost
QDialogButtonBox * editServer2ButtonBox
QLabel * dataServerHostLabel
QGridLayout * gridLayout_6
pqServerConnectDialog is a dialog that can be used to show the user a selection of server configurati...
QPushButton * editSources
QHBoxLayout * horizontalLayout
QGridLayout * gridLayout_5
QLabel * renderServerHostLabel
QWidget * page_editSources
QLabel * secondaryMessage
QLabel * dataServerPortLabel