9 #ifndef UI_EXPERT_INFO_DIALOG_H 10 #define UI_EXPERT_INFO_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QMenu> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QSpacerItem> 26 #include <QtWidgets/QVBoxLayout> 27 #include "widgets/elided_label.h" 28 #include "widgets/expert_info_view.h" 35 QAction *actionShowError;
36 QAction *actionShowWarning;
37 QAction *actionShowNote;
38 QAction *actionShowChat;
39 QAction *actionShowComment;
40 QVBoxLayout *verticalLayout;
43 QHBoxLayout *horizontalLayout_2;
44 QCheckBox *limitCheckBox;
45 QSpacerItem *horizontalSpacer_2;
46 QCheckBox *groupBySummaryCheckBox;
47 QSpacerItem *horizontalSpacer;
49 QLineEdit *searchLineEdit;
50 QSpacerItem *horizontalSpacer_3;
51 QPushButton *severitiesPushButton;
52 QMenu *menuShowExpert;
53 QDialogButtonBox *buttonBox;
57 if (ExpertInfoDialog->objectName().isEmpty())
58 ExpertInfoDialog->setObjectName(QStringLiteral(
"ExpertInfoDialog"));
59 ExpertInfoDialog->resize(620, 540);
60 actionShowError =
new QAction(ExpertInfoDialog);
61 actionShowError->setObjectName(QStringLiteral(
"actionShowError"));
62 actionShowError->setCheckable(
true);
63 actionShowError->setChecked(
true);
64 actionShowWarning =
new QAction(ExpertInfoDialog);
65 actionShowWarning->setObjectName(QStringLiteral(
"actionShowWarning"));
66 actionShowWarning->setCheckable(
true);
67 actionShowWarning->setChecked(
true);
68 actionShowNote =
new QAction(ExpertInfoDialog);
69 actionShowNote->setObjectName(QStringLiteral(
"actionShowNote"));
70 actionShowNote->setCheckable(
true);
71 actionShowNote->setChecked(
true);
72 actionShowChat =
new QAction(ExpertInfoDialog);
73 actionShowChat->setObjectName(QStringLiteral(
"actionShowChat"));
74 actionShowChat->setCheckable(
true);
75 actionShowChat->setChecked(
true);
76 actionShowComment =
new QAction(ExpertInfoDialog);
77 actionShowComment->setObjectName(QStringLiteral(
"actionShowComment"));
78 actionShowComment->setCheckable(
true);
79 actionShowComment->setChecked(
true);
80 verticalLayout =
new QVBoxLayout(ExpertInfoDialog);
81 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
83 expertInfoTreeView->setObjectName(QStringLiteral(
"expertInfoTreeView"));
84 expertInfoTreeView->setUniformRowHeights(
true);
85 expertInfoTreeView->setSortingEnabled(
true);
87 verticalLayout->addWidget(expertInfoTreeView);
90 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
92 verticalLayout->addWidget(hintLabel);
94 horizontalLayout_2 =
new QHBoxLayout();
95 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
96 limitCheckBox =
new QCheckBox(ExpertInfoDialog);
97 limitCheckBox->setObjectName(QStringLiteral(
"limitCheckBox"));
99 horizontalLayout_2->addWidget(limitCheckBox);
101 horizontalSpacer_2 =
new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
103 horizontalLayout_2->addItem(horizontalSpacer_2);
105 groupBySummaryCheckBox =
new QCheckBox(ExpertInfoDialog);
106 groupBySummaryCheckBox->setObjectName(QStringLiteral(
"groupBySummaryCheckBox"));
107 groupBySummaryCheckBox->setChecked(
true);
109 horizontalLayout_2->addWidget(groupBySummaryCheckBox);
111 horizontalSpacer =
new QSpacerItem(20, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
113 horizontalLayout_2->addItem(horizontalSpacer);
115 label =
new QLabel(ExpertInfoDialog);
116 label->setObjectName(QStringLiteral(
"label"));
118 horizontalLayout_2->addWidget(label);
120 searchLineEdit =
new QLineEdit(ExpertInfoDialog);
121 searchLineEdit->setObjectName(QStringLiteral(
"searchLineEdit"));
123 horizontalLayout_2->addWidget(searchLineEdit);
125 horizontalSpacer_3 =
new QSpacerItem(40, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
127 horizontalLayout_2->addItem(horizontalSpacer_3);
129 severitiesPushButton =
new QPushButton(ExpertInfoDialog);
130 severitiesPushButton->setObjectName(QStringLiteral(
"severitiesPushButton"));
131 menuShowExpert =
new QMenu(severitiesPushButton);
132 menuShowExpert->setObjectName(QStringLiteral(
"menuShowExpert"));
134 horizontalLayout_2->addWidget(severitiesPushButton);
136 horizontalLayout_2->setStretch(5, 1);
138 verticalLayout->addLayout(horizontalLayout_2);
140 buttonBox =
new QDialogButtonBox(ExpertInfoDialog);
141 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
142 buttonBox->setOrientation(Qt::Horizontal);
143 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help);
145 verticalLayout->addWidget(buttonBox);
148 menuShowExpert->addAction(actionShowError);
149 menuShowExpert->addAction(actionShowWarning);
150 menuShowExpert->addAction(actionShowChat);
151 menuShowExpert->addAction(actionShowNote);
152 menuShowExpert->addAction(actionShowComment);
154 retranslateUi(ExpertInfoDialog);
155 QObject::connect(buttonBox, SIGNAL(accepted()), ExpertInfoDialog, SLOT(accept()));
156 QObject::connect(buttonBox, SIGNAL(rejected()), ExpertInfoDialog, SLOT(reject()));
158 QMetaObject::connectSlotsByName(ExpertInfoDialog);
161 void retranslateUi(QDialog *ExpertInfoDialog)
163 ExpertInfoDialog->setWindowTitle(QApplication::translate(
"ExpertInfoDialog",
"Dialog", 0));
164 actionShowError->setText(QApplication::translate(
"ExpertInfoDialog",
"Error", 0));
165 #ifndef QT_NO_TOOLTIP 166 actionShowError->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Show error packets.", 0));
167 #endif // QT_NO_TOOLTIP 168 actionShowWarning->setText(QApplication::translate(
"ExpertInfoDialog",
"Warning", 0));
169 #ifndef QT_NO_TOOLTIP 170 actionShowWarning->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Show warning packets.", 0));
171 #endif // QT_NO_TOOLTIP 172 actionShowNote->setText(QApplication::translate(
"ExpertInfoDialog",
"Note", 0));
173 #ifndef QT_NO_TOOLTIP 174 actionShowNote->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Show note packets.", 0));
175 #endif // QT_NO_TOOLTIP 176 actionShowChat->setText(QApplication::translate(
"ExpertInfoDialog",
"Chat", 0));
177 #ifndef QT_NO_TOOLTIP 178 actionShowChat->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Show chat packets.", 0));
179 #endif // QT_NO_TOOLTIP 180 actionShowComment->setText(QApplication::translate(
"ExpertInfoDialog",
"Comment", 0));
181 #ifndef QT_NO_TOOLTIP 182 actionShowComment->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Show comment packets.", 0));
183 #endif // QT_NO_TOOLTIP 184 hintLabel->setText(QApplication::translate(
"ExpertInfoDialog",
"<small><i>A hint.</i></small>", 0));
185 limitCheckBox->setText(QApplication::translate(
"ExpertInfoDialog",
"Limit to Display Filter", 0));
186 groupBySummaryCheckBox->setText(QApplication::translate(
"ExpertInfoDialog",
"Group by summary", 0));
187 #ifndef QT_NO_TOOLTIP 188 label->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Search expert summaries.", 0));
189 #endif // QT_NO_TOOLTIP 190 label->setText(QApplication::translate(
"ExpertInfoDialog",
"Search:", 0));
191 #ifndef QT_NO_TOOLTIP 192 searchLineEdit->setToolTip(QApplication::translate(
"ExpertInfoDialog",
"Search expert summaries.", 0));
193 #endif // QT_NO_TOOLTIP 194 severitiesPushButton->setText(QApplication::translate(
"ExpertInfoDialog",
"Show\342\200\246", 0));
205 #endif // UI_EXPERT_INFO_DIALOG_H Definition: ui_expert_info_dialog.h:32
Definition: ui_about_dialog.h:291
Definition: expert_info_dialog.h:29
Definition: ui_expert_info_dialog.h:200
Definition: elided_label.h:15
Definition: expert_info_view.h:17