[qet] [2813] List of Drawings: Date format changed to dd/mm/yyyy

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2813
Author:   abhishekm71
Date:     2014-02-06 17:03:22 +0100 (Thu, 06 Feb 2014)
Log Message:
-----------
List of Drawings: Date format changed to dd/mm/yyyy

Modified Paths:
--------------
    trunk/sources/diagramfoliolist.cpp

Modified: trunk/sources/diagramfoliolist.cpp
===================================================================
--- trunk/sources/diagramfoliolist.cpp	2014-02-06 15:19:27 UTC (rev 2812)
+++ trunk/sources/diagramfoliolist.cpp	2014-02-06 16:03:22 UTC (rev 2813)
@@ -31,12 +31,12 @@
 	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);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/