aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window_preferences_frame.ui
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2020-02-10 22:02:38 +0100
committerAnders Broman <a.broman58@gmail.com>2020-02-12 07:50:41 +0000
commit74c2bcbe9b23bc4b8d1b02e61bb7e2d2f87d41af (patch)
treea2f697e0de093a4d5cc2a75817d78fc3543971a2 /ui/qt/main_window_preferences_frame.ui
parent055b4c59e4f4bbe724c09ce47d5a08eb92e89fc8 (diff)
Qt: Restore space and add tooltips
Followup on commit 33bb4b0c2298da9d9f7720d6d26d7fdeca5217d2 adding back the lower end spacer, moving the language selection to the bottom and also adding tooltips with variable information. Change-Id: I55c7e39d3a524bb17ccfad55a0e8bf844a500408 Reviewed-on: https://code.wireshark.org/review/36072 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window_preferences_frame.ui')
-rw-r--r--ui/qt/main_window_preferences_frame.ui75
1 files changed, 48 insertions, 27 deletions
diff --git a/ui/qt/main_window_preferences_frame.ui b/ui/qt/main_window_preferences_frame.ui
index f7bf587724..429d7d2eb1 100644
--- a/ui/qt/main_window_preferences_frame.ui
+++ b/ui/qt/main_window_preferences_frame.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>405</width>
- <height>416</height>
+ <height>445</height>
</rect>
</property>
<property name="sizePolicy">
@@ -205,6 +205,42 @@
</layout>
</item>
<item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>Window title</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="windowTitle">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Custom window title to be appended to the existing title&lt;br/&gt;%F = file path of the capture file&lt;br/&gt;%P = profile name&lt;br/&gt;%S = a conditional separator (&amp;quot; - &amp;quot;) that only shows when surrounded by variables with values or static text&lt;br/&gt;%V = version info&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <item>
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>Prepend window title</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="prependWindowTitle">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Custom window title to be prepended to the existing title&lt;br/&gt;%F = file path of the capture file&lt;br/&gt;%P = profile name&lt;br/&gt;%S = a conditional separator (&amp;quot; - &amp;quot;) that only shows when surrounded by variables with values or static text&lt;br/&gt;%V = version info&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_7">
@@ -247,32 +283,17 @@
</layout>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>Window title</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="windowTitle"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <item>
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>Prepend window title</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="prependWindowTitle"/>
- </item>
- </layout>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>1</height>
+ </size>
+ </property>
+ </spacer>
</item>
</layout>
</widget>