Title block template editor: now write the preview width to application settings.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1538 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-27 18:20:33 +00:00
parent 7a955b777f
commit f7d27f25a1
4 changed files with 35 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ class TitleBlockTemplateView : public QGraphicsView {
void splitSelectedCell();
void refresh();
void changePreviewWidth();
void setPreviewWidth(int);
void updateLayout();
void rowsDimensionsChanged();
void columnsDimensionsChanged();
@@ -93,11 +94,11 @@ class TitleBlockTemplateView : public QGraphicsView {
signals:
void selectedCellsChanged(QList<TitleBlockCell *>);
void gridModificationRequested(TitleBlockTemplateCommand *);
void previewWidthChanged(int, int);
private:
QList<QAction *> rowsActions() const;
QList<QAction *> columnsActions() const;
void setPreviewWidth(int);
void updateTotalWidthLabel();
void requestGridModification(TitleBlockTemplateCommand *);
int lastContextMenuCellIndex() const;