Promote QLineEdit to VLineEdit.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-21 15:41:42 +03:00
parent be548269f6
commit 3d9e4e7555
2 changed files with 25 additions and 11 deletions

View File

@ -1251,7 +1251,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLineEdit" name="lineEditPatternName"> <widget class="VLineEdit" name="lineEditPatternName">
<property name="maxLength"> <property name="maxLength">
<number>30</number> <number>30</number>
</property> </property>
@ -1265,7 +1265,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLineEdit" name="lineEditPatternNumber"> <widget class="VLineEdit" name="lineEditPatternNumber">
<property name="maxLength"> <property name="maxLength">
<number>30</number> <number>30</number>
</property> </property>
@ -1279,7 +1279,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLineEdit" name="lineEditCompanyName"> <widget class="VLineEdit" name="lineEditCompanyName">
<property name="maxLength"> <property name="maxLength">
<number>30</number> <number>30</number>
</property> </property>
@ -1293,7 +1293,7 @@
</widget> </widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QLineEdit" name="lineEditCustomerName"> <widget class="VLineEdit" name="lineEditCustomerName">
<property name="maxLength"> <property name="maxLength">
<number>30</number> <number>30</number>
</property> </property>
@ -1338,6 +1338,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>VLineEdit</class>
<extends>QLineEdit</extends>
<header>vlineedit.h</header>
</customwidget>
</customwidgets>
<resources> <resources>
<include location="../../../libs/vmisc/share/resources/icon.qrc"/> <include location="../../../libs/vmisc/share/resources/icon.qrc"/>
</resources> </resources>

View File

@ -94,7 +94,7 @@
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLineEdit" name="lineEditLetter"> <widget class="VLineEdit" name="lineEditLetter">
<property name="maxLength"> <property name="maxLength">
<number>3</number> <number>3</number>
</property> </property>
@ -111,7 +111,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLineEdit" name="lineEditName"> <widget class="VLineEdit" name="lineEditName">
<property name="text"> <property name="text">
<string>Detail</string> <string>Detail</string>
</property> </property>
@ -165,7 +165,7 @@
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="5" column="1">
<widget class="QLineEdit" name="lineEditAnnotation"> <widget class="VLineEdit" name="lineEditAnnotation">
<property name="placeholderText"> <property name="placeholderText">
<string>A text field to add comments in</string> <string>A text field to add comments in</string>
</property> </property>
@ -179,7 +179,7 @@
</widget> </widget>
</item> </item>
<item row="6" column="1"> <item row="6" column="1">
<widget class="QLineEdit" name="lineEditOrientation"> <widget class="VLineEdit" name="lineEditOrientation">
<property name="placeholderText"> <property name="placeholderText">
<string notr="true">&quot;Left&quot;/&quot;Right&quot;/&quot;Undefined&quot;</string> <string notr="true">&quot;Left&quot;/&quot;Right&quot;/&quot;Undefined&quot;</string>
</property> </property>
@ -193,7 +193,7 @@
</widget> </widget>
</item> </item>
<item row="7" column="1"> <item row="7" column="1">
<widget class="QLineEdit" name="lineEditRotation"> <widget class="VLineEdit" name="lineEditRotation">
<property name="placeholderText"> <property name="placeholderText">
<string notr="true">&quot;1-Way&quot;/&quot;2-Way&quot;/&quot;4-Way&quot;/&quot;Any&quot;</string> <string notr="true">&quot;1-Way&quot;/&quot;2-Way&quot;/&quot;4-Way&quot;/&quot;Any&quot;</string>
</property> </property>
@ -207,7 +207,7 @@
</widget> </widget>
</item> </item>
<item row="8" column="1"> <item row="8" column="1">
<widget class="QLineEdit" name="lineEditTilt"> <widget class="VLineEdit" name="lineEditTilt">
<property name="placeholderText"> <property name="placeholderText">
<string notr="true">&quot;CW X&quot;/&quot;CCW X&quot;</string> <string notr="true">&quot;CW X&quot;/&quot;CCW X&quot;</string>
</property> </property>
@ -221,7 +221,7 @@
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QLineEdit" name="lineEditFoldPosition"> <widget class="VLineEdit" name="lineEditFoldPosition">
<property name="placeholderText"> <property name="placeholderText">
<string notr="true">&quot;Up/Down&quot;/&quot;Left/Right&quot;</string> <string notr="true">&quot;Up/Down&quot;/&quot;Left/Right&quot;</string>
</property> </property>
@ -1682,6 +1682,13 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>
<customwidget>
<class>VLineEdit</class>
<extends>QLineEdit</extends>
<header>vlineedit.h</header>
</customwidget>
</customwidgets>
<resources> <resources>
<include location="../../../../../vmisc/share/resources/icon.qrc"/> <include location="../../../../../vmisc/share/resources/icon.qrc"/>
</resources> </resources>