QDateEdit Locale Fix

This commit is contained in:
Mark Watkins 2011-07-20 00:04:54 +10:00
parent b4c324ef98
commit 563734ae26
2 changed files with 11 additions and 8 deletions

View File

@ -6,6 +6,8 @@
#include <QCalendarWidget>
#include <QTextCharFormat>
#include <QSystemLocale>
#include <QDebug>
#include "overview.h"
#include "ui_overview.h"
#include "Graphs/graphdata_custom.h"
@ -22,7 +24,6 @@ Overview::Overview(QWidget *parent,QGLContext *context) :
{
ui->setupUi(this);
shared_context=context;
profile=Profiles::Get(pref["Profile"].toString());
AddData(ahidata=new HistoryData(profile));
AddData(pressure=new HistoryCodeData(profile,CPAP_PressureAverage));

View File

@ -10,6 +10,11 @@
<height>355</height>
</rect>
</property>
<property name="font">
<font>
<family>Sans Serif</family>
</font>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
@ -90,7 +95,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>276</height>
<height>282</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
@ -179,6 +184,9 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>4</number>
</property>
<item>
<widget class="QLabel" name="drStartLabel">
<property name="enabled">
@ -197,9 +205,6 @@
<property name="locale">
<locale language="C" country="AnyCountry"/>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>
@ -223,9 +228,6 @@
<property name="locale">
<locale language="C" country="AnyCountry"/>
</property>
<property name="displayFormat">
<string>dd/MM/yyyy</string>
</property>
<property name="calendarPopup">
<bool>true</bool>
</property>