mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 08:39:07 +03:00
Object browser has been fixed
Object browser has been fixed
This commit is contained in:
@@ -67,6 +67,8 @@ void ObjectBrowser::setReportEditor(ReportDesignWidget *report)
|
||||
this, SLOT(slotItemSelected(LimeReport::BaseDesignIntf*)));
|
||||
connect(m_report, SIGNAL(multiItemSelected()),
|
||||
this, SLOT(slotMultiItemSelected()) );
|
||||
connect(m_report, SIGNAL(activePageUpdated(LimeReport::PageDesignIntf*)),
|
||||
this, SLOT(slotActivePageUpdated(LimeReport::PageDesignIntf*)));
|
||||
connect(m_treeView, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
|
||||
this, SLOT(slotItemDoubleClicked(QTreeWidgetItem*,int)));
|
||||
|
||||
@@ -266,6 +268,11 @@ void ObjectBrowser::slotItemDoubleClicked(QTreeWidgetItem *item, int)
|
||||
}
|
||||
}
|
||||
|
||||
void ObjectBrowser::slotActivePageUpdated(LimeReport::PageDesignIntf *)
|
||||
{
|
||||
buildTree();
|
||||
}
|
||||
|
||||
void ObjectBrowserNode::setObject(QObject *value)
|
||||
{
|
||||
m_object = value;
|
||||
|
@@ -74,6 +74,7 @@ private slots:
|
||||
void slotItemSelected(LimeReport::BaseDesignIntf* item);
|
||||
void slotMultiItemSelected();
|
||||
void slotItemDoubleClicked(QTreeWidgetItem* item,int);
|
||||
void slotActivePageUpdated(LimeReport::PageDesignIntf*);
|
||||
private:
|
||||
ReportDesignWidget* m_report;
|
||||
QMainWindow* m_mainWindow;
|
||||
|
Reference in New Issue
Block a user