mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
The title block template editor now supports pasting multiple cells.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1597 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -78,6 +78,7 @@ class TitleBlockTemplateCommand : public QUndoCommand {
|
||||
TitleBlockTemplateView *view() const;
|
||||
void setView(TitleBlockTemplateView *);
|
||||
void refreshView();
|
||||
void refreshLayout();
|
||||
|
||||
// attributes
|
||||
protected:
|
||||
@@ -300,6 +301,8 @@ class PasteTemplateCellsCommand : public TitleBlockTemplateCommand {
|
||||
|
||||
// attributes
|
||||
public:
|
||||
/// Spans before operation
|
||||
QHash<TitleBlockCell *, QPair<int, int> > spans_before_;
|
||||
/// Pasted cells
|
||||
QHash<TitleBlockCell *, TitleBlockCell> pasted_cells_;
|
||||
/// Existing cells impacted by the paste operation
|
||||
|
||||
Reference in New Issue
Block a user