45 lines
884 B
C++
45 lines
884 B
C++
/** @file
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef MANUF_DIALOG_H
|
|
#define MANUF_DIALOG_H
|
|
|
|
#include <wireshark_dialog.h>
|
|
#include <models/manuf_table_model.h>
|
|
|
|
namespace Ui {
|
|
class ManufDialog;
|
|
}
|
|
|
|
class ManufDialog : public WiresharkDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ManufDialog(QWidget &parent, CaptureFile &cf);
|
|
~ManufDialog();
|
|
|
|
private slots:
|
|
void on_searchToggled(void);
|
|
void on_editingFinished(void);
|
|
void on_shortNameStateChanged(int state);
|
|
void copyToClipboard(void);
|
|
void clearFilter(void);
|
|
|
|
private:
|
|
void searchPrefix(QString &text);
|
|
void searchVendor(QString &text);
|
|
|
|
Ui::ManufDialog *ui;
|
|
ManufTableModel *model_;
|
|
ManufSortFilterProxyModel *proxy_model_;
|
|
};
|
|
|
|
#endif // MANUF_DIALOG_H
|