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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user