| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>BitmapExport</class>
- <widget class="QDialog" name="BitmapExport">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>356</width>
- <height>587</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Bitmap Export</string>
- </property>
- <property name="modal">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QGroupBox" name="Size">
- <property name="title">
- <string>Size</string>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Width:</string>
- </property>
- <property name="buddy">
- <cstring>Width</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="RMathLineEdit" name="Width">
- <property name="text">
- <string notr="true">640</string>
- </property>
- <property name="angle" stdset="0">
- <bool>false</bool>
- </property>
- <property name="defaultUnit" stdset="0">
- <number>0</number>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Height:</string>
- </property>
- <property name="buddy">
- <cstring>Height</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="RMathLineEdit" name="Height">
- <property name="text">
- <string notr="true">480</string>
- </property>
- <property name="angle" stdset="0">
- <bool>false</bool>
- </property>
- <property name="defaultUnit" stdset="0">
- <number>0</number>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Pixels per drawing unit:</string>
- </property>
- <property name="buddy">
- <cstring>Resolution</cstring>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QComboBox" name="Resolution">
- <property name="editable">
- <bool>true</bool>
- </property>
- <item>
- <property name="text">
- <string notr="true">auto</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">1</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">2</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">3</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">4</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">5</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">10</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">20</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">25</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">50</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">100</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QCheckBox" name="Selection">
- <property name="text">
- <string>Export bounding box of selection</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="Background">
- <property name="title">
- <string>Background</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="WhiteBackground">
- <property name="text">
- <string>White</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="BlackBackground">
- <property name="text">
- <string>Black</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="TransparentBackground">
- <property name="text">
- <string>Transparent</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="Color">
- <property name="title">
- <string>Color</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="ColorMonochrome">
- <property name="text">
- <string>Monochrome</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="ColorGrayscale">
- <property name="text">
- <string>Grayscale</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="ColorFull">
- <property name="text">
- <string>Color</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="AntiAliasingGroup">
- <property name="title">
- <string>Anti-aliasing</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QCheckBox" name="AntiAliasing">
- <property name="text">
- <string>Use anti-aliasing</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="MarginGroup">
- <property name="title">
- <string>Margin</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Margin:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="Margin">
- <property name="editable">
- <bool>true</bool>
- </property>
- <property name="currentIndex">
- <number>6</number>
- </property>
- <item>
- <property name="text">
- <string notr="true">0</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">1</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">2</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">3</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">4</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">5</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">10</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">15</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">20</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>px</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="WeightMargin">
- <property name="text">
- <string>Add extra margin to compensate for line weight</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>RMathLineEdit</class>
- <extends>QLineEdit</extends>
- <header>RMathLineEdit.h</header>
- </customwidget>
- </customwidgets>
- <tabstops>
- <tabstop>Width</tabstop>
- <tabstop>Height</tabstop>
- <tabstop>Resolution</tabstop>
- <tabstop>WhiteBackground</tabstop>
- <tabstop>BlackBackground</tabstop>
- <tabstop>buttonBox</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>BitmapExport</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>268</x>
- <y>263</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>227</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>BitmapExport</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>224</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel">
- <x>236</x>
- <y>209</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|