9 #ifndef UI_PQEXAMPLEVISUALIZATIONSDIALOG_H 10 #define UI_PQEXAMPLEVISUALIZATIONSDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QDialogButtonBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 47 if (pqExampleVisualizationsDialog->objectName().isEmpty())
48 pqExampleVisualizationsDialog->setObjectName(QString::fromUtf8(
"pqExampleVisualizationsDialog"));
49 pqExampleVisualizationsDialog->resize(682, 666);
50 gridLayout =
new QGridLayout(pqExampleVisualizationsDialog);
51 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
52 label =
new QLabel(pqExampleVisualizationsDialog);
53 label->setObjectName(QString::fromUtf8(
"label"));
55 gridLayout->addWidget(label, 1, 0, 1, 2);
57 HotGasAnalysisExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
58 HotGasAnalysisExampleButton->setObjectName(QString::fromUtf8(
"HotGasAnalysisExampleButton"));
60 icon.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/HotGasAnalysisExample.png"), QSize(), QIcon::Normal, QIcon::Off);
61 HotGasAnalysisExampleButton->setIcon(icon);
62 HotGasAnalysisExampleButton->setIconSize(QSize(300, 225));
63 HotGasAnalysisExampleButton->setFlat(
true);
65 gridLayout->addWidget(HotGasAnalysisExampleButton, 4, 0, 1, 1);
67 HotGasAnalysisExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
68 HotGasAnalysisExampleDescription->setObjectName(QString::fromUtf8(
"HotGasAnalysisExampleDescription"));
69 HotGasAnalysisExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
70 HotGasAnalysisExampleDescription->setWordWrap(
true);
72 gridLayout->addWidget(HotGasAnalysisExampleDescription, 5, 0, 1, 1);
74 titleLabel =
new QLabel(pqExampleVisualizationsDialog);
75 titleLabel->setObjectName(QString::fromUtf8(
"titleLabel"));
77 font.setPointSize(20);
78 font.setItalic(
false);
79 font.setStrikeOut(
false);
80 font.setKerning(
false);
81 titleLabel->setFont(font);
82 titleLabel->setAlignment(Qt::AlignCenter);
84 gridLayout->addWidget(titleLabel, 0, 0, 1, 2);
86 WaveletExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
87 WaveletExampleDescription->setObjectName(QString::fromUtf8(
"WaveletExampleDescription"));
88 WaveletExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
89 WaveletExampleDescription->setWordWrap(
true);
91 gridLayout->addWidget(WaveletExampleDescription, 5, 1, 1, 1);
93 HeadSQExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
94 HeadSQExampleDescription->setObjectName(QString::fromUtf8(
"HeadSQExampleDescription"));
95 HeadSQExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
96 HeadSQExampleDescription->setWordWrap(
true);
98 gridLayout->addWidget(HeadSQExampleDescription, 8, 1, 1, 1);
100 TosExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
101 TosExampleDescription->setObjectName(QString::fromUtf8(
"TosExampleDescription"));
102 TosExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
103 TosExampleDescription->setWordWrap(
true);
105 gridLayout->addWidget(TosExampleDescription, 8, 0, 1, 1);
107 buttonBox =
new QDialogButtonBox(pqExampleVisualizationsDialog);
108 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
109 buttonBox->setOrientation(Qt::Horizontal);
110 buttonBox->setStandardButtons(QDialogButtonBox::Close);
112 gridLayout->addWidget(buttonBox, 9, 0, 1, 2);
114 DiskOutRefExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
115 DiskOutRefExampleDescription->setObjectName(QString::fromUtf8(
"DiskOutRefExampleDescription"));
116 DiskOutRefExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
117 DiskOutRefExampleDescription->setWordWrap(
true);
119 gridLayout->addWidget(DiskOutRefExampleDescription, 3, 1, 1, 1);
121 WaveletExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
122 WaveletExampleButton->setObjectName(QString::fromUtf8(
"WaveletExampleButton"));
124 icon1.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/WaveletExample.png"), QSize(), QIcon::Normal, QIcon::Off);
125 WaveletExampleButton->setIcon(icon1);
126 WaveletExampleButton->setIconSize(QSize(300, 225));
127 WaveletExampleButton->setFlat(
true);
129 gridLayout->addWidget(WaveletExampleButton, 4, 1, 1, 1);
131 HeadSQExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
132 HeadSQExampleButton->setObjectName(QString::fromUtf8(
"HeadSQExampleButton"));
134 icon2.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/HeadSQExample.png"), QSize(), QIcon::Normal, QIcon::On);
135 HeadSQExampleButton->setIcon(icon2);
136 HeadSQExampleButton->setIconSize(QSize(300, 225));
137 HeadSQExampleButton->setFlat(
true);
139 gridLayout->addWidget(HeadSQExampleButton, 7, 1, 1, 1);
141 TosExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
142 TosExampleButton->setObjectName(QString::fromUtf8(
"TosExampleButton"));
144 icon3.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/TosExample.png"), QSize(), QIcon::Normal, QIcon::On);
145 TosExampleButton->setIcon(icon3);
146 TosExampleButton->setIconSize(QSize(300, 225));
147 TosExampleButton->setFlat(
true);
149 gridLayout->addWidget(TosExampleButton, 7, 0, 1, 1);
151 CanExampleDescription =
new QLabel(pqExampleVisualizationsDialog);
152 CanExampleDescription->setObjectName(QString::fromUtf8(
"CanExampleDescription"));
153 CanExampleDescription->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
154 CanExampleDescription->setWordWrap(
true);
156 gridLayout->addWidget(CanExampleDescription, 3, 0, 1, 1);
158 DiskOutRefExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
159 DiskOutRefExampleButton->setObjectName(QString::fromUtf8(
"DiskOutRefExampleButton"));
161 icon4.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/DiskOutRefExample.png"), QSize(), QIcon::Normal, QIcon::On);
162 DiskOutRefExampleButton->setIcon(icon4);
163 DiskOutRefExampleButton->setIconSize(QSize(300, 225));
164 DiskOutRefExampleButton->setFlat(
true);
166 gridLayout->addWidget(DiskOutRefExampleButton, 2, 1, 1, 1);
168 CanExampleButton =
new QPushButton(pqExampleVisualizationsDialog);
169 CanExampleButton->setObjectName(QString::fromUtf8(
"CanExampleButton"));
171 icon5.addFile(QString::fromUtf8(
":/pqApplicationComponents/Thumbnails/CanExample.png"), QSize(), QIcon::Normal, QIcon::On);
172 CanExampleButton->setIcon(icon5);
173 CanExampleButton->setIconSize(QSize(300, 225));
174 CanExampleButton->setFlat(
true);
176 gridLayout->addWidget(CanExampleButton, 2, 0, 1, 1);
178 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
180 gridLayout->addItem(verticalSpacer, 6, 0, 1, 1);
182 QWidget::setTabOrder(CanExampleButton, DiskOutRefExampleButton);
183 QWidget::setTabOrder(DiskOutRefExampleButton, HeadSQExampleButton);
184 QWidget::setTabOrder(HeadSQExampleButton, HotGasAnalysisExampleButton);
185 QWidget::setTabOrder(HotGasAnalysisExampleButton, WaveletExampleButton);
186 QWidget::setTabOrder(WaveletExampleButton, TosExampleButton);
187 QWidget::setTabOrder(TosExampleButton, buttonBox);
190 QObject::connect(buttonBox, SIGNAL(accepted()), pqExampleVisualizationsDialog, SLOT(accept()));
191 QObject::connect(buttonBox, SIGNAL(rejected()), pqExampleVisualizationsDialog, SLOT(reject()));
193 QMetaObject::connectSlotsByName(pqExampleVisualizationsDialog);
198 pqExampleVisualizationsDialog->setWindowTitle(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"ParaView Example Visualizations",
nullptr));
199 label->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"<html><head/><body><p align=\"center\">Click on one of thumbnails below to load an example visualization</p></body></html>",
nullptr));
200 HotGasAnalysisExampleButton->setText(QString());
201 HotGasAnalysisExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"Data analysis of hot gas from Exodus II file",
nullptr));
202 titleLabel->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"ParaView Example Visualizations",
nullptr));
203 WaveletExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"Wavelet with volume rendering and contours",
nullptr));
204 HeadSQExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"Contouring CT scan of a head",
nullptr));
205 TosExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"<html><head/><body><p>Sea surface temperatures<br/></p></body></html>",
nullptr));
206 DiskOutRefExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"Exodus II file, Clip filter, Stream Tracer filter, Tube filter, Glyph filter",
nullptr));
207 WaveletExampleButton->setText(QString());
208 HeadSQExampleButton->setText(QString());
209 TosExampleButton->setText(QString());
210 CanExampleDescription->setText(QCoreApplication::translate(
"pqExampleVisualizationsDialog",
"Exodus II file with timesteps, Clip filter",
nullptr));
211 DiskOutRefExampleButton->setText(QString());
212 CanExampleButton->setText(QString());
223 #endif // UI_PQEXAMPLEVISUALIZATIONSDIALOG_H QPushButton * CanExampleButton
QLabel * TosExampleDescription
QPushButton * WaveletExampleButton
QLabel * WaveletExampleDescription
QPushButton * HotGasAnalysisExampleButton
void setupUi(QDialog *pqExampleVisualizationsDialog)
QLabel * DiskOutRefExampleDescription
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *pqExampleVisualizationsDialog)
QLabel * HotGasAnalysisExampleDescription
QLabel * HeadSQExampleDescription
QPushButton * TosExampleButton
QSpacerItem * verticalSpacer
QLabel * CanExampleDescription
pqExampleVisualizationsDialog is a dialog used to show available example visualizations to the user...
QPushButton * HeadSQExampleButton
QPushButton * DiskOutRefExampleButton