The title block template editor now displays a tooltip with the edited template's minimum and maximum widths.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1540 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-28 18:54:34 +00:00
parent ef2958eab1
commit fac0fea239
4 changed files with 114 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ class TitleBlockTemplateView : public QGraphicsView {
void updateLayout();
void rowsDimensionsChanged();
void columnsDimensionsChanged();
void updateDisplayedMinMaxWidth();
void setReadOnly(bool);
protected slots:
@@ -105,6 +106,7 @@ class TitleBlockTemplateView : public QGraphicsView {
int indexOf(QGraphicsLayoutItem *);
void removeItem(QGraphicsLayoutItem *);
TitleBlockTemplateCellsSet makeCellsSetFromGraphicsItems(const QList<QGraphicsItem *> &) const;
QString makePrettyToolTip(const QString &);
private slots:
void updateLastContextMenuCell(HelperCell *);