2014-05-30 10:32:40 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogEditWrongFormula</class>
|
|
|
|
<widget class="QDialog" name="DialogEditWrongFormula">
|
2014-07-04 13:55:36 +02:00
|
|
|
<property name="windowModality">
|
2015-07-24 14:06:53 +02:00
|
|
|
<enum>Qt::WindowModal</enum>
|
2014-07-04 13:55:36 +02:00
|
|
|
</property>
|
2014-05-30 10:32:40 +02:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2014-09-24 18:37:39 +02:00
|
|
|
<width>390</width>
|
2015-10-15 11:32:50 +02:00
|
|
|
<height>453</height>
|
2014-05-30 10:32:40 +02:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2014-08-29 16:38:43 +02:00
|
|
|
<string>Edit formula</string>
|
2014-05-30 10:32:40 +02:00
|
|
|
</property>
|
2014-06-24 10:56:52 +02:00
|
|
|
<property name="windowIcon">
|
2015-07-24 19:53:21 +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-07-04 13:55:36 +02:00
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2014-09-24 18:37:39 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
2014-05-30 10:32:40 +02:00
|
|
|
<item>
|
2014-06-19 11:29:56 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignLeft">
|
2014-06-19 13:43:02 +02:00
|
|
|
<widget class="QLabel" name="labelEditFormula">
|
2014-06-19 11:29:56 +02:00
|
|
|
<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>Formula:</string>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2014-05-30 10:32:40 +02:00
|
|
|
</item>
|
|
|
|
<item>
|
2014-06-19 11:29:56 +02:00
|
|
|
<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>
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignRight">
|
2014-06-19 11:29:56 +02:00
|
|
|
<widget class="QToolButton" name="toolButtonPutHere">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Insert variable into formula</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2014-09-17 20:29:46 +02:00
|
|
|
<string notr="true">...</string>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2015-07-24 19:53:21 +02:00
|
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
2014-07-08 14:06:57 +02:00
|
|
|
<normaloff>:/icon/24x24/putHere.png</normaloff>:/icon/24x24/putHere.png</iconset>
|
2014-06-19 11:29:56 +02: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">
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="text">
|
2015-02-16 14:54:56 +01:00
|
|
|
<string/>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
2015-02-16 14:54:56 +01:00
|
|
|
<property name="pixmap">
|
2015-07-24 19:53:21 +02:00
|
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/24x24/equal.png</pixmap>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
2014-05-30 10:32:40 +02:00
|
|
|
</item>
|
2015-12-01 19:12:40 +01:00
|
|
|
<item alignment="Qt::AlignRight">
|
2014-06-19 13:43:02 +02:00
|
|
|
<widget class="QLabel" name="labelResultCalculation">
|
2014-06-19 11:29:56 +02:00
|
|
|
<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-06-19 11:29:56 +02:00
|
|
|
</property>
|
2014-09-17 20:29:46 +02:00
|
|
|
<property name="whatsThis">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="text">
|
2015-10-15 11:32:50 +02:00
|
|
|
<string notr="true">_</string>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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>
|
2015-10-05 16:07:53 +02:00
|
|
|
<height>28</height>
|
2014-06-19 11:29:56 +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-19 11:29:56 +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>
|
2014-05-30 10:32:40 +02:00
|
|
|
<property name="text">
|
2014-09-17 20:29:46 +02:00
|
|
|
<string notr="true"/>
|
2014-05-30 10:32:40 +02:00
|
|
|
</property>
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="go-down">
|
2016-05-17 11:25:01 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
2014-05-30 10:32:40 +02:00
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-06-19 11:29:56 +02:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-09-24 18:37:39 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
2014-05-30 10:32:40 +02:00
|
|
|
<item>
|
2014-06-19 11:29:56 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Input data</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-11-11 19:52:25 +01:00
|
|
|
<widget class="QRadioButton" name="radioButtonStandardTable">
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="sizePolicy">
|
2015-12-01 15:38:09 +01:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
2014-06-19 11:29:56 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-11-11 19:52:25 +01:00
|
|
|
<string>Measurements</string>
|
2014-06-19 11:29:56 +02:00
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonIncrements">
|
|
|
|
<property name="sizePolicy">
|
2015-12-01 15:38:09 +01:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
2014-06-19 11:29:56 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Increments</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonLengthLine">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
2015-12-01 15:38:09 +01:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
2014-06-19 11:29:56 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Length of lines</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonLengthSpline">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
2015-12-01 15:38:09 +01:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
2014-06-19 11:29:56 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Length of curves</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-08-11 16:41:17 +02:00
|
|
|
<widget class="QRadioButton" name="radioButtonAngleLine">
|
2014-06-19 11:29:56 +02:00
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
2015-12-01 15:38:09 +01:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
2014-06-19 11:29:56 +02:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Angle of lines</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-05-31 11:17:09 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonRadiusesArcs">
|
2015-12-01 15:38:09 +01:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2015-05-31 11:17:09 +02:00
|
|
|
<property name="text">
|
|
|
|
<string>Radius of arcs</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-02 15:53:19 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonAnglesCurves">
|
2015-12-01 15:38:09 +01:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2015-06-02 15:53:19 +02:00
|
|
|
<property name="text">
|
|
|
|
<string>Angles of curves</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-06-19 11:29:56 +02:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-09-24 18:37:39 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxHideEmpty">
|
|
|
|
<property name="text">
|
|
|
|
<string>Hide empty measurements</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2016-05-17 11:25:01 +02:00
|
|
|
<widget class="QTableWidget" name="tableWidget">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
2014-09-24 18:37:39 +02:00
|
|
|
</property>
|
2016-05-17 11:25:01 +02:00
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Name</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Full name</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
2014-09-24 18:37:39 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2014-05-30 10:32:40 +02:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2014-06-19 11:29:56 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="labelDescription">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-05-30 10:32:40 +02:00
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-10-30 08:34:13 +01:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>plainTextEditFormula</tabstop>
|
|
|
|
<tabstop>toolButtonPutHere</tabstop>
|
|
|
|
<tabstop>pushButtonGrowLength</tabstop>
|
|
|
|
<tabstop>radioButtonStandardTable</tabstop>
|
|
|
|
<tabstop>radioButtonIncrements</tabstop>
|
|
|
|
<tabstop>radioButtonLengthLine</tabstop>
|
|
|
|
<tabstop>radioButtonLengthSpline</tabstop>
|
|
|
|
<tabstop>radioButtonAngleLine</tabstop>
|
|
|
|
<tabstop>checkBoxHideEmpty</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2014-05-30 10:32:40 +02:00
|
|
|
<resources>
|
2015-07-24 19:53:21 +02:00
|
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
2014-05-30 10:32:40 +02:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogEditWrongFormula</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>DialogEditWrongFormula</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>
|