9 #ifndef UI_PQOUTPUTWIDGET_H 10 #define UI_PQOUTPUTWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QHeaderView> 17 #include <QtWidgets/QPushButton> 18 #include <QtWidgets/QStackedWidget> 19 #include <QtWidgets/QTreeView> 20 #include <QtWidgets/QVBoxLayout> 21 #include <QtWidgets/QWidget> 46 if (OutputWidget->objectName().isEmpty())
47 OutputWidget->setObjectName(QString::fromUtf8(
"OutputWidget"));
48 OutputWidget->resize(581, 520);
49 verticalLayout_3 =
new QVBoxLayout(OutputWidget);
50 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
51 stackedWidget =
new QStackedWidget(OutputWidget);
52 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
54 page->setObjectName(QString::fromUtf8(
"page"));
55 verticalLayout_2 =
new QVBoxLayout(page);
56 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
57 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
58 treeView =
new QTreeView(page);
59 treeView->setObjectName(QString::fromUtf8(
"treeView"));
60 treeView->setAlternatingRowColors(
true);
61 treeView->setSelectionMode(QAbstractItemView::NoSelection);
62 treeView->setWordWrap(
true);
63 treeView->setHeaderHidden(
true);
64 treeView->header()->setMinimumSectionSize(32);
65 treeView->header()->setDefaultSectionSize(32);
67 verticalLayout_2->addWidget(treeView);
69 stackedWidget->addWidget(page);
70 page_2 =
new QWidget();
71 page_2->setObjectName(QString::fromUtf8(
"page_2"));
72 verticalLayout =
new QVBoxLayout(page_2);
73 verticalLayout->setContentsMargins(0, 0, 0, 0);
74 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
76 consoleWidget->setObjectName(QString::fromUtf8(
"consoleWidget"));
78 verticalLayout->addWidget(consoleWidget);
80 stackedWidget->addWidget(page_2);
82 verticalLayout_3->addWidget(stackedWidget);
84 horizontalLayout =
new QHBoxLayout();
85 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
86 showFullMessagesCheckBox =
new QCheckBox(OutputWidget);
87 showFullMessagesCheckBox->setObjectName(QString::fromUtf8(
"showFullMessagesCheckBox"));
89 horizontalLayout->addWidget(showFullMessagesCheckBox);
91 copyButton =
new QPushButton(OutputWidget);
92 copyButton->setObjectName(QString::fromUtf8(
"copyButton"));
94 horizontalLayout->addWidget(copyButton);
96 saveButton =
new QPushButton(OutputWidget);
97 saveButton->setObjectName(QString::fromUtf8(
"saveButton"));
99 horizontalLayout->addWidget(saveButton);
101 filterButton =
new QPushButton(OutputWidget);
102 filterButton->setObjectName(QString::fromUtf8(
"filterButton"));
104 horizontalLayout->addWidget(filterButton);
106 clearButton =
new QPushButton(OutputWidget);
107 clearButton->setObjectName(QString::fromUtf8(
"clearButton"));
109 horizontalLayout->addWidget(clearButton);
111 horizontalLayout->setStretch(0, 1);
113 verticalLayout_3->addLayout(horizontalLayout);
117 QObject::connect(clearButton, SIGNAL(clicked()), OutputWidget, SLOT(clear()));
119 stackedWidget->setCurrentIndex(0);
122 QMetaObject::connectSlotsByName(OutputWidget);
127 OutputWidget->setWindowTitle(QCoreApplication::translate(
"OutputWidget",
"Form",
nullptr));
128 #if QT_CONFIG(tooltip) 129 showFullMessagesCheckBox->setToolTip(QCoreApplication::translate(
"OutputWidget",
"<html><head/><body><p>Check to see raw messages generated by the application.</p></body></html>",
nullptr));
130 #endif // QT_CONFIG(tooltip) 131 showFullMessagesCheckBox->setText(QCoreApplication::translate(
"OutputWidget",
"Show full messages",
nullptr));
132 copyButton->setText(QCoreApplication::translate(
"OutputWidget",
"Copy to Clipboard",
nullptr));
133 saveButton->setText(QCoreApplication::translate(
"OutputWidget",
"Save to File...",
nullptr));
134 filterButton->setText(QCoreApplication::translate(
"OutputWidget",
"Filter Messages",
nullptr));
135 clearButton->setText(QCoreApplication::translate(
"OutputWidget",
"Clear",
nullptr));
146 #endif // UI_PQOUTPUTWIDGET_H