forked from osmocom/wireshark
More SCTP Analysis GUI layout fixes.
This commit is contained in:
parent
317d264664
commit
c0aa2a0841
|
@ -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()
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue