2014-01-08 15:05:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogCutArc</class>
|
|
|
|
<widget class="QDialog" name="DialogCutArc">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2014-10-24 15:48:49 +02:00
|
|
|
<width>412</width>
|
2016-05-19 12:11:50 +02:00
|
|
|
<height>189</height>
|
2014-01-08 15:05:32 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2015-02-16 15:38:37 +01:00
|
|
|
<string>Segment an arc</string>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
2014-06-24 10:56:52 +02:00
|
|
|
<property name="windowIcon">
|
2015-07-24 20:04:38 +02:00
|
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
2014-06-24 10:56:52 +02:00
|
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
|
|
|
</property>
|
2014-09-24 18:37:39 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
2014-01-08 15:05:32 +01:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignLeft">
|
2014-01-08 15:05:32 +01:00
|
|
|
<widget class="QLabel" name="labelEditFormula">
|
|
|
|
<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">
|
2015-12-01 19:12:40 +01:00
|
|
|
<string>Length:</string>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-06-09 18:37:11 +02:00
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
2014-06-09 18:37:11 +02:00
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
2014-06-09 18:37:11 +02:00
|
|
|
</spacer>
|
2014-01-08 15:05:32 +01:00
|
|
|
</item>
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignRight">
|
2015-04-29 19:50:15 +02:00
|
|
|
<widget class="QToolButton" name="toolButtonExprLength">
|
2015-12-01 19:12:40 +01:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Formula wizard</string>
|
|
|
|
</property>
|
2014-01-08 15:05:32 +01:00
|
|
|
<property name="text">
|
2014-09-17 20:29:46 +02:00
|
|
|
<string notr="true">...</string>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2015-07-24 20:04:38 +02:00
|
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
2015-04-29 19:50:15 +02:00
|
|
|
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignRight">
|
2015-02-16 14:54:56 +01:00
|
|
|
<widget class="QLabel" name="label_4">
|
2014-01-08 15:05:32 +01:00
|
|
|
<property name="text">
|
2015-02-16 14:54:56 +01:00
|
|
|
<string/>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
2015-02-16 14:54:56 +01:00
|
|
|
<property name="pixmap">
|
2015-07-24 20:04:38 +02:00
|
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/24x24/equal.png</pixmap>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignRight">
|
2014-01-08 15:05:32 +01:00
|
|
|
<widget class="QLabel" name="labelResultCalculation">
|
|
|
|
<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">
|
2015-12-01 19:12:40 +01:00
|
|
|
<string>Value</string>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
2014-09-17 20:29:46 +02:00
|
|
|
<property name="whatsThis">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
2014-01-08 15:05:32 +01:00
|
|
|
<property name="text">
|
2015-10-15 11:32:50 +02:00
|
|
|
<string notr="true">_</string>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2014-06-09 18:37:11 +02:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_formula">
|
|
|
|
<item>
|
2017-11-14 12:46:28 +01:00
|
|
|
<widget class="VPlainTextEdit" name="plainTextEditFormula">
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2014-06-09 18:37:11 +02:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2015-10-15 11:39:09 +02:00
|
|
|
<height>28</height>
|
2014-06-09 18:37:11 +02:00
|
|
|
</size>
|
|
|
|
</property>
|
2015-12-01 19:12:40 +01:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Calculation</string>
|
|
|
|
</property>
|
2014-10-24 15:06:38 +02:00
|
|
|
<property name="tabChangesFocus">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2014-06-09 18:37:11 +02:00
|
|
|
</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">
|
2014-09-17 20:29:46 +02:00
|
|
|
<string notr="true"/>
|
2014-06-09 18:37:11 +02:00
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2014-06-24 10:56:52 +02:00
|
|
|
<iconset theme="go-down">
|
2017-11-14 12:46:28 +01:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2014-06-09 18:37:11 +02:00
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2014-01-08 15:05:32 +01:00
|
|
|
<item>
|
2015-04-29 19:50:15 +02:00
|
|
|
<layout class="QFormLayout" name="formLayout">
|
2015-12-01 19:12:40 +01:00
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
|
|
</property>
|
2015-04-29 19:50:15 +02:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-12-01 19:12:40 +01:00
|
|
|
<string>Arc:</string>
|
2015-04-29 19:50:15 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2014-01-08 15:05:32 +01:00
|
|
|
</item>
|
2015-04-29 19:50:15 +02:00
|
|
|
<item row="0" column="1">
|
2015-12-01 19:12:40 +01:00
|
|
|
<widget class="QComboBox" name="comboBoxArc"/>
|
2015-04-29 19:50:15 +02:00
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelEditNamePoint">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-12-01 19:12:40 +01:00
|
|
|
<string>Point label:</string>
|
2015-04-29 19:50:15 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
2015-12-01 19:12:40 +01:00
|
|
|
<widget class="QLineEdit" name="lineEditNamePoint">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Unique label</string>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Choose unique label.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-04-29 19:50:15 +02:00
|
|
|
</item>
|
2014-01-08 15:05:32 +01:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
2014-06-09 18:37:11 +02:00
|
|
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
2014-01-08 15:05:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2017-11-14 12:46:28 +01:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>VPlainTextEdit</class>
|
|
|
|
<extends>QPlainTextEdit</extends>
|
|
|
|
<header location="global">vplaintextedit.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2014-10-30 08:34:13 +01:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>plainTextEditFormula</tabstop>
|
|
|
|
<tabstop>pushButtonGrowLength</tabstop>
|
|
|
|
<tabstop>comboBoxArc</tabstop>
|
|
|
|
<tabstop>lineEditNamePoint</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2014-01-08 15:05:32 +01:00
|
|
|
<resources>
|
2015-07-24 20:04:38 +02:00
|
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
2014-01-08 15:05:32 +01:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogCutArc</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>DialogCutArc</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|