use calender widgets for both dates

This commit is contained in:
Michael Mandl 2018-08-11 15:47:21 +02:00
parent b69a748f94
commit 6010bf6b59

View file

@ -51,7 +51,14 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QDateEdit" name="dateOfBirthDateEdit"/> <widget class="QDateEdit" name="dateOfBirthDateEdit">
<property name="displayFormat">
<string>dd.MM.yyyy</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="dateOfTestLabel"> <widget class="QLabel" name="dateOfTestLabel">
@ -63,7 +70,7 @@
<item> <item>
<widget class="QDateEdit" name="dateOfTestDateEdit"> <widget class="QDateEdit" name="dateOfTestDateEdit">
<property name="displayFormat"> <property name="displayFormat">
<string>M/d/yyyy</string> <string>dd.MM.yyyy</string>
</property> </property>
<property name="calendarPopup"> <property name="calendarPopup">
<bool>true</bool> <bool>true</bool>