0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +03:00

Band relocation algorithm has been changed

This commit is contained in:
Arin Alexander
2018-07-24 23:11:21 +03:00
parent a008dd635c
commit d1dec36609
5 changed files with 95 additions and 12 deletions

View File

@@ -445,6 +445,17 @@ namespace LimeReport {
QString bandToSwapName;
};
class BandMoveFromToCommand : public AbstractPageCommand{
public:
static CommandIf::Ptr create(PageDesignIntf* page, int from, int to);
bool doIt();
void undoIt();
private:
int from;
int to;
};
class SizeChangedCommand : public AbstractPageCommand{
public:
static CommandIf::Ptr create(PageDesignIntf* page, QVector<ReportItemSize>& oldSize, QVector<ReportItemSize>& newSize);