Folio List: New Diagram Folio list can be added if not already present.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2818 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
abhishekm71
2014-02-07 07:54:54 +00:00
parent 8bf916ca03
commit 52aeedfc0d
7 changed files with 36 additions and 3 deletions

View File

@@ -31,7 +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, "Auteur", "Titre", "Folio", "Date");
QString authorTranslatable = tr("Auteur");
QString titleTranslatable = tr("Titre");
QString folioTranslatable = tr("Folio");
QString dateTranslatable = tr("Date");
fillRow(p, row_RectF, authorTranslatable, titleTranslatable, folioTranslatable, dateTranslatable);
foreach (Diagram *diagram, diagram_list) {
y0 += rowHeight;
QRectF row_rect(x0 + width*.1, y0 + height*.05, width*0.8, rowHeight);