Qt: Show Lua scripts as links in the about box.
authorGerald Combs <gerald@wireshark.org>
Wed, 31 Jan 2018 20:03:49 +0000 (12:03 -0800)
committerStig Bjørlykke <stig@bjorlykke.org>
Thu, 1 Feb 2018 18:11:22 +0000 (18:11 +0000)
commit142c03516ec93948ad30191730ace09baa57aa8d
tree3df285de9061ca052eadaa1f734f62ae1618a7a6
parentd1b1575f6d1e0f922aead77b2933f9be55d1107b
Qt: Show Lua scripts as links in the about box.

Add UrlLinkDelegate::setColCheck, which lets you render strings as URLs
or plain text according to a regex. Use it to show Lua scripts as URLs
in the about box.

Open links on double clicks and add column checks.

Change-Id: Iaf5cd8a46a0b66a7d45079ba045ed2bbcb0ed005
Reviewed-on: https://code.wireshark.org/review/25542
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
ui/qt/about_dialog.cpp
ui/qt/about_dialog.h
ui/qt/models/url_link_delegate.cpp
ui/qt/models/url_link_delegate.h