modules/pmg_qt/forms/render.ui (456 lines of code) (raw):
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>248</width>
<height>200</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QStackedWidget" name="stack">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page_1">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string notr="true">Width</string>
</property>
<property name="buddy">
<cstring>input_width</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string notr="true">Height</string>
</property>
<property name="buddy">
<cstring>input_height</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="input_height_units">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string notr="true">cm</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QDoubleSpinBox" name="input_width_units">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string notr="true">cm</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="input_width">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string notr="true">px</string>
</property>
<property name="maximum">
<number>99999</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="input_height">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string notr="true">px</string>
</property>
<property name="maximum">
<number>99999</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="button_current">
<property name="toolTip">
<string>Use current viewport size</string>
</property>
<property name="text">
<string notr="true">Reset</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<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="QCheckBox" name="button_lock">
<property name="text">
<string notr="true">Lock aspect ratio</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string notr="true">Units</string>
</property>
<property name="buddy">
<cstring>input_units</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="input_units">
<item>
<property name="text">
<string notr="true">cm</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">inch</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string notr="true">at</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="input_dpi">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string notr="true">300</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">150</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">90</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="toolTip">
<string notr="true">Dots per Inch</string>
</property>
<property name="text">
<string notr="true">DPI</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>
<item>
<widget class="QCheckBox" name="input_transparent">
<property name="text">
<string notr="true">transparent background ("Ray" only)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="button_draw">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string notr="true">Use fast on-screen rendering</string>
</property>
<property name="text">
<string notr="true">Draw (fast)</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string notr="true">- or -</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_ray">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string notr="true">Use high-quality ray-tracing.
Supports optimal multi-layer
transparency, shadows, and
alpha-channel background.</string>
</property>
<property name="text">
<string notr="true">Ray (slow)</string>
</property>
<property name="default">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_2">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="margin">
<number>0</number>
</property>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>42</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="button_save">
<property name="text">
<string>Save Image to File</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_clip">
<property name="text">
<string>Copy Image to Clipboard</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>42</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QPushButton" name="button_back">
<property name="text">
<string>< Back</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>input_width</tabstop>
<tabstop>input_width_units</tabstop>
<tabstop>input_height</tabstop>
<tabstop>input_height_units</tabstop>
<tabstop>button_current</tabstop>
<tabstop>button_lock</tabstop>
<tabstop>input_units</tabstop>
<tabstop>input_dpi</tabstop>
<tabstop>input_transparent</tabstop>
<tabstop>button_draw</tabstop>
<tabstop>button_ray</tabstop>
<tabstop>button_save</tabstop>
<tabstop>button_clip</tabstop>
<tabstop>button_back</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>input_units</sender>
<signal>currentIndexChanged(QString)</signal>
<receiver>input_height_units</receiver>
<slot>setSuffix(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>102</x>
<y>119</y>
</hint>
<hint type="destinationlabel">
<x>237</x>
<y>57</y>
</hint>
</hints>
</connection>
<connection>
<sender>input_units</sender>
<signal>currentIndexChanged(QString)</signal>
<receiver>input_width_units</receiver>
<slot>setSuffix(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>102</x>
<y>119</y>
</hint>
<hint type="destinationlabel">
<x>237</x>
<y>30</y>
</hint>
</hints>
</connection>
</connections>
</ui>