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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user