forked from osmocom/wireshark
Add field completion suggestions when adding a Display filter or Y Field to the IO Graph
Bug: 11899 Change-Id: I7cee36581dc773daa691dad10500124ab66520bc Reviewed-on: https://code.wireshark.org/review/16023 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
66bb67c674
commit
5c1d58b482
|
@ -37,6 +37,8 @@
|
|||
#include "progress_frame.h"
|
||||
#include "stock_icon.h"
|
||||
#include "syntax_line_edit.h"
|
||||
#include "display_filter_edit.h"
|
||||
#include "field_filter_edit.h"
|
||||
#include "wireshark_application.h"
|
||||
|
||||
#include <QClipboard>
|
||||
|
@ -1225,7 +1227,7 @@ void IOGraphDialog::on_graphTreeWidget_itemActivated(QTreeWidgetItem *item, int
|
|||
name_line_edit_ = new QLineEdit();
|
||||
name_line_edit_->setText(item->text(name_col_));
|
||||
|
||||
dfilter_line_edit_ = new SyntaxLineEdit();
|
||||
dfilter_line_edit_ = new DisplayFilterEdit();
|
||||
connect(dfilter_line_edit_, SIGNAL(textChanged(QString)),
|
||||
dfilter_line_edit_, SLOT(checkDisplayFilter(QString)));
|
||||
dfilter_line_edit_->setText(item->text(dfilter_col_));
|
||||
|
@ -1271,7 +1273,7 @@ void IOGraphDialog::on_graphTreeWidget_itemActivated(QTreeWidgetItem *item, int
|
|||
}
|
||||
yaxis_combo_box_->setFocusPolicy(Qt::StrongFocus);
|
||||
|
||||
yfield_line_edit_ = new SyntaxLineEdit();
|
||||
yfield_line_edit_ = new FieldFilterEdit();
|
||||
connect(yfield_line_edit_, SIGNAL(textChanged(QString)),
|
||||
yfield_line_edit_, SLOT(checkFieldName(QString)));
|
||||
yfield_line_edit_->setText(item->text(yfield_col_));
|
||||
|
|
Loading…
Reference in New Issue