Cut/Copy/Paste menu entries are now enabled/disabled according to the current state of editor, selection and clipboard.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1563 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-03-11 16:06:48 +00:00
parent 9bf900ca29
commit 8daa1bebce
3 changed files with 22 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class TitleBlockTemplateView : public QGraphicsView {
virtual QList<TitleBlockCell *> selectedCells() const;
virtual TitleBlockTemplateCellsSet selectedCellsSet() const;
virtual TitleBlockTemplateCellsSet cells(const QRectF &) const;
virtual void analyzeSelectedCells(bool *, bool *);
virtual void analyzeSelectedCells(bool *, bool *, int *);
virtual QSizeF templateSize() const;
virtual qreal templateWidth() const;
virtual qreal templateHeight() const;
@@ -60,6 +60,7 @@ class TitleBlockTemplateView : public QGraphicsView {
void zoomReset();
QList<TitleBlockCell *> cut();
QList<TitleBlockCell *> copy();
bool mayPaste();
void paste();
void addColumnBefore();
void addRowBefore();