2017-09-26 16:24:02 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogFinalMeasurements</class>
|
|
|
|
<widget class="QDialog" name="DialogFinalMeasurements">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>717</width>
|
|
|
|
<height>518</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2017-09-29 09:12:19 +02:00
|
|
|
<string>Final measurements</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../../../libs/vmisc/share/resources/icon.qrc">
|
|
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
2017-09-26 16:24:02 +02:00
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="labelFind">
|
|
|
|
<property name="text">
|
|
|
|
<string>Find:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEditFind">
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Search</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="toolButtonFindPrevious">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="go-previous" resource="../../../libs/vmisc/share/resources/theme.qrc">
|
|
|
|
<normaloff>:/icons/win.icon.theme/16x16/actions/go-previous.png</normaloff>:/icons/win.icon.theme/16x16/actions/go-previous.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="toolButtonFindNext">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="go-next" resource="../../../libs/vmisc/share/resources/theme.qrc">
|
|
|
|
<normaloff>:/icons/win.icon.theme/16x16/actions/go-next.png</normaloff>:/icons/win.icon.theme/16x16/actions/go-next.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2018-03-04 12:34:32 +01:00
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
2017-09-26 16:24:02 +02:00
|
|
|
</property>
|
2018-03-04 12:34:32 +01:00
|
|
|
<widget class="QTableWidget" name="tableWidget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>8</verstretch>
|
|
|
|
</sizepolicy>
|
2017-09-26 16:24:02 +02:00
|
|
|
</property>
|
2018-03-04 12:34:32 +01:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>150</height>
|
|
|
|
</size>
|
2017-09-26 16:24:02 +02:00
|
|
|
</property>
|
2018-03-04 12:34:32 +01:00
|
|
|
<property name="alternatingRowColors">
|
|
|
|
<bool>true</bool>
|
2017-09-26 16:24:02 +02:00
|
|
|
</property>
|
2018-03-04 12:34:32 +01:00
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
|
|
</property>
|
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
|
|
|
<number>120</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
|
|
|
<number>70</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderCascadingSectionResizes">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderDefaultSectionSize">
|
|
|
|
<number>25</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderMinimumSectionSize">
|
|
|
|
<number>8</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderStretchLastSection">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Name</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>The calculated value</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Formula</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBoxDetails">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>4</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Details</string>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Details</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
2018-03-10 15:33:48 +01:00
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
|
|
</property>
|
2018-03-04 12:34:32 +01:00
|
|
|
<item row="0" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>5000</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignRight">
|
|
|
|
<widget class="QToolButton" name="toolButtonAdd">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="list-add">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignLeft">
|
|
|
|
<widget class="QToolButton" name="toolButtonRemove">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="list-remove">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Name:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLineEdit" name="lineEditName">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="labelCalculated">
|
|
|
|
<property name="text">
|
|
|
|
<string>Calculated value:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QLabel" name="labelCalculatedValue">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QLabel" name="labelFormula">
|
|
|
|
<property name="text">
|
|
|
|
<string>Formula:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayoutValue">
|
|
|
|
<item>
|
|
|
|
<widget class="VPlainTextEdit" name="plainTextEditFormula">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<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="pushButtonGrow">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<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="focusPolicy">
|
|
|
|
<enum>Qt::StrongFocus</enum>
|
|
|
|
</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>../../../libs/vtools/dialogs/support</normaloff>../../../libs/vtools/dialogs/support</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="toolButtonExpr">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Formula wizard</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../libs/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>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0">
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>Description:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="1">
|
|
|
|
<widget class="VPlainTextEdit" name="plainTextEditDescription">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Ignored">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>1</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>28</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item alignment="Qt::AlignLeft">
|
|
|
|
<widget class="QToolButton" name="toolButtonUp">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Move measurement up</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="go-up">
|
|
|
|
<normaloff>../../tape</normaloff>../../tape</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignLeft">
|
|
|
|
<widget class="QToolButton" name="toolButtonDown">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Move measurement down</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="go-down">
|
|
|
|
<normaloff>../../tape</normaloff>../../tape</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>5000</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2017-09-26 16:24:02 +02:00
|
|
|
</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>
|
|
|
|
</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>
|
2017-09-26 16:24:02 +02:00
|
|
|
<resources>
|
2018-03-04 12:34:32 +01:00
|
|
|
<include location="../../../libs/vmisc/share/resources/theme.qrc"/>
|
2018-03-10 15:33:48 +01:00
|
|
|
<include location="../../../libs/vmisc/share/resources/icon.qrc"/>
|
2017-09-26 16:24:02 +02:00
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogFinalMeasurements</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>227</x>
|
|
|
|
<y>523</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>DialogFinalMeasurements</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>295</x>
|
|
|
|
<y>529</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|