diff options
author | Roland Knall <rknall@gmail.com> | 2022-06-08 14:33:51 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2022-06-14 09:36:30 +0000 |
commit | a4f25e51150d81a76e6cf8644b60fdd000cd15ee (patch) | |
tree | 0f94a3dc68be55a5fafbe0a9edc099f255953e0b /ui/qt/traffic_table_dialog.ui | |
parent | f1cbc6b6623074ad6f403993e9f0cfee9bee4300 (diff) |
Qt: Redesign TrafficTree Dialogs UI
The new UI should better group functionality and as well as better
showing which taps are available and can be used.
Diffstat (limited to 'ui/qt/traffic_table_dialog.ui')
-rw-r--r-- | ui/qt/traffic_table_dialog.ui | 151 |
1 files changed, 85 insertions, 66 deletions
diff --git a/ui/qt/traffic_table_dialog.ui b/ui/qt/traffic_table_dialog.ui index 0e12d11a58..d86ce3e9ed 100644 --- a/ui/qt/traffic_table_dialog.ui +++ b/ui/qt/traffic_table_dialog.ui @@ -10,80 +10,94 @@ <height>475</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_3"> <item> - <widget class="TrafficTab" name="trafficTab"/> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,1"> - <item> - <widget class="QCheckBox" name="nameResolutionCheckBox"> - <property name="toolTip"> - <string><html><head/><body><p>Show resolved addresses and port names rather than plain values. The corresponding name resolution preference must be enabled.</p></body></html></string> - </property> - <property name="text"> - <string>Name resolution</string> - </property> - </widget> - </item> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> + <widget class="QWidget" name="widget" native="true"> + <property name="maximumSize"> <size> - <width>40</width> - <height>20</height> + <width>210</width> + <height>16777215</height> </size> </property> - </spacer> - </item> - <item> - <widget class="QCheckBox" name="displayFilterCheckBox"> - <property name="toolTip"> - <string><html><head/><body><p>Only show conversations matching the current display filter</p></body></html></string> - </property> - <property name="text"> - <string>Limit to display filter</string> - </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QGroupBox" name="grpSettings"> + <property name="title"> + <string>GroupBox</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="nameResolutionCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Show resolved addresses and port names rather than plain values. The corresponding name resolution preference must be enabled.</p></body></html></string> + </property> + <property name="text"> + <string>Name resolution</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="absoluteTimeCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Show absolute times in the start time column.</p></body></html></string> + </property> + <property name="text"> + <string>Absolute start time</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="displayFilterCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Only show conversations matching the current display filter</p></body></html></string> + </property> + <property name="text"> + <string>Limit to display filter</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="btnBoxSettings"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::NoButton</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="TrafficTypesList" name="trafficList"/> + </item> + </layout> </widget> </item> <item> - <spacer name="horizontalSpacer_3"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QCheckBox" name="absoluteTimeCheckBox"> - <property name="toolTip"> - <string><html><head/><body><p>Show absolute times in the start time column.</p></body></html></string> - </property> - <property name="text"> - <string>Absolute start time</string> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> + <widget class="TrafficTab" name="trafficTab"/> </item> </layout> </item> @@ -106,6 +120,11 @@ <header>ui/qt/widgets/traffic_tab.h</header> <container>1</container> </customwidget> + <customwidget> + <class>TrafficTypesList</class> + <extends>QTreeView</extends> + <header>ui/qt/widgets/traffic_types_list.h</header> + </customwidget> </customwidgets> <resources/> <connections> |