9 #ifndef UI_TAP_PARAMETER_DIALOG_H 10 #define UI_TAP_PARAMETER_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QTreeWidget> 23 #include <QtWidgets/QVBoxLayout> 24 #include "widgets/display_filter_edit.h" 31 QAction *actionCopyToClipboard;
32 QAction *actionSaveAs;
33 QVBoxLayout *verticalLayout;
34 QTreeWidget *statsTreeWidget;
36 QHBoxLayout *filterLayout;
39 QPushButton *applyFilterButton;
40 QDialogButtonBox *buttonBox;
44 if (TapParameterDialog->objectName().isEmpty())
45 TapParameterDialog->setObjectName(QStringLiteral(
"TapParameterDialog"));
46 TapParameterDialog->resize(587, 459);
47 actionCopyToClipboard =
new QAction(TapParameterDialog);
48 actionCopyToClipboard->setObjectName(QStringLiteral(
"actionCopyToClipboard"));
49 actionCopyToClipboard->setShortcut(QStringLiteral(
"Ctrl+C"));
50 actionSaveAs =
new QAction(TapParameterDialog);
51 actionSaveAs->setObjectName(QStringLiteral(
"actionSaveAs"));
52 actionSaveAs->setShortcut(QStringLiteral(
"Ctrl+S"));
53 verticalLayout =
new QVBoxLayout(TapParameterDialog);
54 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
55 statsTreeWidget =
new QTreeWidget(TapParameterDialog);
56 statsTreeWidget->setObjectName(QStringLiteral(
"statsTreeWidget"));
57 statsTreeWidget->setUniformRowHeights(
true);
58 statsTreeWidget->setSortingEnabled(
true);
60 verticalLayout->addWidget(statsTreeWidget);
62 hintLabel =
new QLabel(TapParameterDialog);
63 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
64 hintLabel->setWordWrap(
true);
66 verticalLayout->addWidget(hintLabel);
68 filterLayout =
new QHBoxLayout();
69 filterLayout->setObjectName(QStringLiteral(
"filterLayout"));
70 label =
new QLabel(TapParameterDialog);
71 label->setObjectName(QStringLiteral(
"label"));
73 filterLayout->addWidget(label);
76 displayFilterLineEdit->setObjectName(QStringLiteral(
"displayFilterLineEdit"));
78 filterLayout->addWidget(displayFilterLineEdit);
80 applyFilterButton =
new QPushButton(TapParameterDialog);
81 applyFilterButton->setObjectName(QStringLiteral(
"applyFilterButton"));
83 filterLayout->addWidget(applyFilterButton);
85 filterLayout->setStretch(1, 2);
87 verticalLayout->addLayout(filterLayout);
89 buttonBox =
new QDialogButtonBox(TapParameterDialog);
90 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
91 buttonBox->setOrientation(Qt::Horizontal);
92 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help);
94 verticalLayout->addWidget(buttonBox);
97 retranslateUi(TapParameterDialog);
98 QObject::connect(buttonBox, SIGNAL(accepted()), TapParameterDialog, SLOT(accept()));
99 QObject::connect(buttonBox, SIGNAL(rejected()), TapParameterDialog, SLOT(reject()));
101 QMetaObject::connectSlotsByName(TapParameterDialog);
104 void retranslateUi(QDialog *TapParameterDialog)
106 TapParameterDialog->setWindowTitle(QApplication::translate(
"TapParameterDialog",
"Dialog", 0));
107 actionCopyToClipboard->setText(QApplication::translate(
"TapParameterDialog",
"Copy", 0));
108 #ifndef QT_NO_TOOLTIP 109 actionCopyToClipboard->setToolTip(QApplication::translate(
"TapParameterDialog",
"Copy a text representation of the tree to the clipboard", 0));
110 #endif // QT_NO_TOOLTIP 111 actionSaveAs->setText(QApplication::translate(
"TapParameterDialog",
"Save as\342\200\246", 0));
112 #ifndef QT_NO_TOOLTIP 113 actionSaveAs->setToolTip(QApplication::translate(
"TapParameterDialog",
"Save the displayed data in various formats", 0));
114 #endif // QT_NO_TOOLTIP 115 QTreeWidgetItem *___qtreewidgetitem = statsTreeWidget->headerItem();
116 ___qtreewidgetitem->setText(0, QApplication::translate(
"TapParameterDialog",
"Item", 0));
117 hintLabel->setText(QApplication::translate(
"TapParameterDialog",
"<small><i>A hint.</i></small>", 0));
118 label->setText(QApplication::translate(
"TapParameterDialog",
"Display filter:", 0));
119 #ifndef QT_NO_TOOLTIP 120 applyFilterButton->setToolTip(QApplication::translate(
"TapParameterDialog",
"Regenerate statistics using this display filter", 0));
121 #endif // QT_NO_TOOLTIP 122 applyFilterButton->setText(QApplication::translate(
"TapParameterDialog",
"Apply", 0));
133 #endif // UI_TAP_PARAMETER_DIALOG_H Definition: ui_about_dialog.h:291
Definition: ui_tap_parameter_dialog.h:28
Definition: tap_parameter_dialog.h:44
Definition: ui_tap_parameter_dialog.h:128
Definition: display_filter_edit.h:26