More SCTP Analysis GUI layout fixes.

This commit is contained in:
Thomas Dreibholz 2021-04-08 21:58:21 +02:00 committed by Wireshark GitLab Utility
parent 317d264664
commit c0aa2a0841
2 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,6 @@
/* sctp_assoc_analyse_dialog.cpp
*
* Copyright 2021 Thomas Dreibholz <dreibh [AT] iem.uni-due.de>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
@ -112,11 +114,11 @@ void SCTPAssocAnalyseDialog::fillTabs(const sctp_assoc_info_t* selected_assoc)
/* Tab Endpoint 1 */
if (selected_assoc->init)
ui->labelEP1->setText(QString(tr("Complete list of IP-Addresses as provided in the INIT-Chunk")));
ui->labelEP1->setText(QString(tr("Complete List of IP addresses from INIT Chunk:")));
else if ((selected_assoc->initack) && (selected_assoc->initack_dir == 1))
ui->labelEP1->setText(QString(tr("Complete list of IP-Addresses as provided in the INITACK-Chunk")));
ui->labelEP1->setText(QString(tr("Complete List of IP addresses from INIT_ACK Chunk:")));
else
ui->labelEP1->setText(QString(tr("List of used IP-Addresses")));
ui->labelEP1->setText(QString(tr("List of Used IP Addresses")));
if (selected_assoc->addr1 != Q_NULLPTR) {
GList *list;
@ -166,9 +168,9 @@ void SCTPAssocAnalyseDialog::fillTabs(const sctp_assoc_info_t* selected_assoc)
/* Tab Endpoint 2 */
if ((selected_assoc->initack) && (selected_assoc->initack_dir == 2))
ui->labelEP2->setText(QString(tr("Complete list of IP-Addresses as provided in the INITACK-Chunk")));
ui->labelEP2->setText(QString(tr("Complete List of IP addresses from INIT_ACK Chunk:")));
else
ui->labelEP2->setText(QString(tr("List of used IP-Addresses")));
ui->labelEP2->setText(QString(tr("List of Used IP Addresses")));
if (selected_assoc->addr2 != Q_NULLPTR) {
GList *list;
@ -235,8 +237,6 @@ void SCTPAssocAnalyseDialog::openGraphDialog(int direction)
void SCTPAssocAnalyseDialog::on_GraphTSN_2_clicked()
{
openGraphDialog(2);
}
void SCTPAssocAnalyseDialog::on_GraphTSN_1_clicked()

View File

@ -35,7 +35,7 @@
<string>TabWidget</string>
</property>
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<widget class="QWidget" name="Statistics">
<property name="focusPolicy">
@ -132,7 +132,7 @@
<x>10</x>
<y>540</y>
<width>791</width>
<height>51</height>
<height>55</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@ -183,7 +183,7 @@
</rect>
</property>
<property name="text">
<string>Complete list of IP Addresses as provided in the INIT Chunk:</string>
<string>Complete List of IP addresses from INIT Chunk:</string>
</property>
</widget>
<widget class="QWidget" name="gridLayoutWidget">
@ -452,7 +452,7 @@
</rect>
</property>
<property name="text">
<string>Complete list of IP Addresses as provided in the INIT_ACK Chunk:</string>
<string>Complete List of IP addresses from INIT_ACK Chunk:</string>
</property>
</widget>
<widget class="QListWidget" name="listWidgetEP2">