From accd563aaf3f26ea20f30397515fbeb6d818d2f0 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Sun, 3 Nov 2019 12:03:12 +0000 Subject: Qt: Consolidate mimedata usage Ensure, that all mimedata uses similar mimetypes and document the mimetypes being used throughout wireshark Change-Id: I7c02d0a5e12a823153640e600051abb95d58cdeb Reviewed-on: https://code.wireshark.org/review/34923 Petri-Dish: Roland Knall Reviewed-by: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall --- docbook/wsdg_src/WSDG_chapter_sources.adoc | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'docbook/wsdg_src') diff --git a/docbook/wsdg_src/WSDG_chapter_sources.adoc b/docbook/wsdg_src/WSDG_chapter_sources.adoc index 3ad7966e1a..80c121b205 100644 --- a/docbook/wsdg_src/WSDG_chapter_sources.adoc +++ b/docbook/wsdg_src/WSDG_chapter_sources.adoc @@ -1363,6 +1363,73 @@ If everything went well, you will now find something like: _WiresharkPortable_{wireshark-version}.paf.exe_ in the _packaging/portableapps_ directory. + +[[ChSrcVersioning]] + +==== Packaging Guidelines + +The following guidelines should be followed by anyone creating and +distributing third-party Wireshark packages or redistributing official +Wireshark packages. + + +[[ChSrcMimeTypes]] + +=== Mime Types + +Wireshark uses various mime-types for dragging dropping as well as file formats. +This chapter gives an overview over all the mimetypes being used, as well as the +data format in which data has to be provided for each individual mimetype. + +==== Coloring Rules + +**MimeType**: application/vnd.wireshark.coloringrules + +Coloring Rules are being used for dragging and dropping color rules inside the +coloring rules dialog. + +[cols="1,3,1", options="header"] +|=== +|Name +|Description +|Qt/C++ Type + +|disabled +|Is the coloring rule enabled/disabled +|bool + +|name +|Name to be displayed for it +|QString + +|filter +|The display filter +|QString + +|foreground +|Foreground Color +|QColor + +|background +|Background Color +|QColor +|=== + +==== Filter List + +**MimeType**: application/vnd.wireshark.filterlist + +*_Internal Use only_* - used on the filter list for moving entries within the +list + +==== Column List + +**MimeType**: application/vnd.wireshark.columnlist + +*_Internal Use only_* - used on the column list for moving entries within the +list + + // End of WSDG Chapter Sources // vim: set syntax=asciidoc: -- cgit v1.2.3