forked from osmocom/wireshark
![Roland Knall](/assets/img/avatar_default.png)
Move the CopyFromProfile implementation from a menu to a button to ease integration in existing code Change-Id: I4fb4e952e89665eda99d162e891ac6d3516a6f02 Reviewed-on: https://code.wireshark.org/review/34266 Reviewed-by: Roland Knall <rknall@gmail.com> Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
162 lines
4.3 KiB
XML
162 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>UatFrame</class>
|
|
<widget class="QFrame" name="UatFrame">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>513</width>
|
|
<height>397</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Frame</string>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="TabnavTreeView" name="uatTreeView"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="hintLabel">
|
|
<property name="styleSheet">
|
|
<string notr="true">QLabel { color: red; }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,1">
|
|
<item>
|
|
<widget class="StockIconToolButton" name="newToolButton">
|
|
<property name="toolTip">
|
|
<string>Create a new entry.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="deleteToolButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Remove this entry.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="copyToolButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Copy this entry.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="moveUpToolButton">
|
|
<property name="toolTip">
|
|
<string>Move entry up.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="moveDownToolButton">
|
|
<property name="toolTip">
|
|
<string>Move entry down.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="clearToolButton">
|
|
<property name="toolTip">
|
|
<string>Clear all entries.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="CopyFromProfileButton" name="copyFromProfileButton">
|
|
<property name="toolTip">
|
|
<string>Copy entries from another profile.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Copy from</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="ElidedLabel" name="pathLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="openExternalLinks">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ElidedLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>widgets/elided_label.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>TabnavTreeView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>widgets/tabnav_tree_view.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>StockIconToolButton</class>
|
|
<extends>QToolButton</extends>
|
|
<header>widgets/stock_icon_tool_button.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>CopyFromProfileButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>widgets/copy_from_profile_button.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|