aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extcap_example.py
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-07 13:30:26 +0100
committerRoland Knall <rknall@gmail.com>2017-02-02 10:33:14 +0000
commitefb5c1537de616826408660f8d9aca659d5297c3 (patch)
treed95b9acbe5c72d51927855e95ea60b75e5709d36 /doc/extcap_example.py
parentbd3c2d2954e58829d44bc4319fbfa921f5bffc9f (diff)
Qt: Add extcap placeholder parameter
Added a parameter to set placeholder text in textBox. Change-Id: Iccf92fe60abc78be8f0fa112c0c9eb78890674b5 Reviewed-on: https://code.wireshark.org/review/12463 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'doc/extcap_example.py')
-rwxr-xr-xdoc/extcap_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extcap_example.py b/doc/extcap_example.py
index 446cccb..3a3fde7 100755
--- a/doc/extcap_example.py
+++ b/doc/extcap_example.py
@@ -98,7 +98,7 @@ def extcap_config(interface):
values = []
args.append ( (0, '--delay', 'Time delay', 'Time delay between packages', 'integer', '{range=1,15}{default=5}') )
- args.append ( (1, '--message', 'Message', 'Package message content', 'string', '{required=true}') )
+ args.append ( (1, '--message', 'Message', 'Package message content', 'string', '{required=true}{placeholder=Please enter a message here ...}') )
args.append ( (2, '--verify', 'Verify', 'Verify package content', 'boolflag', '{default=yes}') )
args.append ( (3, '--remote', 'Remote Channel', 'Remote Channel Selector', 'selector', ''))
args.append ( (4, '--fake_ip', 'Fake IP Address', 'Use this ip address as sender', 'string', '{save=false}{validation=\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b}'))