9 #ifndef UI_PRINT_DIALOG_H 10 #define UI_PRINT_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/QSpacerItem> 23 #include <QtWidgets/QVBoxLayout> 24 #include "packet_format_group_box.h" 25 #include "packet_range_group_box.h" 32 QVBoxLayout *verticalLayout_2;
33 QHBoxLayout *previewLayout;
34 QVBoxLayout *verticalLayout;
36 QCheckBox *formFeedCheckBox;
37 QSpacerItem *verticalSpacer;
40 QDialogButtonBox *buttonBox;
44 if (PrintDialog->objectName().isEmpty())
45 PrintDialog->setObjectName(QStringLiteral(
"PrintDialog"));
46 PrintDialog->resize(496, 328);
47 verticalLayout_2 =
new QVBoxLayout(PrintDialog);
48 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
49 previewLayout =
new QHBoxLayout();
50 previewLayout->setObjectName(QStringLiteral(
"previewLayout"));
51 verticalLayout =
new QVBoxLayout();
52 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
54 formatGroupBox->setObjectName(QStringLiteral(
"formatGroupBox"));
55 formatGroupBox->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
56 formatGroupBox->setFlat(
true);
58 verticalLayout->addWidget(formatGroupBox);
60 formFeedCheckBox =
new QCheckBox(PrintDialog);
61 formFeedCheckBox->setObjectName(QStringLiteral(
"formFeedCheckBox"));
63 verticalLayout->addWidget(formFeedCheckBox);
65 verticalSpacer =
new QSpacerItem(118, 28, QSizePolicy::Minimum, QSizePolicy::Expanding);
67 verticalLayout->addItem(verticalSpacer);
69 zoomLabel =
new QLabel(PrintDialog);
70 zoomLabel->setObjectName(QStringLiteral(
"zoomLabel"));
71 zoomLabel->setEnabled(
false);
73 verticalLayout->addWidget(zoomLabel);
76 previewLayout->addLayout(verticalLayout);
79 verticalLayout_2->addLayout(previewLayout);
82 rangeGroupBox->setObjectName(QStringLiteral(
"rangeGroupBox"));
83 rangeGroupBox->setFlat(
true);
85 verticalLayout_2->addWidget(rangeGroupBox);
87 buttonBox =
new QDialogButtonBox(PrintDialog);
88 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
89 buttonBox->setOrientation(Qt::Horizontal);
90 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help);
92 verticalLayout_2->addWidget(buttonBox);
95 retranslateUi(PrintDialog);
96 QObject::connect(buttonBox, SIGNAL(accepted()), PrintDialog, SLOT(accept()));
97 QObject::connect(buttonBox, SIGNAL(rejected()), PrintDialog, SLOT(reject()));
99 QMetaObject::connectSlotsByName(PrintDialog);
102 void retranslateUi(QDialog *PrintDialog)
104 formatGroupBox->setTitle(QApplication::translate(
"PrintDialog",
"Packet Format", 0));
105 formFeedCheckBox->setText(QApplication::translate(
"PrintDialog",
"Print each packet on a new page", 0));
106 #ifndef QT_NO_TOOLTIP 107 zoomLabel->setToolTip(QApplication::translate(
"PrintDialog",
"<html><head/><body><p>Use the "+" and "-" keys to zoom the preview in and out. Use the "0" key to reset the zoom level.</p></body></html>", 0));
108 #endif // QT_NO_TOOLTIP 109 zoomLabel->setText(QApplication::translate(
"PrintDialog",
"<html><head/><body><p><span style=\" font-size:small; font-style:italic;\">+ and - zoom, 0 resets</span></p></body></html>", 0));
110 rangeGroupBox->setTitle(QApplication::translate(
"PrintDialog",
"Packet Range", 0));
111 Q_UNUSED(PrintDialog);
122 #endif // UI_PRINT_DIALOG_H Definition: ui_print_dialog.h:29
Definition: print_dialog.h:28
Definition: ui_about_dialog.h:291
Definition: ui_print_dialog.h:117
Definition: packet_range_group_box.h:26