From f4d2485563deff24dea421ae7e2cb4f16b2f9634 Mon Sep 17 00:00:00 2001 From: abhishekm71 Date: Thu, 6 Feb 2014 16:03:22 +0000 Subject: [PATCH] List of Drawings: Date format changed to dd/mm/yyyy git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2813 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramfoliolist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/diagramfoliolist.cpp b/sources/diagramfoliolist.cpp index 0df191c5a..fdbe2c9d7 100644 --- a/sources/diagramfoliolist.cpp +++ b/sources/diagramfoliolist.cpp @@ -31,12 +31,12 @@ void DiagramFolioList::drawBackground(QPainter *p, const QRectF &r) rowHeight = (rowHeight > height*0.05) ? height*0.05 : rowHeight; QRectF row_RectF(x0 + width*.1, y0 + height*.05, width*0.8, rowHeight); - fillRow(p, row_RectF, "Author", "Title", "Folio", "Date"); + fillRow(p, row_RectF, "Auteur", "Titre", "Folio", "Date"); foreach (Diagram *diagram, diagram_list) { y0 += rowHeight; QRectF row_rect(x0 + width*.1, y0 + height*.05, width*0.8, rowHeight); fillRow(p, row_rect, diagram -> border_and_titleblock.author(), diagram -> border_and_titleblock.title(), - diagram -> border_and_titleblock.folio(), diagram -> border_and_titleblock.date().toString()); + diagram -> border_and_titleblock.folio(), diagram -> border_and_titleblock.date().toString("dd/MM/yyyy")); } p -> setPen(Qt::NoPen); border_and_titleblock.draw(p, margin, margin);