mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-20 06:30:03 +03:00
Bands relocation redo, undo fixed
This commit is contained in:
@@ -435,6 +435,16 @@ namespace LimeReport {
|
||||
QVector<ReportItemPos> m_newPos;
|
||||
};
|
||||
|
||||
class BandSwapCommand : public AbstractPageCommand{
|
||||
public:
|
||||
static CommandIf::Ptr create(PageDesignIntf* page, const QString& bandName, const QString& bandToSwapName);
|
||||
bool doIt();
|
||||
void undoIt();
|
||||
private:
|
||||
QString bandName;
|
||||
QString bandToSwapName;
|
||||
};
|
||||
|
||||
class SizeChangedCommand : public AbstractPageCommand{
|
||||
public:
|
||||
static CommandIf::Ptr create(PageDesignIntf* page, QVector<ReportItemSize>& oldSize, QVector<ReportItemSize>& newSize);
|
||||
|
||||
Reference in New Issue
Block a user