aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2019-11-03 12:03:12 +0000
committerRoland Knall <rknall@gmail.com>2019-11-03 15:45:34 +0000
commitaccd563aaf3f26ea20f30397515fbeb6d818d2f0 (patch)
tree7be078f123998ad7d542d3e70c394493a537ed82 /docbook/wsdg_src
parentd1128e58c46d27bb73b9ed8290a80c1ce396d59b (diff)
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 <rknall@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'docbook/wsdg_src')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_sources.adoc67
1 files changed, 67 insertions, 0 deletions
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: