forked from osmocom/wireshark
![Roland Knall](/assets/img/avatar_default.png)
Forego of the button and move the reset functionality to a context menu Change-Id: Ib23029586c69c8f3cd7c989c8b7c1f09be219bb1 Reviewed-on: https://code.wireshark.org/review/34827 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Roland Knall <rknall@gmail.com>
101 lines
2.6 KiB
XML
101 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ColumnPreferencesFrame</class>
|
|
<widget class="QFrame" name="ColumnPreferencesFrame">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>550</width>
|
|
<height>456</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Frame</string>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTreeView" name="columnTreeView">
|
|
<property name="dragEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="headerShowSortIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="StockIconToolButton" name="newToolButton">
|
|
<property name="toolTip">
|
|
<string>Add a new column</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="deleteToolButton">
|
|
<property name="toolTip">
|
|
<string>Delete selected column</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="chkShowDisplayedOnly">
|
|
<property name="text">
|
|
<string>Show displayed columns only</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>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>StockIconToolButton</class>
|
|
<extends>QToolButton</extends>
|
|
<header>widgets/stock_icon_tool_button.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|