32a16890a7
--HG-- branch : develop
675 lines
19 KiB
XML
675 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogArc</class>
|
|
<widget class="QDialog" name="DialogArc">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>425</width>
|
|
<height>374</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Arc</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item alignment="Qt::AlignLeft">
|
|
<widget class="QLabel" name="labelEditRadius">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>159</red>
|
|
<green>158</green>
|
|
<blue>158</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="text">
|
|
<string>Radius:</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>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QToolButton" name="toolButtonExprRadius">
|
|
<property name="toolTip">
|
|
<string>Formula wizard</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/24x24/equal.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="labelResultRadius">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>87</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Value</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">_</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEditFormula">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Calculation</string>
|
|
</property>
|
|
<property name="tabChangesFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButtonGrowLength">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>18</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Show full calculation in message box</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-down">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item alignment="Qt::AlignLeft">
|
|
<widget class="QLabel" name="labelEditF1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>159</red>
|
|
<green>158</green>
|
|
<blue>158</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="text">
|
|
<string>First angle:</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>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QToolButton" name="toolButtonExprF1">
|
|
<property name="toolTip">
|
|
<string>Formula wizard</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/24x24/equal.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="labelResultF1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>87</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Value</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">_</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEditF1">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Calculation</string>
|
|
</property>
|
|
<property name="tabChangesFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButtonGrowLengthF1">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>18</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Show full calculation in message box</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-down">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item alignment="Qt::AlignLeft">
|
|
<widget class="QLabel" name="labelEditF2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>159</red>
|
|
<green>158</green>
|
|
<blue>158</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="text">
|
|
<string>Second angle:</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 alignment="Qt::AlignRight">
|
|
<widget class="QToolButton" name="toolButtonExprF2">
|
|
<property name="toolTip">
|
|
<string>Formula wizard</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/24x24/equal.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignRight">
|
|
<widget class="QLabel" name="labelResultF2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>87</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Value</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">_</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEditF2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Calculation</string>
|
|
</property>
|
|
<property name="tabChangesFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButtonGrowLengthF2">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>18</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Show full calculation in message box</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-down">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Center point:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="comboBoxBasePoint">
|
|
<property name="toolTip">
|
|
<string>Select center point of the arc</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QComboBox" name="comboBoxColor">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Color:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Pen style:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="comboBoxPenStyle"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>plainTextEditFormula</tabstop>
|
|
<tabstop>pushButtonGrowLength</tabstop>
|
|
<tabstop>plainTextEditF1</tabstop>
|
|
<tabstop>pushButtonGrowLengthF1</tabstop>
|
|
<tabstop>plainTextEditF2</tabstop>
|
|
<tabstop>pushButtonGrowLengthF2</tabstop>
|
|
<tabstop>comboBoxBasePoint</tabstop>
|
|
<tabstop>comboBoxColor</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>DialogArc</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>257</x>
|
|
<y>567</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>DialogArc</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>325</x>
|
|
<y>567</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|