Improve description field. It should be flexible.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-03-04 13:34:32 +02:00
parent f605777495
commit 4fdfcfc11e
3 changed files with 1160 additions and 1145 deletions

View File

@ -123,431 +123,440 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="tableWidget"> <widget class="QSplitter" name="splitter">
<property name="sizePolicy"> <property name="orientation">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <enum>Qt::Vertical</enum>
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property> </property>
<property name="alternatingRowColors"> <widget class="QTableWidget" name="tableWidget">
<bool>true</bool> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<property name="selectionBehavior"> <horstretch>0</horstretch>
<enum>QAbstractItemView::SelectRows</enum> <verstretch>2</verstretch>
</property> </sizepolicy>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<column>
<property name="text">
<string>Name</string>
</property> </property>
</column> <property name="alternatingRowColors">
<column> <bool>true</bool>
<property name="text">
<string>Full name</string>
</property> </property>
</column> <property name="selectionBehavior">
<column> <enum>QAbstractItemView::SelectRows</enum>
<property name="text">
<string>Calculated value</string>
</property> </property>
</column> <attribute name="horizontalHeaderStretchLastSection">
<column> <bool>true</bool>
<property name="text"> </attribute>
<string>Formula</string> <column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Full name</string>
</property>
</column>
<column>
<property name="text">
<string>Calculated value</string>
</property>
</column>
<column>
<property name="text">
<string>Formula</string>
</property>
</column>
<column>
<property name="text">
<string>Base value</string>
</property>
</column>
<column>
<property name="text">
<string>In sizes</string>
</property>
</column>
<column>
<property name="text">
<string>In heights</string>
</property>
</column>
</widget>
<widget class="QGroupBox" name="groupBoxDetails">
<property name="enabled">
<bool>true</bool>
</property> </property>
</column> <property name="sizePolicy">
<column> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<property name="text"> <horstretch>0</horstretch>
<string>Base value</string> <verstretch>2</verstretch>
</sizepolicy>
</property> </property>
</column> <property name="toolTip">
<column> <string>Details</string>
<property name="text">
<string>In sizes</string>
</property> </property>
</column> <property name="title">
<column> <string>Details</string>
<property name="text">
<string>In heights</string>
</property> </property>
</column> <layout class="QFormLayout" name="formLayout">
</widget> <property name="fieldGrowthPolicy">
</item> <enum>QFormLayout::ExpandingFieldsGrow</enum>
<item> </property>
<widget class="QGroupBox" name="groupBoxDetails"> <item row="2" column="0">
<property name="enabled"> <widget class="QLabel" name="label">
<bool>true</bool> <property name="text">
</property> <string>Name:</string>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> </widget>
<horstretch>0</horstretch> </item>
<verstretch>2</verstretch> <item row="2" column="1">
</sizepolicy> <widget class="QLineEdit" name="lineEditName">
</property> <property name="enabled">
<property name="toolTip"> <bool>false</bool>
<string>Details</string> </property>
</property> <property name="toolTip">
<property name="title"> <string>Measurement's name in a formula</string>
<string>Details</string> </property>
</property> <property name="placeholderText">
<layout class="QFormLayout" name="formLayout"> <string>Measurement's name in a formula.</string>
<property name="fieldGrowthPolicy"> </property>
<enum>QFormLayout::ExpandingFieldsGrow</enum> </widget>
</property> </item>
<item row="2" column="0"> <item row="5" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="labelFormula">
<property name="text"> <property name="text">
<string>Name:</string> <string>Formula:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="5" column="1">
<widget class="QLineEdit" name="lineEditName"> <layout class="QHBoxLayout" name="horizontalLayoutValue">
<property name="enabled"> <item>
<bool>false</bool> <widget class="VPlainTextEdit" name="plainTextEditFormula">
</property> <property name="enabled">
<property name="toolTip"> <bool>false</bool>
<string>Measurement's name in a formula</string> </property>
</property> <property name="sizePolicy">
<property name="placeholderText"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<string>Measurement's name in a formula.</string> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
</widget> </sizepolicy>
</item> </property>
<item row="5" column="0"> <property name="maximumSize">
<widget class="QLabel" name="labelFormula"> <size>
<property name="text"> <width>16777215</width>
<string>Formula:</string> <height>28</height>
</property> </size>
</widget> </property>
</item> <property name="tabChangesFocus">
<item row="5" column="1"> <bool>true</bool>
<layout class="QHBoxLayout" name="horizontalLayoutValue"> </property>
<item> </widget>
<widget class="VPlainTextEdit" name="plainTextEditFormula"> </item>
<property name="enabled"> <item>
<bool>false</bool> <widget class="QPushButton" name="pushButtonGrow">
</property> <property name="enabled">
<property name="sizePolicy"> <bool>false</bool>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> </property>
<horstretch>0</horstretch> <property name="maximumSize">
<verstretch>0</verstretch> <size>
</sizepolicy> <width>18</width>
</property> <height>18</height>
<property name="maximumSize"> </size>
<size> </property>
<width>16777215</width> <property name="sizeIncrement">
<height>28</height> <size>
</size> <width>0</width>
</property> <height>0</height>
<property name="tabChangesFocus"> </size>
<bool>true</bool> </property>
</property> <property name="toolTip">
</widget> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</item> </property>
<item> <property name="text">
<widget class="QPushButton" name="pushButtonGrow"> <string notr="true"/>
<property name="enabled"> </property>
<bool>false</bool> <property name="icon">
</property> <iconset theme="go-down">
<property name="maximumSize"> <normaloff>../../libs/vtools/dialogs/support</normaloff>../../libs/vtools/dialogs/support</iconset>
<size> </property>
<width>18</width> <property name="iconSize">
<height>18</height> <size>
</size> <width>16</width>
</property> <height>16</height>
<property name="sizeIncrement"> </size>
<size> </property>
<width>0</width> <property name="flat">
<height>0</height> <bool>true</bool>
</size> </property>
</property> </widget>
<property name="toolTip"> </item>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <item>
</property> <widget class="QToolButton" name="toolButtonExpr">
<property name="text"> <property name="enabled">
<string notr="true"/> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="toolTip">
<iconset theme="go-down"> <string>Function Wizard</string>
<normaloff>../../libs/vtools/dialogs/support</normaloff>../../libs/vtools/dialogs/support</iconset> </property>
</property> <property name="text">
<property name="iconSize"> <string notr="true">...</string>
<size> </property>
<width>16</width> <property name="icon">
<height>16</height> <iconset resource="share/resources/tapeicon.qrc">
</size> <normaloff>:/tapeicon/24x24/fx.png</normaloff>:/tapeicon/24x24/fx.png</iconset>
</property> </property>
<property name="flat"> <property name="iconSize">
<bool>true</bool> <size>
</property> <width>24</width>
</widget> <height>24</height>
</item> </size>
<item> </property>
<widget class="QToolButton" name="toolButtonExpr"> </widget>
<property name="enabled"> </item>
<bool>false</bool> </layout>
</property> </item>
<property name="toolTip"> <item row="6" column="0">
<string>Function Wizard</string> <widget class="QLabel" name="labelBaseValue">
</property> <property name="text">
<property name="text"> <string>Base value:</string>
<string notr="true">...</string> </property>
</property> </widget>
<property name="icon"> </item>
<iconset resource="share/resources/tapeicon.qrc"> <item row="7" column="0">
<normaloff>:/tapeicon/24x24/fx.png</normaloff>:/tapeicon/24x24/fx.png</iconset> <widget class="QLabel" name="labelInSizes">
</property> <property name="text">
<property name="iconSize"> <string>In sizes:</string>
<size> </property>
<width>24</width> </widget>
<height>24</height> </item>
</size> <item row="8" column="0">
</property> <widget class="QLabel" name="labelInHeights">
</widget> <property name="text">
</item> <string>In heights:</string>
</layout> </property>
</item> </widget>
<item row="6" column="0"> </item>
<widget class="QLabel" name="labelBaseValue"> <item row="10" column="0">
<property name="text"> <widget class="QLabel" name="label_7">
<string>Base value:</string> <property name="text">
</property> <string>Description:</string>
</widget> </property>
</item> </widget>
<item row="7" column="0"> </item>
<widget class="QLabel" name="labelInSizes"> <item row="10" column="1">
<property name="text"> <widget class="VPlainTextEdit" name="plainTextEditDescription">
<string>In sizes:</string> <property name="enabled">
</property> <bool>false</bool>
</widget> </property>
</item> <property name="sizePolicy">
<item row="8" column="0"> <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
<widget class="QLabel" name="labelInHeights"> <horstretch>0</horstretch>
<property name="text"> <verstretch>1</verstretch>
<string>In heights:</string> </sizepolicy>
</property> </property>
</widget> <property name="minimumSize">
</item> <size>
<item row="10" column="0"> <width>0</width>
<widget class="QLabel" name="label_7"> <height>28</height>
<property name="text"> </size>
<string>Description:</string> </property>
</property> </widget>
</widget> </item>
</item> <item row="0" column="0">
<item row="10" column="1"> <layout class="QHBoxLayout" name="horizontalLayout">
<widget class="VPlainTextEdit" name="plainTextEditDescription"> <item alignment="Qt::AlignLeft">
<property name="enabled"> <widget class="QToolButton" name="toolButtonTop">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <property name="toolTip">
<horstretch>0</horstretch> <string>Move measurement top</string>
<verstretch>1</verstretch> </property>
</sizepolicy> <property name="text">
</property> <string notr="true">...</string>
</widget> </property>
</item> <property name="icon">
<item row="0" column="0"> <iconset theme="go-top">
<layout class="QHBoxLayout" name="horizontalLayout"> <normaloff>.</normaloff>.</iconset>
<item alignment="Qt::AlignLeft"> </property>
<widget class="QToolButton" name="toolButtonTop"> </widget>
<property name="enabled"> </item>
<bool>false</bool> <item alignment="Qt::AlignLeft">
</property> <widget class="QToolButton" name="toolButtonUp">
<property name="toolTip"> <property name="enabled">
<string>Move measurement top</string> <bool>false</bool>
</property> </property>
<property name="text"> <property name="toolTip">
<string notr="true">...</string> <string>Move measurement up</string>
</property> </property>
<property name="icon"> <property name="text">
<iconset theme="go-top"> <string notr="true">...</string>
<normaloff>.</normaloff>.</iconset> </property>
</property> <property name="icon">
</widget> <iconset theme="go-up">
</item> <normaloff>.</normaloff>.</iconset>
<item alignment="Qt::AlignLeft"> </property>
<widget class="QToolButton" name="toolButtonUp"> </widget>
<property name="enabled"> </item>
<bool>false</bool> <item alignment="Qt::AlignLeft">
</property> <widget class="QToolButton" name="toolButtonDown">
<property name="toolTip"> <property name="enabled">
<string>Move measurement up</string> <bool>false</bool>
</property> </property>
<property name="text"> <property name="toolTip">
<string notr="true">...</string> <string>Move measurement down</string>
</property> </property>
<property name="icon"> <property name="text">
<iconset theme="go-up"> <string notr="true">...</string>
<normaloff>.</normaloff>.</iconset> </property>
</property> <property name="icon">
</widget> <iconset theme="go-down">
</item> <normaloff>.</normaloff>.</iconset>
<item alignment="Qt::AlignLeft"> </property>
<widget class="QToolButton" name="toolButtonDown"> </widget>
<property name="enabled"> </item>
<bool>false</bool> <item alignment="Qt::AlignLeft">
</property> <widget class="QToolButton" name="toolButtonBottom">
<property name="toolTip"> <property name="enabled">
<string>Move measurement down</string> <bool>false</bool>
</property> </property>
<property name="text"> <property name="toolTip">
<string notr="true">...</string> <string>Move measurement bottom</string>
</property> </property>
<property name="icon"> <property name="text">
<iconset theme="go-down"> <string notr="true">...</string>
<normaloff>.</normaloff>.</iconset> </property>
</property> <property name="icon">
</widget> <iconset theme="go-bottom">
</item> <normaloff>.</normaloff>.</iconset>
<item alignment="Qt::AlignLeft"> </property>
<widget class="QToolButton" name="toolButtonBottom"> </widget>
<property name="enabled"> </item>
<bool>false</bool> <item>
</property> <spacer name="horizontalSpacer_2">
<property name="toolTip"> <property name="orientation">
<string>Move measurement bottom</string> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="text"> <property name="sizeHint" stdset="0">
<string notr="true">...</string> <size>
</property> <width>5000</width>
<property name="icon"> <height>20</height>
<iconset theme="go-bottom"> </size>
<normaloff>.</normaloff>.</iconset> </property>
</property> </spacer>
</widget> </item>
</item> </layout>
<item> </item>
<spacer name="horizontalSpacer_2"> <item row="0" column="1">
<property name="orientation"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<enum>Qt::Horizontal</enum> <item>
</property> <spacer name="horizontalSpacer">
<property name="sizeHint" stdset="0"> <property name="orientation">
<size> <enum>Qt::Horizontal</enum>
<width>5000</width> </property>
<height>20</height> <property name="sizeHint" stdset="0">
</size> <size>
</property> <width>5000</width>
</spacer> <height>20</height>
</item> </size>
</layout> </property>
</item> </spacer>
<item row="0" column="1"> </item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <item alignment="Qt::AlignRight">
<item> <widget class="QToolButton" name="toolButtonRemove">
<spacer name="horizontalSpacer"> <property name="enabled">
<property name="orientation"> <bool>false</bool>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="toolTip">
<property name="sizeHint" stdset="0"> <string>Delete measurement</string>
<size> </property>
<width>5000</width> <property name="text">
<height>20</height> <string notr="true">...</string>
</size> </property>
</property> <property name="icon">
</spacer> <iconset theme="list-remove">
</item> <normaloff>.</normaloff>.</iconset>
<item alignment="Qt::AlignRight"> </property>
<widget class="QToolButton" name="toolButtonRemove"> </widget>
<property name="enabled"> </item>
<bool>false</bool> </layout>
</property> </item>
<property name="toolTip"> <item row="4" column="0">
<string>Delete measurement</string> <widget class="QLabel" name="labelCalculated">
</property> <property name="text">
<property name="text"> <string>Calculated value:</string>
<string notr="true">...</string> </property>
</property> </widget>
<property name="icon"> </item>
<iconset theme="list-remove"> <item row="4" column="1">
<normaloff>.</normaloff>.</iconset> <widget class="QLabel" name="labelCalculatedValue">
</property> <property name="toolTip">
</widget> <string>Calculated value</string>
</item> </property>
</layout> <property name="text">
</item> <string notr="true"/>
<item row="4" column="0"> </property>
<widget class="QLabel" name="labelCalculated"> </widget>
<property name="text"> </item>
<string>Calculated value:</string> <item row="6" column="1">
</property> <widget class="QDoubleSpinBox" name="doubleSpinBoxBaseValue">
</widget> <property name="enabled">
</item> <bool>false</bool>
<item row="4" column="1"> </property>
<widget class="QLabel" name="labelCalculatedValue"> <property name="minimum">
<property name="toolTip"> <double>-10000.000000000000000</double>
<string>Calculated value</string> </property>
</property> <property name="maximum">
<property name="text"> <double>10000.000000000000000</double>
<string notr="true"/> </property>
</property> </widget>
</widget> </item>
</item> <item row="7" column="1">
<item row="6" column="1"> <widget class="QDoubleSpinBox" name="doubleSpinBoxInSizes">
<widget class="QDoubleSpinBox" name="doubleSpinBoxBaseValue"> <property name="enabled">
<property name="enabled"> <bool>false</bool>
<bool>false</bool> </property>
</property> <property name="minimum">
<property name="minimum"> <double>-10000.000000000000000</double>
<double>-10000.000000000000000</double> </property>
</property> <property name="maximum">
<property name="maximum"> <double>10000.000000000000000</double>
<double>10000.000000000000000</double> </property>
</property> </widget>
</widget> </item>
</item> <item row="8" column="1">
<item row="7" column="1"> <widget class="QDoubleSpinBox" name="doubleSpinBoxInHeights">
<widget class="QDoubleSpinBox" name="doubleSpinBoxInSizes"> <property name="enabled">
<property name="enabled"> <bool>false</bool>
<bool>false</bool> </property>
</property> <property name="minimum">
<property name="minimum"> <double>-10000.000000000000000</double>
<double>-10000.000000000000000</double> </property>
</property> <property name="maximum">
<property name="maximum"> <double>10000.000000000000000</double>
<double>10000.000000000000000</double> </property>
</property> </widget>
</widget> </item>
</item> <item row="9" column="0">
<item row="8" column="1"> <widget class="QLabel" name="labelFullName">
<widget class="QDoubleSpinBox" name="doubleSpinBoxInHeights"> <property name="text">
<property name="enabled"> <string>Full name:</string>
<bool>false</bool> </property>
</property> </widget>
<property name="minimum"> </item>
<double>-10000.000000000000000</double> <item row="9" column="1">
</property> <widget class="QLineEdit" name="lineEditFullName">
<property name="maximum"> <property name="enabled">
<double>10000.000000000000000</double> <bool>false</bool>
</property> </property>
</widget> <property name="toolTip">
</item> <string/>
<item row="9" column="0"> </property>
<widget class="QLabel" name="labelFullName"> <property name="placeholderText">
<property name="text"> <string>Measurement's human-readable name.</string>
<string>Full name:</string> </property>
</property> </widget>
</widget> </item>
</item> </layout>
<item row="9" column="1"> </widget>
<widget class="QLineEdit" name="lineEditFullName">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string/>
</property>
<property name="placeholderText">
<string>Measurement's human-readable name.</string>
</property>
</widget>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -62,362 +62,365 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="tableWidget"> <widget class="QSplitter" name="splitter">
<property name="sizePolicy"> <property name="orientation">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <enum>Qt::Vertical</enum>
<horstretch>0</horstretch>
<verstretch>8</verstretch>
</sizepolicy>
</property> </property>
<property name="minimumSize"> <widget class="QTableWidget" name="tableWidget">
<size> <property name="sizePolicy">
<width>0</width> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<height>150</height> <horstretch>0</horstretch>
</size> <verstretch>8</verstretch>
</property> </sizepolicy>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<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> </property>
</column> <property name="minimumSize">
<column> <size>
<property name="text"> <width>0</width>
<string>The calculated value</string> <height>150</height>
</size>
</property> </property>
</column> <property name="alternatingRowColors">
<column> <bool>true</bool>
<property name="text">
<string>Formula</string>
</property> </property>
</column> <property name="selectionMode">
</widget> <enum>QAbstractItemView::SingleSelection</enum>
</item> </property>
<item> <property name="selectionBehavior">
<widget class="QGroupBox" name="groupBoxDetails"> <enum>QAbstractItemView::SelectRows</enum>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <property name="sortingEnabled">
<horstretch>0</horstretch> <bool>false</bool>
<verstretch>4</verstretch> </property>
</sizepolicy> <property name="wordWrap">
</property> <bool>true</bool>
<property name="minimumSize"> </property>
<size> <attribute name="horizontalHeaderCascadingSectionResizes">
<width>0</width> <bool>false</bool>
<height>236</height> </attribute>
</size> <attribute name="horizontalHeaderDefaultSectionSize">
</property> <number>120</number>
<property name="toolTip"> </attribute>
<string>Details</string> <attribute name="horizontalHeaderMinimumSectionSize">
</property> <number>70</number>
<property name="title"> </attribute>
<string>Details</string> <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
</property> <bool>false</bool>
<layout class="QFormLayout" name="formLayout"> </attribute>
<item row="0" column="1"> <attribute name="horizontalHeaderStretchLastSection">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <bool>true</bool>
<property name="spacing"> </attribute>
<number>6</number> <attribute name="verticalHeaderVisible">
</property> <bool>false</bool>
<item> </attribute>
<spacer name="horizontalSpacer"> <attribute name="verticalHeaderCascadingSectionResizes">
<property name="orientation"> <bool>false</bool>
<enum>Qt::Horizontal</enum> </attribute>
</property> <attribute name="verticalHeaderDefaultSectionSize">
<property name="sizeHint" stdset="0"> <number>25</number>
<size> </attribute>
<width>5000</width> <attribute name="verticalHeaderMinimumSectionSize">
<height>20</height> <number>8</number>
</size> </attribute>
</property> <attribute name="verticalHeaderStretchLastSection">
</spacer> <bool>false</bool>
</item> </attribute>
<item alignment="Qt::AlignRight"> <column>
<widget class="QToolButton" name="toolButtonAdd"> <property name="text">
<property name="sizePolicy"> <string>Name</string>
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> </property>
<horstretch>0</horstretch> </column>
<verstretch>0</verstretch> <column>
</sizepolicy> <property name="text">
</property> <string>The calculated value</string>
<property name="text"> </property>
<string notr="true">...</string> </column>
</property> <column>
<property name="icon"> <property name="text">
<iconset theme="list-add"> <string>Formula</string>
<normaloff>.</normaloff>.</iconset> </property>
</property> </column>
</widget> </widget>
</item> <widget class="QGroupBox" name="groupBoxDetails">
<item alignment="Qt::AlignLeft"> <property name="sizePolicy">
<widget class="QToolButton" name="toolButtonRemove"> <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<property name="enabled"> <horstretch>0</horstretch>
<bool>false</bool> <verstretch>4</verstretch>
</property> </sizepolicy>
<property name="text"> </property>
<string notr="true">...</string> <property name="toolTip">
</property> <string>Details</string>
<property name="icon"> </property>
<iconset theme="list-remove"> <property name="title">
<normaloff>.</normaloff>.</iconset> <string>Details</string>
</property> </property>
</widget> <layout class="QFormLayout" name="formLayout">
</item> <item row="0" column="1">
</layout> <layout class="QHBoxLayout" name="horizontalLayout_3">
</item> <property name="spacing">
<item row="2" column="0"> <number>6</number>
<widget class="QLabel" name="label"> </property>
<property name="text"> <item>
<string>Name:</string> <spacer name="horizontalSpacer">
</property> <property name="orientation">
</widget> <enum>Qt::Horizontal</enum>
</item> </property>
<item row="2" column="1"> <property name="sizeHint" stdset="0">
<widget class="QLineEdit" name="lineEditName"> <size>
<property name="enabled"> <width>5000</width>
<bool>false</bool> <height>20</height>
</property> </size>
</widget> </property>
</item> </spacer>
<item row="4" column="0"> </item>
<widget class="QLabel" name="labelCalculated"> <item alignment="Qt::AlignRight">
<property name="text"> <widget class="QToolButton" name="toolButtonAdd">
<string>Calculated value:</string> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
</widget> <horstretch>0</horstretch>
</item> <verstretch>0</verstretch>
<item row="4" column="1"> </sizepolicy>
<widget class="QLabel" name="labelCalculatedValue"> </property>
<property name="text"> <property name="text">
<string notr="true"/> <string notr="true">...</string>
</property> </property>
</widget> <property name="icon">
</item> <iconset theme="list-add">
<item row="5" column="0"> <normaloff>.</normaloff>.</iconset>
<widget class="QLabel" name="labelFormula"> </property>
<property name="text"> </widget>
<string>Formula:</string> </item>
</property> <item alignment="Qt::AlignLeft">
</widget> <widget class="QToolButton" name="toolButtonRemove">
</item> <property name="enabled">
<item row="5" column="1"> <bool>false</bool>
<layout class="QHBoxLayout" name="horizontalLayoutValue"> </property>
<item> <property name="text">
<widget class="VPlainTextEdit" name="plainTextEditFormula"> <string notr="true">...</string>
<property name="enabled"> </property>
<bool>false</bool> <property name="icon">
</property> <iconset theme="list-remove">
<property name="sizePolicy"> <normaloff>.</normaloff>.</iconset>
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> </property>
<horstretch>0</horstretch> </widget>
<verstretch>0</verstretch> </item>
</sizepolicy> </layout>
</property> </item>
<property name="maximumSize"> <item row="2" column="0">
<size> <widget class="QLabel" name="label">
<width>16777215</width> <property name="text">
<height>28</height> <string>Name:</string>
</size> </property>
</property> </widget>
<property name="toolTip"> </item>
<string>Calculation</string> <item row="2" column="1">
</property> <widget class="QLineEdit" name="lineEditName">
<property name="tabChangesFocus"> <property name="enabled">
<bool>true</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="4" column="0">
<widget class="QPushButton" name="pushButtonGrow"> <widget class="QLabel" name="labelCalculated">
<property name="enabled"> <property name="text">
<bool>false</bool> <string>Calculated value:</string>
</property> </property>
<property name="maximumSize"> </widget>
<size> </item>
<width>18</width> <item row="4" column="1">
<height>18</height> <widget class="QLabel" name="labelCalculatedValue">
</size> <property name="text">
</property> <string notr="true"/>
<property name="sizeIncrement"> </property>
<size> </widget>
<width>0</width> </item>
<height>0</height> <item row="5" column="0">
</size> <widget class="QLabel" name="labelFormula">
</property> <property name="text">
<property name="focusPolicy"> <string>Formula:</string>
<enum>Qt::StrongFocus</enum> </property>
</property> </widget>
<property name="toolTip"> </item>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <item row="5" column="1">
</property> <layout class="QHBoxLayout" name="horizontalLayoutValue">
<property name="text"> <item>
<string notr="true"/> <widget class="VPlainTextEdit" name="plainTextEditFormula">
</property> <property name="enabled">
<property name="icon"> <bool>false</bool>
<iconset theme="go-down"> </property>
<normaloff>../../../libs/vtools/dialogs/support</normaloff>../../../libs/vtools/dialogs/support</iconset> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<property name="iconSize"> <horstretch>0</horstretch>
<size> <verstretch>0</verstretch>
<width>16</width> </sizepolicy>
<height>16</height> </property>
</size> <property name="maximumSize">
</property> <size>
<property name="autoDefault"> <width>16777215</width>
<bool>false</bool> <height>28</height>
</property> </size>
<property name="flat"> </property>
<bool>true</bool> <property name="toolTip">
</property> <string>Calculation</string>
</widget> </property>
</item> <property name="tabChangesFocus">
<item> <bool>true</bool>
<widget class="QToolButton" name="toolButtonExpr"> </property>
<property name="enabled"> </widget>
<bool>false</bool> </item>
</property> <item>
<property name="minimumSize"> <widget class="QPushButton" name="pushButtonGrow">
<size> <property name="enabled">
<width>24</width> <bool>false</bool>
<height>24</height> </property>
</size> <property name="maximumSize">
</property> <size>
<property name="toolTip"> <width>18</width>
<string>Formula wizard</string> <height>18</height>
</property> </size>
<property name="text"> </property>
<string notr="true">...</string> <property name="sizeIncrement">
</property> <size>
<property name="icon"> <width>0</width>
<iconset resource="../../../libs/vmisc/share/resources/icon.qrc"> <height>0</height>
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset> </size>
</property> </property>
<property name="iconSize"> <property name="focusPolicy">
<size> <enum>Qt::StrongFocus</enum>
<width>24</width> </property>
<height>24</height> <property name="toolTip">
</size> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> <property name="text">
</item> <string notr="true"/>
</layout> </property>
</item> <property name="icon">
<item row="7" column="0"> <iconset theme="go-down">
<widget class="QLabel" name="label_7"> <normaloff>../../../libs/vtools/dialogs/support</normaloff>../../../libs/vtools/dialogs/support</iconset>
<property name="text"> </property>
<string>Description:</string> <property name="iconSize">
</property> <size>
</widget> <width>16</width>
</item> <height>16</height>
<item row="7" column="1"> </size>
<widget class="VPlainTextEdit" name="plainTextEditDescription"> </property>
<property name="enabled"> <property name="autoDefault">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="flat">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <bool>true</bool>
<horstretch>0</horstretch> </property>
<verstretch>1</verstretch> </widget>
</sizepolicy> </item>
</property> <item>
</widget> <widget class="QToolButton" name="toolButtonExpr">
</item> <property name="enabled">
<item row="0" column="0"> <bool>false</bool>
<layout class="QHBoxLayout" name="horizontalLayout"> </property>
<item alignment="Qt::AlignLeft"> <property name="minimumSize">
<widget class="QToolButton" name="toolButtonUp"> <size>
<property name="enabled"> <width>24</width>
<bool>false</bool> <height>24</height>
</property> </size>
<property name="toolTip"> </property>
<string>Move measurement up</string> <property name="toolTip">
</property> <string>Formula wizard</string>
<property name="text"> </property>
<string notr="true">...</string> <property name="text">
</property> <string notr="true">...</string>
<property name="icon"> </property>
<iconset theme="go-up"> <property name="icon">
<normaloff>../../tape</normaloff>../../tape</iconset> <iconset resource="../../../libs/vmisc/share/resources/icon.qrc">
</property> <normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
</widget> </property>
</item> <property name="iconSize">
<item alignment="Qt::AlignLeft"> <size>
<widget class="QToolButton" name="toolButtonDown"> <width>24</width>
<property name="enabled"> <height>24</height>
<bool>false</bool> </size>
</property> </property>
<property name="toolTip"> </widget>
<string>Move measurement down</string> </item>
</property> </layout>
<property name="text"> </item>
<string notr="true">...</string> <item row="7" column="0">
</property> <widget class="QLabel" name="label_7">
<property name="icon"> <property name="text">
<iconset theme="go-down"> <string>Description:</string>
<normaloff>../../tape</normaloff>../../tape</iconset> </property>
</property> </widget>
</widget> </item>
</item> <item row="7" column="1">
<item> <widget class="VPlainTextEdit" name="plainTextEditDescription">
<spacer name="horizontalSpacer_2"> <property name="enabled">
<property name="orientation"> <bool>false</bool>
<enum>Qt::Horizontal</enum> </property>
</property> <property name="sizePolicy">
<property name="sizeHint" stdset="0"> <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
<size> <horstretch>0</horstretch>
<width>5000</width> <verstretch>1</verstretch>
<height>20</height> </sizepolicy>
</size> </property>
</property> <property name="minimumSize">
</spacer> <size>
</item> <width>0</width>
</layout> <height>28</height>
</item> </size>
</layout> </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>
</widget> </widget>
</item> </item>
<item> <item>
@ -440,8 +443,8 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../../../libs/vmisc/share/resources/theme.qrc"/>
<include location="../../../libs/vmisc/share/resources/icon.qrc"/> <include location="../../../libs/vmisc/share/resources/icon.qrc"/>
<include location="../../../libs/vmisc/share/resources/theme.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -39,7 +39,7 @@
<enum>QTabWidget::North</enum> <enum>QTabWidget::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="tabIncrements"> <widget class="QWidget" name="tabIncrements">
<attribute name="title"> <attribute name="title">
@ -425,14 +425,14 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>1</verstretch> <verstretch>1</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize"> <property name="minimumSize">
<size> <size>
<width>16777215</width> <width>0</width>
<height>28</height> <height>28</height>
</size> </size>
</property> </property>
@ -520,380 +520,383 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="tableWidgetPC"> <widget class="QSplitter" name="splitter_2">
<property name="sizePolicy"> <property name="orientation">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <enum>Qt::Vertical</enum>
<horstretch>0</horstretch>
<verstretch>8</verstretch>
</sizepolicy>
</property> </property>
<property name="minimumSize"> <widget class="QTableWidget" name="tableWidgetPC">
<size> <property name="sizePolicy">
<width>0</width> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<height>150</height> <horstretch>0</horstretch>
</size> <verstretch>8</verstretch>
</property> </sizepolicy>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<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> </property>
</column> <property name="minimumSize">
<column> <size>
<property name="text"> <width>0</width>
<string>The calculated value</string> <height>150</height>
</size>
</property> </property>
</column> <property name="alternatingRowColors">
<column> <bool>true</bool>
<property name="text">
<string>Formula</string>
</property> </property>
</column> <property name="selectionMode">
</widget> <enum>QAbstractItemView::SingleSelection</enum>
</item> </property>
<item> <property name="selectionBehavior">
<widget class="QGroupBox" name="groupBoxDetails_2"> <enum>QAbstractItemView::SelectRows</enum>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <property name="sortingEnabled">
<horstretch>0</horstretch> <bool>false</bool>
<verstretch>4</verstretch> </property>
</sizepolicy> <property name="wordWrap">
</property> <bool>true</bool>
<property name="toolTip"> </property>
<string>Details</string> <attribute name="horizontalHeaderCascadingSectionResizes">
</property> <bool>false</bool>
<property name="title"> </attribute>
<string>Details</string> <attribute name="horizontalHeaderDefaultSectionSize">
</property> <number>120</number>
<layout class="QFormLayout" name="formLayout_2"> </attribute>
<item row="0" column="0"> <attribute name="horizontalHeaderMinimumSectionSize">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <number>70</number>
<item alignment="Qt::AlignLeft"> </attribute>
<widget class="QToolButton" name="toolButtonUpPC"> <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<property name="enabled"> <bool>false</bool>
<bool>false</bool> </attribute>
</property> <attribute name="horizontalHeaderStretchLastSection">
<property name="toolTip"> <bool>true</bool>
<string>Move measurement up</string> </attribute>
</property> <attribute name="verticalHeaderVisible">
<property name="text"> <bool>false</bool>
<string notr="true">...</string> </attribute>
</property> <attribute name="verticalHeaderCascadingSectionResizes">
<property name="icon"> <bool>false</bool>
<iconset theme="go-up"> </attribute>
<normaloff>../../tape</normaloff>../../tape</iconset> <attribute name="verticalHeaderDefaultSectionSize">
</property> <number>25</number>
</widget> </attribute>
</item> <attribute name="verticalHeaderMinimumSectionSize">
<item alignment="Qt::AlignLeft"> <number>8</number>
<widget class="QToolButton" name="toolButtonDownPC"> </attribute>
<property name="enabled"> <attribute name="verticalHeaderStretchLastSection">
<bool>false</bool> <bool>false</bool>
</property> </attribute>
<property name="toolTip"> <column>
<string>Move measurement down</string> <property name="text">
</property> <string>Name</string>
<property name="text"> </property>
<string notr="true">...</string> </column>
</property> <column>
<property name="icon"> <property name="text">
<iconset theme="go-down"> <string>The calculated value</string>
<normaloff>../../tape</normaloff>../../tape</iconset> </property>
</property> </column>
</widget> <column>
</item> <property name="text">
<item> <string>Formula</string>
<spacer name="horizontalSpacer_4"> </property>
<property name="orientation"> </column>
<enum>Qt::Horizontal</enum> </widget>
</property> <widget class="QGroupBox" name="groupBoxDetails_2">
<property name="sizeHint" stdset="0"> <property name="sizePolicy">
<size> <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<width>5000</width> <horstretch>0</horstretch>
<height>20</height> <verstretch>4</verstretch>
</size> </sizepolicy>
</property> </property>
</spacer> <property name="toolTip">
</item> <string>Details</string>
</layout> </property>
</item> <property name="title">
<item row="0" column="1"> <string>Details</string>
<layout class="QHBoxLayout" name="horizontalLayout_6"> </property>
<property name="spacing"> <layout class="QFormLayout" name="formLayout_2">
<number>6</number> <item row="0" column="0">
</property> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item alignment="Qt::AlignLeft">
<spacer name="horizontalSpacer_5"> <widget class="QToolButton" name="toolButtonUpPC">
<property name="orientation"> <property name="enabled">
<enum>Qt::Horizontal</enum> <bool>false</bool>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="toolTip">
<size> <string>Move measurement up</string>
<width>5000</width> </property>
<height>20</height> <property name="text">
</size> <string notr="true">...</string>
</property> </property>
</spacer> <property name="icon">
</item> <iconset theme="go-up">
<item alignment="Qt::AlignRight"> <normaloff>../../tape</normaloff>../../tape</iconset>
<widget class="QToolButton" name="toolButtonAddPC"> </property>
<property name="sizePolicy"> </widget>
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> </item>
<horstretch>0</horstretch> <item alignment="Qt::AlignLeft">
<verstretch>0</verstretch> <widget class="QToolButton" name="toolButtonDownPC">
</sizepolicy> <property name="enabled">
</property> <bool>false</bool>
<property name="text"> </property>
<string notr="true">...</string> <property name="toolTip">
</property> <string>Move measurement down</string>
<property name="icon"> </property>
<iconset theme="list-add"> <property name="text">
<normaloff>.</normaloff>.</iconset> <string notr="true">...</string>
</property> </property>
</widget> <property name="icon">
</item> <iconset theme="go-down">
<item alignment="Qt::AlignLeft"> <normaloff>../../tape</normaloff>../../tape</iconset>
<widget class="QToolButton" name="toolButtonRemovePC"> </property>
<property name="enabled"> </widget>
<bool>false</bool> </item>
</property> <item>
<property name="text"> <spacer name="horizontalSpacer_4">
<string notr="true">...</string> <property name="orientation">
</property> <enum>Qt::Horizontal</enum>
<property name="icon"> </property>
<iconset theme="list-remove"> <property name="sizeHint" stdset="0">
<normaloff>.</normaloff>.</iconset> <size>
</property> <width>5000</width>
</widget> <height>20</height>
</item> </size>
</layout> </property>
</item> </spacer>
<item row="2" column="0"> </item>
<widget class="QLabel" name="label_2"> </layout>
<property name="text"> </item>
<string>Name:</string> <item row="0" column="1">
</property> <layout class="QHBoxLayout" name="horizontalLayout_6">
</widget> <property name="spacing">
</item> <number>6</number>
<item row="2" column="1"> </property>
<widget class="QLineEdit" name="lineEditNamePC"> <item>
<property name="enabled"> <spacer name="horizontalSpacer_5">
<bool>false</bool> <property name="orientation">
</property> <enum>Qt::Horizontal</enum>
<property name="placeholderText"> </property>
<string>Unique variable name</string> <property name="sizeHint" stdset="0">
</property> <size>
</widget> <width>5000</width>
</item> <height>20</height>
<item row="4" column="0"> </size>
<widget class="QLabel" name="labelCalculated_2"> </property>
<property name="text"> </spacer>
<string>Calculated value:</string> </item>
</property> <item alignment="Qt::AlignRight">
</widget> <widget class="QToolButton" name="toolButtonAddPC">
</item> <property name="sizePolicy">
<item row="4" column="1"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<widget class="QLabel" name="labelCalculatedValuePC"> <horstretch>0</horstretch>
<property name="text"> <verstretch>0</verstretch>
<string notr="true"/> </sizepolicy>
</property> </property>
</widget> <property name="text">
</item> <string notr="true">...</string>
<item row="5" column="0"> </property>
<widget class="QLabel" name="labelFormula_2"> <property name="icon">
<property name="text"> <iconset theme="list-add">
<string>Formula:</string> <normaloff>.</normaloff>.</iconset>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item alignment="Qt::AlignLeft">
<layout class="QHBoxLayout" name="horizontalLayoutValue_2"> <widget class="QToolButton" name="toolButtonRemovePC">
<item> <property name="enabled">
<widget class="VPlainTextEdit" name="plainTextEditFormulaPC"> <bool>false</bool>
<property name="enabled"> </property>
<bool>false</bool> <property name="text">
</property> <string notr="true">...</string>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <property name="icon">
<horstretch>0</horstretch> <iconset theme="list-remove">
<verstretch>0</verstretch> <normaloff>.</normaloff>.</iconset>
</sizepolicy> </property>
</property> </widget>
<property name="maximumSize"> </item>
<size> </layout>
<width>16777215</width> </item>
<height>28</height> <item row="2" column="0">
</size> <widget class="QLabel" name="label_2">
</property> <property name="text">
<property name="toolTip"> <string>Name:</string>
<string>Calculation</string> </property>
</property> </widget>
<property name="tabChangesFocus"> </item>
<bool>true</bool> <item row="2" column="1">
</property> <widget class="QLineEdit" name="lineEditNamePC">
</widget> <property name="enabled">
</item> <bool>false</bool>
<item> </property>
<widget class="QPushButton" name="pushButtonGrowPC"> <property name="placeholderText">
<property name="enabled"> <string>Unique variable name</string>
<bool>false</bool> </property>
</property> </widget>
<property name="sizeIncrement"> </item>
<size> <item row="4" column="0">
<width>0</width> <widget class="QLabel" name="labelCalculated_2">
<height>0</height> <property name="text">
</size> <string>Calculated value:</string>
</property> </property>
<property name="focusPolicy"> </widget>
<enum>Qt::StrongFocus</enum> </item>
</property> <item row="4" column="1">
<property name="toolTip"> <widget class="QLabel" name="labelCalculatedValuePC">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <property name="text">
</property> <string notr="true"/>
<property name="text"> </property>
<string notr="true"/> </widget>
</property> </item>
<property name="icon"> <item row="5" column="0">
<iconset theme="go-down"> <widget class="QLabel" name="labelFormula_2">
<normaloff>../../../libs/vtools/dialogs/support</normaloff>../../../libs/vtools/dialogs/support</iconset> <property name="text">
</property> <string>Formula:</string>
<property name="iconSize"> </property>
<size> </widget>
<width>16</width> </item>
<height>16</height> <item row="5" column="1">
</size> <layout class="QHBoxLayout" name="horizontalLayoutValue_2">
</property> <item>
<property name="autoDefault"> <widget class="VPlainTextEdit" name="plainTextEditFormulaPC">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="flat"> </property>
<bool>true</bool> <property name="sizePolicy">
</property> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
</widget> <horstretch>0</horstretch>
</item> <verstretch>0</verstretch>
<item> </sizepolicy>
<widget class="QToolButton" name="toolButtonExprPC"> </property>
<property name="enabled"> <property name="maximumSize">
<bool>false</bool> <size>
</property> <width>16777215</width>
<property name="toolTip"> <height>28</height>
<string>Formula wizard</string> </size>
</property> </property>
<property name="text"> <property name="toolTip">
<string notr="true">...</string> <string>Calculation</string>
</property> </property>
<property name="icon"> <property name="tabChangesFocus">
<iconset resource="../../../libs/vmisc/share/resources/icon.qrc"> <bool>true</bool>
<normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset> </property>
</property> </widget>
<property name="iconSize"> </item>
<size> <item>
<width>24</width> <widget class="QPushButton" name="pushButtonGrowPC">
<height>24</height> <property name="enabled">
</size> <bool>false</bool>
</property> </property>
</widget> <property name="sizeIncrement">
</item> <size>
</layout> <width>0</width>
</item> <height>0</height>
<item row="7" column="0"> </size>
<widget class="QLabel" name="label_8"> </property>
<property name="text"> <property name="focusPolicy">
<string>Description:</string> <enum>Qt::StrongFocus</enum>
</property> </property>
</widget> <property name="toolTip">
</item> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Show full calculation in message box&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<item row="7" column="1"> </property>
<widget class="VPlainTextEdit" name="plainTextEditDescriptionPC"> <property name="text">
<property name="enabled"> <string notr="true"/>
<bool>false</bool> </property>
</property> <property name="icon">
<property name="sizePolicy"> <iconset theme="go-down">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <normaloff>../../../libs/vtools/dialogs/support</normaloff>../../../libs/vtools/dialogs/support</iconset>
<horstretch>0</horstretch> </property>
<verstretch>1</verstretch> <property name="iconSize">
</sizepolicy> <size>
</property> <width>16</width>
<property name="maximumSize"> <height>16</height>
<size> </size>
<width>16777215</width> </property>
<height>28</height> <property name="autoDefault">
</size> <bool>false</bool>
</property> </property>
</widget> <property name="flat">
</item> <bool>true</bool>
<item row="10" column="1"> </property>
<layout class="QHBoxLayout" name="horizontalLayout_7"> </widget>
<item> </item>
<spacer name="horizontalSpacer_6"> <item>
<property name="orientation"> <widget class="QToolButton" name="toolButtonExprPC">
<enum>Qt::Horizontal</enum> <property name="enabled">
</property> <bool>false</bool>
<property name="sizeHint" stdset="0"> </property>
<size> <property name="toolTip">
<width>40</width> <string>Formula wizard</string>
<height>20</height> </property>
</size> <property name="text">
</property> <string notr="true">...</string>
</spacer> </property>
</item> <property name="icon">
<item> <iconset resource="../../../libs/vmisc/share/resources/icon.qrc">
<widget class="QPushButton" name="pushButtonRefreshPC"> <normaloff>:/icon/24x24/fx.png</normaloff>:/icon/24x24/fx.png</iconset>
<property name="toolTip"> </property>
<string>Refresh a pattern with all changes you made</string> <property name="iconSize">
</property> <size>
<property name="text"> <width>24</width>
<string>Refresh</string> <height>24</height>
</property> </size>
</widget> </property>
</item> </widget>
</layout> </item>
</item> </layout>
</layout> </item>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Description:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="VPlainTextEdit" name="plainTextEditDescriptionPC">
<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="10" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<spacer name="horizontalSpacer_6">
<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>
<widget class="QPushButton" name="pushButtonRefreshPC">
<property name="toolTip">
<string>Refresh a pattern with all changes you made</string>
</property>
<property name="text">
<string>Refresh</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -1151,8 +1154,8 @@
<tabstop>tableWidgetSplines</tabstop> <tabstop>tableWidgetSplines</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../../../libs/vmisc/share/resources/theme.qrc"/>
<include location="../../../libs/vmisc/share/resources/icon.qrc"/> <include location="../../../libs/vmisc/share/resources/icon.qrc"/>
<include location="../../../libs/vmisc/share/resources/theme.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>