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> 47 if (OutputWidget->objectName().isEmpty())
48 OutputWidget->setObjectName(QString::fromUtf8(
"OutputWidget"));
49 OutputWidget->resize(581, 520);
50 verticalLayout_3 =
new QVBoxLayout(OutputWidget);
51 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
52 stackedWidget =
new QStackedWidget(OutputWidget);
53 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
55 page->setObjectName(QString::fromUtf8(
"page"));
56 verticalLayout_2 =
new QVBoxLayout(page);
57 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
58 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
59 treeView =
new QTreeView(page);
60 treeView->setObjectName(QString::fromUtf8(
"treeView"));
61 treeView->setAlternatingRowColors(
true);
62 treeView->setSelectionMode(QAbstractItemView::NoSelection);
63 treeView->setWordWrap(
true);
64 treeView->setHeaderHidden(
true);
65 treeView->header()->setMinimumSectionSize(32);
66 treeView->header()->setDefaultSectionSize(32);
68 verticalLayout_2->addWidget(treeView);
70 stackedWidget->addWidget(page);
71 page_2 =
new QWidget();
72 page_2->setObjectName(QString::fromUtf8(
"page_2"));
73 verticalLayout =
new QVBoxLayout(page_2);
74 verticalLayout->setContentsMargins(0, 0, 0, 0);
75 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
77 consoleWidget->setObjectName(QString::fromUtf8(
"consoleWidget"));
79 verticalLayout->addWidget(consoleWidget);
81 stackedWidget->addWidget(page_2);
83 verticalLayout_3->addWidget(stackedWidget);
85 horizontalLayout =
new QHBoxLayout();
86 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
87 showFullMessagesCheckBox =
new QCheckBox(OutputWidget);
88 showFullMessagesCheckBox->setObjectName(QString::fromUtf8(
"showFullMessagesCheckBox"));
90 horizontalLayout->addWidget(showFullMessagesCheckBox);
92 alwaysOpenForNewMessagesCheckBox =
new QCheckBox(OutputWidget);
93 alwaysOpenForNewMessagesCheckBox->setObjectName(QString::fromUtf8(
"alwaysOpenForNewMessagesCheckBox"));
94 alwaysOpenForNewMessagesCheckBox->setChecked(
true);
96 horizontalLayout->addWidget(alwaysOpenForNewMessagesCheckBox);
98 copyButton =
new QPushButton(OutputWidget);
99 copyButton->setObjectName(QString::fromUtf8(
"copyButton"));
101 horizontalLayout->addWidget(copyButton);
103 saveButton =
new QPushButton(OutputWidget);
104 saveButton->setObjectName(QString::fromUtf8(
"saveButton"));
106 horizontalLayout->addWidget(saveButton);
108 filterButton =
new QPushButton(OutputWidget);
109 filterButton->setObjectName(QString::fromUtf8(
"filterButton"));
111 horizontalLayout->addWidget(filterButton);
113 clearButton =
new QPushButton(OutputWidget);
114 clearButton->setObjectName(QString::fromUtf8(
"clearButton"));
116 horizontalLayout->addWidget(clearButton);
118 horizontalLayout->setStretch(1, 1);
120 verticalLayout_3->addLayout(horizontalLayout);
124 QObject::connect(clearButton, SIGNAL(clicked()), OutputWidget, SLOT(clear()));
126 stackedWidget->setCurrentIndex(0);
129 QMetaObject::connectSlotsByName(OutputWidget);
134 OutputWidget->setWindowTitle(QCoreApplication::translate(
"OutputWidget",
"Form",
nullptr));
135 #if QT_CONFIG(tooltip) 136 showFullMessagesCheckBox->setToolTip(QCoreApplication::translate(
"OutputWidget",
"Check to see raw messages generated by the application",
nullptr));
137 #endif // QT_CONFIG(tooltip) 138 showFullMessagesCheckBox->setText(QCoreApplication::translate(
"OutputWidget",
"Show full messages",
nullptr));
139 #if QT_CONFIG(tooltip) 140 alwaysOpenForNewMessagesCheckBox->setToolTip(QCoreApplication::translate(
"OutputWidget",
"If unchecked and the window is closed, the window will remain closed when new messages are available.",
nullptr));
141 #endif // QT_CONFIG(tooltip) 142 alwaysOpenForNewMessagesCheckBox->setText(QCoreApplication::translate(
"OutputWidget",
"Always open for new messages",
nullptr));
143 copyButton->setText(QCoreApplication::translate(
"OutputWidget",
"Copy to Clipboard",
nullptr));
144 saveButton->setText(QCoreApplication::translate(
"OutputWidget",
"Save to File...",
nullptr));
145 filterButton->setText(QCoreApplication::translate(
"OutputWidget",
"Filter Messages",
nullptr));
146 clearButton->setText(QCoreApplication::translate(
"OutputWidget",
"Clear",
nullptr));
157 #endif // UI_PQOUTPUTWIDGET_H