diff options
author | Roland Knall <rknall@gmail.com> | 2016-10-19 10:19:28 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-10-20 05:09:58 +0000 |
commit | 961b05315df0c17bc21ca77553d1e29ebdf39309 (patch) | |
tree | ea6e7704c3d2c92503f551cab50404e62a26288a /ui/qt/main_welcome.ui | |
parent | f0cb70bd18171a8102f4a6baefb385a1dcd2d960 (diff) | |
download | wireshark-961b05315df0c17bc21ca77553d1e29ebdf39309.tar.gz |
WelcomeUI: Make Open and Capture clickable
Make the texts "Open" and "Capture" clickable, and have them open
the FileOpen and CaptureOptions dialogs respectively
Change-Id: I2a3efbc4cdf160aa0b4efc6496d09228affbff46
Reviewed-on: https://code.wireshark.org/review/18303
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_welcome.ui')
-rw-r--r-- | ui/qt/main_welcome.ui | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ui/qt/main_welcome.ui b/ui/qt/main_welcome.ui index e5c75ed032..e636c16e34 100644 --- a/ui/qt/main_welcome.ui +++ b/ui/qt/main_welcome.ui @@ -118,7 +118,7 @@ <number>0</number> </property> <item> - <widget class="QLabel" name="recentLabel"> + <widget class="ClickableLabel" name="recentLabel"> <property name="text"> <string><h2>Open</h2></string> </property> @@ -147,7 +147,7 @@ </widget> </item> <item> - <widget class="QLabel" name="captureLabel"> + <widget class="ClickableLabel" name="captureLabel"> <property name="toolTip"> <string><html><head/><body><p>Capture live packets from your network.</p></body></html></string> </property> @@ -316,6 +316,11 @@ a:hover { <header>accordion_frame.h</header> <container>1</container> </customwidget> + <customwidget> + <class>ClickableLabel</class> + <extends>QLabel</extends> + <header>clickable_label.h</header> + </customwidget> </customwidgets> <resources/> <connections/> |