Added an "hadjust" XML attribute to title block cells, allowing too long texts to be reduced until they fit the cell.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1150 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2011-02-08 06:53:47 +00:00
parent 1cbbe67520
commit a3b1ac7b74
6 changed files with 282 additions and 125 deletions

View File

@@ -78,6 +78,7 @@ class TitleBlockTemplate : public QObject {
void initCells();
int lengthRange(int, int, const QList<int> &) const;
QString finalTextForCell(const TitleBlockCell &, const DiagramContext &) const;
void renderTextCell(QPainter &, const QString &, const TitleBlockCell &, const QRectF &) const;
// attributs
private: