diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2018-01-06 00:01:30 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2018-01-06 23:27:00 +0000 |
commit | 2941018a721b362d13e7fd854dff56221aac00f7 (patch) | |
tree | 5a2cc486d95190d53ebffe30428169d736e6f5bc /ui/qt/wlan_statistics_dialog.h | |
parent | eef3c8434d556ad4d3fd9b0f4fdf912145f2670d (diff) |
WLAN stats: make filter + apply button work
Also export as text just the networks.
Change-Id: I228d65cb219792a70c6077932dbe9cf65b92eb6e
Reviewed-on: https://code.wireshark.org/review/25169
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'ui/qt/wlan_statistics_dialog.h')
-rw-r--r-- | ui/qt/wlan_statistics_dialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt/wlan_statistics_dialog.h b/ui/qt/wlan_statistics_dialog.h index 670feda3b1..749425b052 100644 --- a/ui/qt/wlan_statistics_dialog.h +++ b/ui/qt/wlan_statistics_dialog.h @@ -40,7 +40,7 @@ private: int packet_count_; int cur_network_; QElapsedTimer *add_station_timer_; - + QString displayFilter_; // Callbacks for register_tap_listener static void tapReset(void *ws_dlg_ptr); @@ -49,11 +49,15 @@ private: virtual const QString filterExpression(); + // How each item will be exported + virtual QList<QVariant> treeItemData(QTreeWidgetItem *) const; + private slots: virtual void fillTree(); void addStationTreeItems(); void updateHeaderLabels(); void captureFileClosing(); + void filterUpdated(QString filter); }; #endif // WLANSTATISTICSDIALOG_H |