9 #ifndef UI_PQWELCOMEDIALOG_H 10 #define UI_PQWELCOMEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QDialogButtonBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 42 if (pqWelcomeDialog->objectName().isEmpty())
43 pqWelcomeDialog->setObjectName(QString::fromUtf8(
"pqWelcomeDialog"));
44 pqWelcomeDialog->resize(651, 534);
45 verticalLayout =
new QVBoxLayout(pqWelcomeDialog);
46 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
47 label =
new QLabel(pqWelcomeDialog);
48 label->setObjectName(QString::fromUtf8(
"label"));
49 label->setPixmap(QPixmap(QString::fromUtf8(
":/pqWidgets/Icons/PVSplashScreen.png")));
50 label->setAlignment(Qt::AlignCenter);
52 verticalLayout->addWidget(label);
54 widget_2 =
new QWidget(pqWelcomeDialog);
55 widget_2->setObjectName(QString::fromUtf8(
"widget_2"));
56 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
57 sizePolicy.setHorizontalStretch(0);
58 sizePolicy.setVerticalStretch(1);
59 sizePolicy.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth());
60 widget_2->setSizePolicy(sizePolicy);
61 gridLayout =
new QGridLayout(widget_2);
62 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
63 ExampleVisualizationsButton =
new QPushButton(widget_2);
64 ExampleVisualizationsButton->setObjectName(QString::fromUtf8(
"ExampleVisualizationsButton"));
65 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Minimum);
66 sizePolicy1.setHorizontalStretch(1);
67 sizePolicy1.setVerticalStretch(1);
68 sizePolicy1.setHeightForWidth(ExampleVisualizationsButton->sizePolicy().hasHeightForWidth());
69 ExampleVisualizationsButton->setSizePolicy(sizePolicy1);
71 font.setPointSize(20);
73 font.setUnderline(
true);
75 ExampleVisualizationsButton->setFont(font);
76 ExampleVisualizationsButton->setStyleSheet(QString::fromUtf8(
"color: palette(link);"));
77 ExampleVisualizationsButton->setAutoDefault(
false);
78 ExampleVisualizationsButton->setFlat(
true);
80 gridLayout->addWidget(ExampleVisualizationsButton, 2, 1, 1, 1);
82 GettingStartedGuideButton =
new QPushButton(widget_2);
83 GettingStartedGuideButton->setObjectName(QString::fromUtf8(
"GettingStartedGuideButton"));
84 sizePolicy1.setHeightForWidth(GettingStartedGuideButton->sizePolicy().hasHeightForWidth());
85 GettingStartedGuideButton->setSizePolicy(sizePolicy1);
86 GettingStartedGuideButton->setFont(font);
87 GettingStartedGuideButton->setStyleSheet(QString::fromUtf8(
"color: palette(link);"));
88 GettingStartedGuideButton->setAutoDefault(
false);
89 GettingStartedGuideButton->setFlat(
true);
91 gridLayout->addWidget(GettingStartedGuideButton, 2, 0, 1, 1);
94 verticalLayout->addWidget(widget_2);
96 widget =
new QWidget(pqWelcomeDialog);
97 widget->setObjectName(QString::fromUtf8(
"widget"));
98 horizontalLayout =
new QHBoxLayout(widget);
99 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
100 DoNotShowAgainButton =
new QCheckBox(widget);
101 DoNotShowAgainButton->setObjectName(QString::fromUtf8(
"DoNotShowAgainButton"));
103 horizontalLayout->addWidget(DoNotShowAgainButton);
105 buttonBox =
new QDialogButtonBox(widget);
106 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
107 buttonBox->setOrientation(Qt::Horizontal);
108 buttonBox->setStandardButtons(QDialogButtonBox::Close);
110 horizontalLayout->addWidget(buttonBox);
113 verticalLayout->addWidget(widget);
117 QObject::connect(buttonBox, SIGNAL(accepted()), pqWelcomeDialog, SLOT(accept()));
118 QObject::connect(buttonBox, SIGNAL(rejected()), pqWelcomeDialog, SLOT(reject()));
120 QMetaObject::connectSlotsByName(pqWelcomeDialog);
125 pqWelcomeDialog->setWindowTitle(QCoreApplication::translate(
"pqWelcomeDialog",
"Welcome to ParaView",
nullptr));
126 label->setText(QString());
127 ExampleVisualizationsButton->setText(QCoreApplication::translate(
"pqWelcomeDialog",
"Example Visualizations",
nullptr));
128 GettingStartedGuideButton->setText(QCoreApplication::translate(
"pqWelcomeDialog",
"Getting Started Guide",
nullptr));
129 DoNotShowAgainButton->setText(QCoreApplication::translate(
"pqWelcomeDialog",
"Don't show this window again",
nullptr));
140 #endif // UI_PQWELCOMEDIALOG_H