summaryrefslogtreecommitdiffstats
path: root/ui/qt/manuf_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/manuf_dialog.h')
-rw-r--r--ui/qt/manuf_dialog.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/ui/qt/manuf_dialog.h b/ui/qt/manuf_dialog.h
new file mode 100644
index 00000000..fa3b1caf
--- /dev/null
+++ b/ui/qt/manuf_dialog.h
@@ -0,0 +1,44 @@
+/** @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