Авторство | Последнее изменение | Открыть журнал | Скачать | RSS
<ui version="4.0" >
<author>Gordos Kund</author>
<class>TDPreviewDialog</class>
<widget class="QDialog" name="TDPreviewDialog" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>815</width>
<height>745</height>
</rect>
</property>
<property name="windowTitle" >
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" >
<item>
<layout class="QHBoxLayout" >
<item>
<widget class="QToolButton" name="zoomInToolButton" >
<property name="toolTip" >
<string>Zoom in</string>
</property>
<property name="text" >
<string>...</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/viewzoomin.png</normaloff>:/16x16/icons/16x16/actions/viewzoomin.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="zoomOutToolButton" >
<property name="toolTip" >
<string>Zoom Out</string>
</property>
<property name="text" >
<string>...</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/viewzoomout.png</normaloff>:/16x16/icons/16x16/actions/viewzoomout.png</iconset>
</property>
</widget>
</item>
<item>
<spacer>
<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="QLabel" name="label" >
<property name="text" >
<string>Page</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider" >
<property name="toolTip" >
<string>Select Page</string>
</property>
<property name="minimum" >
<number>1</number>
</property>
<property name="pageStep" >
<number>1</number>
</property>
<property name="value" >
<number>1</number>
</property>
<property name="tracking" >
<bool>false</bool>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition" >
<enum>QSlider::NoTicks</enum>
</property>
<property name="tickInterval" >
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="prevToolButton" >
<property name="toolTip" >
<string>Previous Page</string>
</property>
<property name="text" >
<string><</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/1leftarrow.png</normaloff>:/16x16/icons/16x16/actions/1leftarrow.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="pageSpinBox" >
<property name="toolTip" >
<string>Type page number here</string>
</property>
<property name="buttonSymbols" >
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="keyboardTracking" >
<bool>false</bool>
</property>
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="nextToolButton" >
<property name="toolTip" >
<string>Next Page</string>
</property>
<property name="text" >
<string>></string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/1rightarrow.png</normaloff>:/16x16/icons/16x16/actions/1rightarrow.png</iconset>
</property>
</widget>
</item>
<item>
<spacer>
<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="QToolButton" name="setupToolButton" >
<property name="toolTip" >
<string>Page Settings</string>
</property>
<property name="text" >
<string>...</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/configure.png</normaloff>:/16x16/icons/16x16/actions/configure.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGraphicsView" name="graphicsView" >
<property name="renderHints" >
<set>QPainter::TextAntialiasing</set>
</property>
<property name="dragMode" >
<enum>QGraphicsView::ScrollHandDrag</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<spacer>
<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="QPushButton" name="okPushButton" >
<property name="toolTip" >
<string>Print Document</string>
</property>
<property name="text" >
<string>&Ok</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/ok.png</normaloff>:/16x16/icons/16x16/actions/ok.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelPushButton" >
<property name="toolTip" >
<string>Cancel</string>
</property>
<property name="text" >
<string>&Cancel</string>
</property>
<property name="icon" >
<iconset resource="../tableprinterresource.qrc" >
<normaloff>:/16x16/icons/16x16/actions/button_cancel.png</normaloff>:/16x16/icons/16x16/actions/button_cancel.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
<tabstop>zoomInToolButton</tabstop>
<tabstop>zoomOutToolButton</tabstop>
<tabstop>setupToolButton</tabstop>
</tabstops>
<resources>
<include location="../tableprinterresource.qrc" />
</resources>
<connections>
<connection>
<sender>cancelPushButton</sender>
<signal>clicked()</signal>
<receiver>TDPreviewDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>565</x>
<y>450</y>
</hint>
<hint type="destinationlabel" >
<x>470</x>
<y>392</y>
</hint>
</hints>
</connection>
<connection>
<sender>okPushButton</sender>
<signal>clicked()</signal>
<receiver>TDPreviewDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>480</x>
<y>450</y>
</hint>
<hint type="destinationlabel" >
<x>367</x>
<y>388</y>
</hint>
</hints>
</connection>
<connection>
<sender>pageSpinBox</sender>
<signal>valueChanged(int)</signal>
<receiver>horizontalSlider</receiver>
<slot>setValue(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>375</x>
<y>14</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
<y>26</y>
</hint>
</hints>
</connection>
</connections>
</ui>