Numeric datatypes auto aligned to right in AutoTableModel based grids.

Swithced QLineEdit to QDoubleSpinBox for better number formating in
commodityform.ui and accserviceform.ui. Fixed build order.
This commit is contained in:
2016-03-23 16:16:38 +01:00
parent 96685d2bed
commit 7ae8c53a16
4 changed files with 49 additions and 11 deletions
+19 -3
View File
@@ -72,9 +72,6 @@
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="price"/>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="count"/>
</item>
@@ -84,8 +81,27 @@
<item row="5" column="1">
<widget class="QComboBox" name="vat"/>
</item>
<item row="4" column="1">
<widget class="QDoubleSpinBox" name="price">
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="maximum">
<double>999999999.990000009536743</double>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>name</tabstop>
<tabstop>shortName</tabstop>
<tabstop>code</tabstop>
<tabstop>type</tabstop>
<tabstop>price</tabstop>
<tabstop>vat</tabstop>
<tabstop>count</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>