9 #ifndef UI_PQLOGVIEWERDIALOG_H 10 #define UI_PQLOGVIEWERDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QComboBox> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QLineEdit> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QTabWidget> 25 #include <QtWidgets/QVBoxLayout> 26 #include <QtWidgets/QWidget> 83 if (pqLogViewerDialog->objectName().isEmpty())
84 pqLogViewerDialog->setObjectName(QString::fromUtf8(
"pqLogViewerDialog"));
85 pqLogViewerDialog->resize(1155, 778);
86 horizontalLayout =
new QHBoxLayout(pqLogViewerDialog);
87 horizontalLayout->setContentsMargins(0, 0, 0, 0);
88 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
89 centralWidget =
new QHBoxLayout();
90 centralWidget->setContentsMargins(4, 4, 4, 4);
91 centralWidget->setObjectName(QString::fromUtf8(
"centralWidget"));
92 settingsLayout =
new QVBoxLayout();
93 settingsLayout->setSpacing(6);
94 settingsLayout->setObjectName(QString::fromUtf8(
"settingsLayout"));
95 settingsLayout->setContentsMargins(-1, 0, -1, -1);
96 newLogWidget =
new QWidget(pqLogViewerDialog);
97 newLogWidget->setObjectName(QString::fromUtf8(
"newLogWidget"));
98 verticalLayout_4 =
new QVBoxLayout(newLogWidget);
99 verticalLayout_4->setSpacing(0);
100 verticalLayout_4->setContentsMargins(0, 0, 0, 0);
101 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
102 newLogLabel =
new QLabel(newLogWidget);
103 newLogLabel->setObjectName(QString::fromUtf8(
"newLogLabel"));
107 newLogLabel->setFont(font);
109 verticalLayout_4->addWidget(newLogLabel);
111 newLogFrame =
new QFrame(newLogWidget);
112 newLogFrame->setObjectName(QString::fromUtf8(
"newLogFrame"));
113 newLogFrame->setFrameShape(QFrame::HLine);
114 newLogFrame->setFrameShadow(QFrame::Sunken);
116 verticalLayout_4->addWidget(newLogFrame);
119 settingsLayout->addWidget(newLogWidget);
121 gridLayout =
new QGridLayout();
122 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
123 processComboBox =
new QComboBox(pqLogViewerDialog);
124 processComboBox->setObjectName(QString::fromUtf8(
"processComboBox"));
125 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
126 sizePolicy.setHorizontalStretch(0);
127 sizePolicy.setVerticalStretch(0);
128 sizePolicy.setHeightForWidth(processComboBox->sizePolicy().hasHeightForWidth());
129 processComboBox->setSizePolicy(sizePolicy);
131 gridLayout->addWidget(processComboBox, 1, 0, 1, 1);
133 processLabel =
new QLabel(pqLogViewerDialog);
134 processLabel->setObjectName(QString::fromUtf8(
"processLabel"));
135 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
136 sizePolicy1.setHorizontalStretch(0);
137 sizePolicy1.setVerticalStretch(0);
138 sizePolicy1.setHeightForWidth(processLabel->sizePolicy().hasHeightForWidth());
139 processLabel->setSizePolicy(sizePolicy1);
141 gridLayout->addWidget(processLabel, 0, 0, 1, 1);
143 rankLabel =
new QLabel(pqLogViewerDialog);
144 rankLabel->setObjectName(QString::fromUtf8(
"rankLabel"));
146 gridLayout->addWidget(rankLabel, 0, 1, 1, 1);
148 rankComboBox =
new QComboBox(pqLogViewerDialog);
149 rankComboBox->setObjectName(QString::fromUtf8(
"rankComboBox"));
150 sizePolicy1.setHeightForWidth(rankComboBox->sizePolicy().hasHeightForWidth());
151 rankComboBox->setSizePolicy(sizePolicy1);
153 gridLayout->addWidget(rankComboBox, 1, 1, 1, 1);
156 settingsLayout->addLayout(gridLayout);
158 addLogButton =
new QPushButton(pqLogViewerDialog);
159 addLogButton->setObjectName(QString::fromUtf8(
"addLogButton"));
160 sizePolicy1.setHeightForWidth(addLogButton->sizePolicy().hasHeightForWidth());
161 addLogButton->setSizePolicy(sizePolicy1);
163 settingsLayout->addWidget(addLogButton);
165 globalFilterSettings =
new QWidget(pqLogViewerDialog);
166 globalFilterSettings->setObjectName(QString::fromUtf8(
"globalFilterSettings"));
167 verticalLayout_2 =
new QVBoxLayout(globalFilterSettings);
168 verticalLayout_2->setSpacing(0);
169 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
170 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
171 globalFilterLabel =
new QLabel(globalFilterSettings);
172 globalFilterLabel->setObjectName(QString::fromUtf8(
"globalFilterLabel"));
173 globalFilterLabel->setFont(font);
175 verticalLayout_2->addWidget(globalFilterLabel);
177 globalFilterFrame =
new QFrame(globalFilterSettings);
178 globalFilterFrame->setObjectName(QString::fromUtf8(
"globalFilterFrame"));
179 globalFilterFrame->setFrameShape(QFrame::HLine);
180 globalFilterFrame->setFrameShadow(QFrame::Sunken);
182 verticalLayout_2->addWidget(globalFilterFrame);
185 settingsLayout->addWidget(globalFilterSettings);
187 globalFilter =
new QLineEdit(pqLogViewerDialog);
188 globalFilter->setObjectName(QString::fromUtf8(
"globalFilter"));
189 sizePolicy1.setHeightForWidth(globalFilter->sizePolicy().hasHeightForWidth());
190 globalFilter->setSizePolicy(sizePolicy1);
191 globalFilter->setReadOnly(
false);
193 settingsLayout->addWidget(globalFilter);
195 verbositySettings =
new QWidget(pqLogViewerDialog);
196 verbositySettings->setObjectName(QString::fromUtf8(
"verbositySettings"));
197 verticalLayout =
new QVBoxLayout(verbositySettings);
198 verticalLayout->setSpacing(0);
199 verticalLayout->setContentsMargins(0, 0, 0, 0);
200 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
201 verbositySettingsLabel =
new QLabel(verbositySettings);
202 verbositySettingsLabel->setObjectName(QString::fromUtf8(
"verbositySettingsLabel"));
203 verbositySettingsLabel->setFont(font);
205 verticalLayout->addWidget(verbositySettingsLabel);
207 frame =
new QFrame(verbositySettings);
208 frame->setObjectName(QString::fromUtf8(
"frame"));
209 frame->setFrameShape(QFrame::HLine);
210 frame->setFrameShadow(QFrame::Sunken);
212 verticalLayout->addWidget(frame);
215 settingsLayout->addWidget(verbositySettings);
217 verbosityLevelLabel =
new QLabel(pqLogViewerDialog);
218 verbosityLevelLabel->setObjectName(QString::fromUtf8(
"verbosityLevelLabel"));
220 settingsLayout->addWidget(verbosityLevelLabel);
222 clientVerbosities =
new QComboBox(pqLogViewerDialog);
223 clientVerbosities->setObjectName(QString::fromUtf8(
"clientVerbosities"));
225 settingsLayout->addWidget(clientVerbosities);
227 serverVerbosityLabel =
new QLabel(pqLogViewerDialog);
228 serverVerbosityLabel->setObjectName(QString::fromUtf8(
"serverVerbosityLabel"));
230 settingsLayout->addWidget(serverVerbosityLabel);
232 serverVerbosities =
new QComboBox(pqLogViewerDialog);
233 serverVerbosities->setObjectName(QString::fromUtf8(
"serverVerbosities"));
235 settingsLayout->addWidget(serverVerbosities);
237 dataServerVerbosityLabel =
new QLabel(pqLogViewerDialog);
238 dataServerVerbosityLabel->setObjectName(QString::fromUtf8(
"dataServerVerbosityLabel"));
240 settingsLayout->addWidget(dataServerVerbosityLabel);
242 dataServerVerbosities =
new QComboBox(pqLogViewerDialog);
243 dataServerVerbosities->setObjectName(QString::fromUtf8(
"dataServerVerbosities"));
245 settingsLayout->addWidget(dataServerVerbosities);
247 renderServerVerbosityLabel =
new QLabel(pqLogViewerDialog);
248 renderServerVerbosityLabel->setObjectName(QString::fromUtf8(
"renderServerVerbosityLabel"));
250 settingsLayout->addWidget(renderServerVerbosityLabel);
252 renderServerVerbosities =
new QComboBox(pqLogViewerDialog);
253 renderServerVerbosities->setObjectName(QString::fromUtf8(
"renderServerVerbosities"));
255 settingsLayout->addWidget(renderServerVerbosities);
257 categoryElevationWidget =
new QWidget(pqLogViewerDialog);
258 categoryElevationWidget->setObjectName(QString::fromUtf8(
"categoryElevationWidget"));
259 categoryElevationWidget->setMinimumSize(QSize(0, 8));
260 verticalLayout_3 =
new QVBoxLayout(categoryElevationWidget);
261 verticalLayout_3->setSpacing(0);
262 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
263 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
264 categoryElevationVerbosity =
new QLabel(categoryElevationWidget);
265 categoryElevationVerbosity->setObjectName(QString::fromUtf8(
"categoryElevationVerbosity"));
266 categoryElevationVerbosity->setFont(font);
268 verticalLayout_3->addWidget(categoryElevationVerbosity);
270 categoryElevationFrame =
new QFrame(categoryElevationWidget);
271 categoryElevationFrame->setObjectName(QString::fromUtf8(
"categoryElevationFrame"));
272 categoryElevationFrame->setFrameShape(QFrame::HLine);
273 categoryElevationFrame->setFrameShadow(QFrame::Sunken);
275 verticalLayout_3->addWidget(categoryElevationFrame);
278 settingsLayout->addWidget(categoryElevationWidget);
280 alwaysLogLabel =
new QLabel(pqLogViewerDialog);
281 alwaysLogLabel->setObjectName(QString::fromUtf8(
"alwaysLogLabel"));
283 settingsLayout->addWidget(alwaysLogLabel);
285 categoryWidget =
new QWidget(pqLogViewerDialog);
286 categoryWidget->setObjectName(QString::fromUtf8(
"categoryWidget"));
287 categoryWidget->setMinimumSize(QSize(0, 4));
288 verticalLayout_5 =
new QVBoxLayout(categoryWidget);
289 verticalLayout_5->setObjectName(QString::fromUtf8(
"verticalLayout_5"));
290 verticalLayout_5->setContentsMargins(-1, 0, -1, 0);
291 dataMovementCheckBox =
new QCheckBox(categoryWidget);
292 dataMovementCheckBox->setObjectName(QString::fromUtf8(
"dataMovementCheckBox"));
294 verticalLayout_5->addWidget(dataMovementCheckBox);
296 renderingCheckBox =
new QCheckBox(categoryWidget);
297 renderingCheckBox->setObjectName(QString::fromUtf8(
"renderingCheckBox"));
299 verticalLayout_5->addWidget(renderingCheckBox);
301 applicationCheckBox =
new QCheckBox(categoryWidget);
302 applicationCheckBox->setObjectName(QString::fromUtf8(
"applicationCheckBox"));
304 verticalLayout_5->addWidget(applicationCheckBox);
306 pipelineCheckBox =
new QCheckBox(categoryWidget);
307 pipelineCheckBox->setObjectName(QString::fromUtf8(
"pipelineCheckBox"));
309 verticalLayout_5->addWidget(pipelineCheckBox);
311 pluginsCheckBox =
new QCheckBox(categoryWidget);
312 pluginsCheckBox->setObjectName(QString::fromUtf8(
"pluginsCheckBox"));
314 verticalLayout_5->addWidget(pluginsCheckBox);
316 executionCheckBox =
new QCheckBox(categoryWidget);
317 executionCheckBox->setObjectName(QString::fromUtf8(
"executionCheckBox"));
319 verticalLayout_5->addWidget(executionCheckBox);
322 settingsLayout->addWidget(categoryWidget);
324 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
326 settingsLayout->addItem(verticalSpacer);
328 refreshButton =
new QPushButton(pqLogViewerDialog);
329 refreshButton->setObjectName(QString::fromUtf8(
"refreshButton"));
330 sizePolicy.setHeightForWidth(refreshButton->sizePolicy().hasHeightForWidth());
331 refreshButton->setSizePolicy(sizePolicy);
333 settingsLayout->addWidget(refreshButton);
335 clearLogsButton =
new QPushButton(pqLogViewerDialog);
336 clearLogsButton->setObjectName(QString::fromUtf8(
"clearLogsButton"));
338 settingsLayout->addWidget(clearLogsButton);
341 centralWidget->addLayout(settingsLayout);
343 logTabWidget =
new QTabWidget(pqLogViewerDialog);
344 logTabWidget->setObjectName(QString::fromUtf8(
"logTabWidget"));
345 logTabWidget->setTabsClosable(
false);
347 centralWidget->addWidget(logTabWidget);
350 horizontalLayout->addLayout(centralWidget);
355 logTabWidget->setCurrentIndex(-1);
358 QMetaObject::connectSlotsByName(pqLogViewerDialog);
363 pqLogViewerDialog->setWindowTitle(QCoreApplication::translate(
"pqLogViewerDialog",
"Log Viewer",
nullptr));
364 newLogLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"New Log",
nullptr));
365 #if QT_CONFIG(tooltip) 366 processComboBox->setToolTip(QCoreApplication::translate(
"pqLogViewerDialog",
"Application process to log",
nullptr));
367 #endif // QT_CONFIG(tooltip) 368 processLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Process",
nullptr));
369 rankLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Rank",
nullptr));
370 #if QT_CONFIG(tooltip) 371 rankComboBox->setToolTip(QCoreApplication::translate(
"pqLogViewerDialog",
"Rank of process to log",
nullptr));
372 #endif // QT_CONFIG(tooltip) 373 addLogButton->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Add Log",
nullptr));
374 globalFilterLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Global Filter",
nullptr));
375 #if QT_CONFIG(tooltip) 376 globalFilter->setToolTip(QCoreApplication::translate(
"pqLogViewerDialog",
"Global filter that applies to all logs",
nullptr));
377 #endif // QT_CONFIG(tooltip) 378 globalFilter->setPlaceholderText(QCoreApplication::translate(
"pqLogViewerDialog",
"Set filter on all logs",
nullptr));
379 verbositySettingsLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Verbosity Settings",
nullptr));
380 verbosityLevelLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Client Verbosity Level",
nullptr));
381 serverVerbosityLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Server Verbosity Level",
nullptr));
382 dataServerVerbosityLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Data Server Verbosity Level",
nullptr));
383 renderServerVerbosityLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Render Server Verbosity Level",
nullptr));
384 categoryElevationVerbosity->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Categories",
nullptr));
385 alwaysLogLabel->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Always Log Messages About...",
nullptr));
386 dataMovementCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Data Movement",
nullptr));
387 renderingCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Rendering",
nullptr));
388 applicationCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Application",
nullptr));
389 pipelineCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Pipeline",
nullptr));
390 pluginsCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Plugins",
nullptr));
391 executionCheckBox->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Filter Execution",
nullptr));
392 refreshButton->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Refresh",
nullptr));
393 clearLogsButton->setText(QCoreApplication::translate(
"pqLogViewerDialog",
"Clear Logs",
nullptr));
404 #endif // UI_PQLOGVIEWERDIALOG_H void setupUi(QDialog *pqLogViewerDialog)
QWidget * categoryElevationWidget
void retranslateUi(QDialog *pqLogViewerDialog)
QCheckBox * pluginsCheckBox
QLabel * verbositySettingsLabel
QVBoxLayout * verticalLayout
QComboBox * renderServerVerbosities
QWidget * verbositySettings
QLabel * categoryElevationVerbosity
QWidget * globalFilterSettings
QPushButton * refreshButton
QCheckBox * applicationCheckBox
QLabel * verbosityLevelLabel
QLabel * globalFilterLabel
QLabel * renderServerVerbosityLabel
QVBoxLayout * verticalLayout_2
QFrame * globalFilterFrame
QComboBox * serverVerbosities
QLabel * dataServerVerbosityLabel
QVBoxLayout * verticalLayout_3
QVBoxLayout * settingsLayout
QLabel * serverVerbosityLabel
QVBoxLayout * verticalLayout_4
QFrame * categoryElevationFrame
QCheckBox * executionCheckBox
QTabWidget * logTabWidget
QPushButton * addLogButton
QSpacerItem * verticalSpacer
QCheckBox * renderingCheckBox
QPushButton * clearLogsButton
QCheckBox * pipelineCheckBox
QComboBox * processComboBox
QVBoxLayout * verticalLayout_5
A window for showing multiple log viewers.
QComboBox * clientVerbosities
QCheckBox * dataMovementCheckBox
QComboBox * dataServerVerbosities
QHBoxLayout * centralWidget
QHBoxLayout * horizontalLayout