summaryrefslogtreecommitdiff
path: root/ui/qt/supported_protocols_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-01 10:18:56 -0700
committerGerald Combs <gerald@wireshark.org>2015-10-01 21:11:47 +0000
commit77a918188267f8f45bc9f51aa81bb24ee27765c5 (patch)
treee20d4a2747646ad7076f17bb168a5f0c709d06ce /ui/qt/supported_protocols_dialog.h
parentcf3d279e046053aa39846f108ad4769189211bda (diff)
downloadwireshark-77a918188267f8f45bc9f51aa81bb24ee27765c5.tar.gz
Add the supported protocols internals dialog.
Includes a bonus search field. Change-Id: I0b101b725d531a59c8a2fdbfbf4690b507135546 Reviewed-on: https://code.wireshark.org/review/10731 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/supported_protocols_dialog.h')
-rw-r--r--ui/qt/supported_protocols_dialog.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/ui/qt/supported_protocols_dialog.h b/ui/qt/supported_protocols_dialog.h
new file mode 100644
index 0000000000..1dd8ea2046
--- /dev/null
+++ b/ui/qt/supported_protocols_dialog.h
@@ -0,0 +1,64 @@
+/* supported_protocols_dialog.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef SUPPORTED_PROTOCOLS_DIALOG_H
+#define SUPPORTED_PROTOCOLS_DIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class SupportedProtocolsDialog;
+}
+
+class SupportedProtocolsDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit SupportedProtocolsDialog(QWidget *parent = 0);
+ ~SupportedProtocolsDialog();
+
+private:
+ Ui::SupportedProtocolsDialog *ui;
+
+ int field_count_;
+ void updateStatistics();
+
+private slots:
+ void fillTree();
+
+ void on_searchLineEdit_textChanged(const QString &search_re);
+};
+
+#endif // SUPPORTED_PROTOCOLS_DIALOG_H
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */