LibreCAD / librecad /src /ui /dialogs /actions /modify /qg_dlgscale.ui
AbdulElahGwaith's picture
Upload folder using huggingface_hub
a5ffdcd verified
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QG_DlgScale</class>
<widget class="QDialog" name="QG_DlgScale">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>318</width>
<height>229</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>190</height>
</size>
</property>
<property name="windowTitle">
<string>Scaling Options</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="5" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout">
<item>
<widget class="QCheckBox" name="cbIsotropic">
<property name="toolTip">
<string>Scale by the same factor at both x- and y- directions</string>
</property>
<property name="text">
<string>Isotropic Scaling</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="cbCurrentLayer">
<property name="text">
<string>Use current &amp;layer</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="cbCurrentAttributes">
<property name="text">
<string>Use current &amp;attributes</string>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="lFactor">
<property name="text">
<string>X</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leFactorX">
<property name="text">
<string notr="true">1.0</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lFactor_2">
<property name="text">
<string>Y</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leFactorY">
<property name="text">
<string notr="true">1.0</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bFindFactor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Find the scaling ratios around the center by a reference point and a target point.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../../res/extui/extui.qrc">
<normaloff>:/extui/modifyscale.png</normaloff>:/extui/modifyscale.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QToolButton" name="toolButton">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../../../../res/extui/extui.qrc">
<normaloff>:/extui/dlgmodifyscale.png</normaloff>:/extui/dlgmodifyscale.png</iconset>
</property>
<property name="iconSize">
<size>
<width>80</width>
<height>80</height>
</size>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="3">
<widget class="QGroupBox" name="bgNumber">
<property name="title">
<string>Number of copies</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="rbDeleteOrigin">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>18</height>
</size>
</property>
<property name="text">
<string>&amp;Delete Original</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbCopy">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>18</height>
</size>
</property>
<property name="text">
<string>&amp;Keep Original</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbMultipleCopies">
<property name="text">
<string>&amp;Multiple Copies</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbNumber"/>
</item>
<item>
<spacer name="spacer7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="2" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>36</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="../../../../../res/extui/extui.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>QG_DlgScale</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>89</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>QG_DlgScale</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>89</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>