9 #ifndef UI_PQSERVERLAUNCHERDIALOG_H 10 #define UI_PQSERVERLAUNCHERDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QPushButton> 18 #include <QtWidgets/QSpacerItem> 19 #include <QtWidgets/QVBoxLayout> 32 void setupUi(QDialog *pqServerLauncherDialog)
34 if (pqServerLauncherDialog->objectName().isEmpty())
35 pqServerLauncherDialog->setObjectName(QString::fromUtf8(
"pqServerLauncherDialog"));
36 pqServerLauncherDialog->resize(398, 126);
37 vboxLayout =
new QVBoxLayout(pqServerLauncherDialog);
39 vboxLayout->setSpacing(6);
42 vboxLayout->setContentsMargins(9, 9, 9, 9);
44 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
45 message =
new QLabel(pqServerLauncherDialog);
46 message->setObjectName(QString::fromUtf8(
"message"));
47 message->setAlignment(Qt::AlignCenter);
49 vboxLayout->addWidget(message);
51 hboxLayout =
new QHBoxLayout();
53 hboxLayout->setSpacing(6);
55 hboxLayout->setContentsMargins(0, 0, 0, 0);
56 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
57 spacerItem =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
59 hboxLayout->addItem(spacerItem);
61 cancel =
new QPushButton(pqServerLauncherDialog);
62 cancel->setObjectName(QString::fromUtf8(
"cancel"));
64 hboxLayout->addWidget(cancel);
67 vboxLayout->addLayout(hboxLayout);
71 QObject::connect(cancel, SIGNAL(clicked()), pqServerLauncherDialog, SLOT(reject()));
73 QMetaObject::connectSlotsByName(pqServerLauncherDialog);
78 pqServerLauncherDialog->setWindowTitle(QCoreApplication::translate(
"pqServerLauncherDialog",
"Starting Server",
nullptr));
79 message->setText(QCoreApplication::translate(
"pqServerLauncherDialog",
"Please wait while server cs://foobar starts ...",
nullptr));
80 cancel->setText(QCoreApplication::translate(
"pqServerLauncherDialog",
"Cancel",
nullptr));
91 #endif // UI_PQSERVERLAUNCHERDIALOG_H void setupUi(QDialog *pqServerLauncherDialog)
void retranslateUi(QDialog *pqServerLauncherDialog)