2013-12-18 12:13:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogCutSpline</class>
|
|
|
|
<widget class="QDialog" name="DialogCutSpline">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2020-10-28 13:09:56 +01:00
|
|
|
<width>324</width>
|
|
|
|
<height>240</height>
|
2013-12-18 12:13:32 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2015-02-16 15:38:37 +01:00
|
|
|
<string>Segmenting a simple curve</string>
|
2013-12-18 12:13: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>
|
2020-10-28 13:09:56 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2013-12-18 12:13:32 +01:00
|
|
|
<item>
|
2020-10-28 13:09:56 +01:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
2015-12-01 19:12:40 +01:00
|
|
|
</property>
|
2020-10-28 13:09:56 +01:00
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Tool</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item alignment="Qt::AlignLeft">
|
|
|
|
<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">
|
|
|
|
<string>Length:</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="toolButtonExprLength">
|
|
|
|
<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_4">
|
|
|
|
<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="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">
|
|
|
|
<string>Value</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">_</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="VPlainTextEdit" 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="QFormLayout" name="formLayout">
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Curve:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxSpline"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelEditNamePoint">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Point label:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="lineEditNamePoint">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Unique label</string>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Choose unique label.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Notes</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QPlainTextEdit" name="plainTextEditToolNotes"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
2013-12-18 12:13:32 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
2014-09-06 14:47:25 +02:00
|
|
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
2013-12-18 12:13: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>comboBoxSpline</tabstop>
|
|
|
|
<tabstop>lineEditNamePoint</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2013-12-18 12:13:32 +01:00
|
|
|
<resources>
|
2015-07-24 20:04:38 +02:00
|
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
2013-12-18 12:13:32 +01:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogCutSpline</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>DialogCutSpline</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>
|