0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-01 19:51:30 +03:00

Prepared pages processing has been added

This commit is contained in:
Arin Alexander
2019-05-29 03:41:18 +03:00
parent 9a02dd891e
commit 6a36f26128
5 changed files with 205 additions and 39 deletions

View File

@@ -1306,7 +1306,9 @@ QObject *BaseDesignIntf::createElement(const QString& /*collectionName*/, const
try{
if (LimeReport::DesignElementsFactory::instance().objectCreator(elementType)){
obj = LimeReport::DesignElementsFactory::instance().objectCreator(elementType)(this, this);
connect(obj,SIGNAL(propertyChanged(QString,QVariant,QVariant)),page(),SLOT(slotItemPropertyChanged(QString,QVariant,QVariant)));
if (page())
connect(obj, SIGNAL(propertyChanged(QString,QVariant,QVariant)),
page(), SLOT(slotItemPropertyChanged(QString,QVariant,QVariant)));
}
} catch (ReportError error){
qDebug()<<error.what();