9 #ifndef UI_SCTP_GRAPH_DIALOG_H 10 #define UI_SCTP_GRAPH_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/QSpacerItem> 23 #include <QtWidgets/QVBoxLayout> 31 QAction *actionGoToPacket;
32 QVBoxLayout *verticalLayout_2;
33 QVBoxLayout *verticalLayout;
36 QHBoxLayout *horizontalLayout;
37 QPushButton *pushButton;
38 QPushButton *pushButton_2;
39 QPushButton *pushButton_3;
40 QPushButton *pushButton_4;
41 QPushButton *saveButton;
42 QSpacerItem *horizontalSpacer;
43 QDialogButtonBox *buttonBox;
47 if (SCTPGraphDialog->objectName().isEmpty())
48 SCTPGraphDialog->setObjectName(QStringLiteral(
"SCTPGraphDialog"));
49 SCTPGraphDialog->resize(800, 546);
50 actionGoToPacket =
new QAction(SCTPGraphDialog);
51 actionGoToPacket->setObjectName(QStringLiteral(
"actionGoToPacket"));
52 verticalLayout_2 =
new QVBoxLayout(SCTPGraphDialog);
53 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
54 verticalLayout =
new QVBoxLayout();
55 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
57 sctpPlot->setObjectName(QStringLiteral(
"sctpPlot"));
58 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
59 sizePolicy.setHorizontalStretch(0);
60 sizePolicy.setVerticalStretch(1);
61 sizePolicy.setHeightForWidth(sctpPlot->sizePolicy().hasHeightForWidth());
62 sctpPlot->setSizePolicy(sizePolicy);
64 verticalLayout->addWidget(sctpPlot);
66 hintLabel =
new QLabel(SCTPGraphDialog);
67 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
68 hintLabel->setWordWrap(
true);
70 verticalLayout->addWidget(hintLabel);
72 horizontalLayout =
new QHBoxLayout();
73 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
74 pushButton =
new QPushButton(SCTPGraphDialog);
75 pushButton->setObjectName(QStringLiteral(
"pushButton"));
76 pushButton->setFocusPolicy(Qt::NoFocus);
78 horizontalLayout->addWidget(pushButton);
80 pushButton_2 =
new QPushButton(SCTPGraphDialog);
81 pushButton_2->setObjectName(QStringLiteral(
"pushButton_2"));
82 pushButton_2->setFocusPolicy(Qt::NoFocus);
84 horizontalLayout->addWidget(pushButton_2);
86 pushButton_3 =
new QPushButton(SCTPGraphDialog);
87 pushButton_3->setObjectName(QStringLiteral(
"pushButton_3"));
88 pushButton_3->setFocusPolicy(Qt::NoFocus);
90 horizontalLayout->addWidget(pushButton_3);
92 pushButton_4 =
new QPushButton(SCTPGraphDialog);
93 pushButton_4->setObjectName(QStringLiteral(
"pushButton_4"));
94 pushButton_4->setFocusPolicy(Qt::NoFocus);
96 horizontalLayout->addWidget(pushButton_4);
98 saveButton =
new QPushButton(SCTPGraphDialog);
99 saveButton->setObjectName(QStringLiteral(
"saveButton"));
101 horizontalLayout->addWidget(saveButton);
103 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
105 horizontalLayout->addItem(horizontalSpacer);
107 buttonBox =
new QDialogButtonBox(SCTPGraphDialog);
108 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
109 buttonBox->setFocusPolicy(Qt::NoFocus);
110 buttonBox->setOrientation(Qt::Horizontal);
111 buttonBox->setStandardButtons(QDialogButtonBox::Close);
113 horizontalLayout->addWidget(buttonBox);
116 verticalLayout->addLayout(horizontalLayout);
119 verticalLayout_2->addLayout(verticalLayout);
122 retranslateUi(SCTPGraphDialog);
123 QObject::connect(buttonBox, SIGNAL(clicked(QAbstractButton*)), SCTPGraphDialog, SLOT(close()));
125 QMetaObject::connectSlotsByName(SCTPGraphDialog);
128 void retranslateUi(QDialog *SCTPGraphDialog)
130 SCTPGraphDialog->setWindowTitle(QApplication::translate(
"SCTPGraphDialog",
"SCTP Graph", 0));
131 actionGoToPacket->setText(QApplication::translate(
"SCTPGraphDialog",
"goToPacket", 0));
132 #ifndef QT_NO_TOOLTIP 133 actionGoToPacket->setToolTip(QApplication::translate(
"SCTPGraphDialog",
"Go to Packet", 0));
134 #endif // QT_NO_TOOLTIP 135 hintLabel->setText(QApplication::translate(
"SCTPGraphDialog",
"<html><head/><body><p><br/></p></body></html>", 0));
136 pushButton->setText(QApplication::translate(
"SCTPGraphDialog",
"Only SACKs", 0));
137 pushButton_2->setText(QApplication::translate(
"SCTPGraphDialog",
"Only TSNs", 0));
138 pushButton_3->setText(QApplication::translate(
"SCTPGraphDialog",
"Show both", 0));
139 pushButton_4->setText(QApplication::translate(
"SCTPGraphDialog",
"Reset to full size", 0));
140 saveButton->setText(QApplication::translate(
"SCTPGraphDialog",
"Save Graph", 0));
151 #endif // UI_SCTP_GRAPH_DIALOG_H Definition: ui_about_dialog.h:291
The central class of the library. This is the QWidget which displays the plot and interacts with the ...
Definition: qcustomplot.h:1682
Definition: ui_sctp_graph_dialog.h:28
Definition: ui_sctp_graph_dialog.h:146
Definition: sctp_graph_dialog.h:75