diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-23 04:37:58 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-23 04:37:58 +0000 |
commit | a5d5162826b0349b0a7846d8336afdd77ab07a65 (patch) | |
tree | 1b47592d5aeb6b4cfcab86bf9264242446fc99b4 /ui/qt/packet_comment_dialog.ui | |
parent | aa347d504f65d3c8650c02a3b2cd839d11d0936b (diff) |
Qt: Implement packet comments. Fix packet detail updates.
GTK+: Shorten the packet comment menu item name. Remove a couple of
unneeded includes.
Both: Add an arbitrary 20 MB limit when fetching all packet comments.
Use a color from the Tango palette for comments.
svn path=/trunk/; revision=46709
Diffstat (limited to 'ui/qt/packet_comment_dialog.ui')
-rw-r--r-- | ui/qt/packet_comment_dialog.ui | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/ui/qt/packet_comment_dialog.ui b/ui/qt/packet_comment_dialog.ui new file mode 100644 index 0000000000..b886daa1de --- /dev/null +++ b/ui/qt/packet_comment_dialog.ui @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PacketCommentDialog</class> + <widget class="QDialog" name="PacketCommentDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Wireshark: Packet Comment</string> + </property> + <property name="modal"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QPlainTextEdit" name="commentTextEdit"/> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>PacketCommentDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>PacketCommentDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> |