| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>ScaleOptions</class>
- <widget class="QDialog" name="ScaleOptions">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>422</width>
- <height>335</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Scale Options</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Number of Copies</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="DeleteOriginal">
- <property name="text">
- <string>&Delete original</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+D</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="KeepOriginal">
- <property name="text">
- <string>&Keep original</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+K</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="MultipleCopies">
- <property name="text">
- <string>&Multiple copies</string>
- </property>
- <property name="shortcut">
- <string notr="true">Ctrl+M</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="RMathLineEdit" name="NumberOfCopies">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string notr="true">2</string>
- </property>
- <property name="angle" stdset="0">
- <bool>false</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>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Maximum</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QToolButton" name="toolButton">
- <property name="minimumSize">
- <size>
- <width>210</width>
- <height>155</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">border: 1px inset; background-color: rgb(255, 255, 255);</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>ScaleDialog.svg</normaloff>ScaleDialog.svg</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>210</width>
- <height>155</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>13</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <widget class="QWidget" name="FactorEntry" native="true">
- <layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>6</number>
- </property>
- <property name="topMargin">
- <number>6</number>
- </property>
- <property name="rightMargin">
- <number>6</number>
- </property>
- <property name="bottomMargin">
- <number>6</number>
- </property>
- <item row="0" column="0">
- <widget class="QLabel" name="LabelX">
- <property name="text">
- <string>Factor x:</string>
- </property>
- <property name="buddy">
- <cstring>FactorX</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="RMathLineEdit" name="FactorX">
- <property name="text">
- <string notr="true">0.5</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2" rowspan="2">
- <widget class="QToolButton" name="KeepProportions">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Proportional</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>KeepProportionsOn.svg</normaloff>KeepProportionsOn.svg</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>32</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="LabelY">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Factor y:</string>
- </property>
- <property name="buddy">
- <cstring>FactorY</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="RMathLineEdit" name="FactorY">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string notr="true">0.5</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="leftMargin">
- <number>6</number>
- </property>
- <property name="topMargin">
- <number>6</number>
- </property>
- <property name="rightMargin">
- <number>6</number>
- </property>
- <property name="bottomMargin">
- <number>6</number>
- </property>
- <item>
- <widget class="QToolButton" name="FactorByMouse">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Define factor using mouse cursor</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>ByMouse.svg</normaloff>ByMouse.svg</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>32</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="UseCurrentAttributes">
- <property name="text">
- <string>Use current layer and &attributes</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <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>DeleteOriginal</tabstop>
- <tabstop>KeepOriginal</tabstop>
- <tabstop>MultipleCopies</tabstop>
- <tabstop>NumberOfCopies</tabstop>
- <tabstop>FactorX</tabstop>
- <tabstop>KeepProportions</tabstop>
- <tabstop>FactorY</tabstop>
- <tabstop>UseCurrentAttributes</tabstop>
- <tabstop>buttonBox</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>ScaleOptions</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>169</x>
- <y>330</y>
- </hint>
- <hint type="destinationlabel">
- <x>115</x>
- <y>334</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>ScaleOptions</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>169</x>
- <y>330</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>MultipleCopies</sender>
- <signal>toggled(bool)</signal>
- <receiver>NumberOfCopies</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>122</x>
- <y>86</y>
- </hint>
- <hint type="destinationlabel">
- <x>122</x>
- <y>113</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>KeepProportions</sender>
- <signal>toggled(bool)</signal>
- <receiver>FactorY</receiver>
- <slot>setDisabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>350</x>
- <y>247</y>
- </hint>
- <hint type="destinationlabel">
- <x>314</x>
- <y>247</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>KeepProportions</sender>
- <signal>toggled(bool)</signal>
- <receiver>LabelY</receiver>
- <slot>setDisabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>350</x>
- <y>247</y>
- </hint>
- <hint type="destinationlabel">
- <x>248</x>
- <y>247</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>FactorByMouse</sender>
- <signal>toggled(bool)</signal>
- <receiver>FactorEntry</receiver>
- <slot>setDisabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>376</x>
- <y>222</y>
- </hint>
- <hint type="destinationlabel">
- <x>356</x>
- <y>210</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|