0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Abstract layout has been changed

This commit is contained in:
Arin Alexander 2019-02-04 19:40:29 +03:00
parent 72fb6692c6
commit 3cfd3c968f
2 changed files with 3 additions and 3 deletions

View File

@ -351,7 +351,7 @@ void AbstractLayout::setHideEmptyItems(bool hideEmptyItems)
}
}
BaseDesignIntf *AbstractLayout::at(int index)
QObject* AbstractLayout::at(int index)
{
rebuildChildrenIfNeeded();
if (layoutsChildren().size() > index) return layoutsChildren()[index];

View File

@ -29,9 +29,9 @@ public:
bool hideEmptyItems() const;
void setHideEmptyItems(bool hideEmptyItems);
BaseDesignIntf* at(int index);
protected:
Q_INVOKABLE QObject* at(int index);
int childrenCount();
protected:
void beforeDelete();
void childAddedEvent(BaseDesignIntf *child);
void geometryChangedEvent(QRectF newRect, QRectF);