diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-11-01 20:57:45 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-11-01 20:57:45 +0000 |
commit | e7c47148eada3ecc0f5d144ccc460d0b5781183e (patch) | |
tree | 1f401970cafdea1b821785b97307fe5d3bfa8db4 /ui/qt/print_dialog.ui | |
parent | e7c01324d9c600c3af5ea07bfa3474f913425023 (diff) |
Add a print dialog to the Qt UI. Add support for null page element
callbacks in print.c. Clean up some other issues in print.c.
svn path=/trunk/; revision=45860
Diffstat (limited to 'ui/qt/print_dialog.ui')
-rw-r--r-- | ui/qt/print_dialog.ui | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/ui/qt/print_dialog.ui b/ui/qt/print_dialog.ui new file mode 100644 index 0000000000..92565f51f8 --- /dev/null +++ b/ui/qt/print_dialog.ui @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PrintDialog</class> + <widget class="QDialog" name="PrintDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>496</width> + <height>328</height> + </rect> + </property> + <property name="windowTitle"> + <string>Wireshark: Print</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QHBoxLayout" name="previewLayout"> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="PacketFormatGroupBox" name="formatGroupBox"> + <property name="title"> + <string>Packet Format</string> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="formFeedCheckBox"> + <property name="text"> + <string>Print each packet on a new page</string> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>118</width> + <height>28</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="zoomLabel"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Use the &quot;+&quot; and &quot;-&quot; keys to zoom the preview in and out. Use the &quot;0&quot; key to reset the zoom level.</p></body></html></string> + </property> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:small; font-style:italic;">+ and - zoom, 0 resets</span></p></body></html></string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> + <widget class="PacketRangeGroupBox" name="rangeGroupBox"> + <property name="title"> + <string>Packet Range</string> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help</set> + </property> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>PacketRangeGroupBox</class> + <extends>QGroupBox</extends> + <header>packet_range_group_box.h</header> + <container>1</container> + </customwidget> + <customwidget> + <class>PacketFormatGroupBox</class> + <extends>QGroupBox</extends> + <header>packet_format_group_box.h</header> + <container>1</container> + </customwidget> + </customwidgets> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>PrintDialog</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>PrintDialog</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> |