summaryrefslogtreecommitdiff
path: root/ui/qt/main_welcome.ui
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2016-10-19 10:19:28 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-20 05:09:58 +0000
commit961b05315df0c17bc21ca77553d1e29ebdf39309 (patch)
treeea6e7704c3d2c92503f551cab50404e62a26288a /ui/qt/main_welcome.ui
parentf0cb70bd18171a8102f4a6baefb385a1dcd2d960 (diff)
downloadwireshark-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.ui9
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>&lt;h2&gt;Open&lt;/h2&gt;</string>
</property>
@@ -147,7 +147,7 @@
</widget>
</item>
<item>
- <widget class="QLabel" name="captureLabel">
+ <widget class="ClickableLabel" name="captureLabel">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Capture live packets from your network.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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/>