Files
newspark110/ui/forms/qg_polylineoptions.ui
Chenwenxuan edac2715f0 init
2024-03-06 14:54:30 +08:00

336 lines
7.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Ui_PolylineOptions</class>
<widget class="QWidget" name="Ui_PolylineOptions">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>425</width>
<height>28</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>320</width>
<height>22</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>750</width>
<height>32</height>
</size>
</property>
<property name="windowTitle">
<string>Polyline Options</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>1</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="bClose">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bUndo">
<property name="text">
<string>Undo</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbMode">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>Line</string>
</property>
</item>
<item>
<property name="text">
<string>Tangential</string>
</property>
</item>
<item>
<property name="text">
<string>Tan Radius</string>
</property>
</item>
<item>
<property name="text">
<string>Angle</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="lRadius">
<property name="text">
<string>Radius:</string>
</property>
<property name="alignment">
<set>Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leRadius">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lAngle">
<property name="text">
<string>Angle:</string>
</property>
<property name="alignment">
<set>Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leAngle">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="buttonGroup1">
<property name="title">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="sep1">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbPos">
<property name="toolTip">
<string>Counter Clockwise</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../res/extui/extui.qrc">
<normaloff>:/extui/dirpos.png</normaloff>:/extui/dirpos.png</iconset>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbNeg">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Clockwise</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../res/extui/extui.qrc">
<normaloff>:/extui/dirneg.png</normaloff>:/extui/dirneg.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="../../../res/extui/extui.qrc"/>
</resources>
<connections>
<connection>
<sender>bClose</sender>
<signal>clicked()</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>bUndo</sender>
<signal>clicked()</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>undo()</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>leRadius</sender>
<signal>textChanged(QString)</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>updateRadius(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>leAngle</sender>
<signal>textChanged(QString)</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>updateAngle(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbMode</sender>
<signal>activated(int)</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>updateMode(int)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>rbNeg</sender>
<signal>toggled(bool)</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>updateDirection(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>rbPos</sender>
<signal>toggled(bool)</signal>
<receiver>Ui_PolylineOptions</receiver>
<slot>updateDirection(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>