Create UI tree items and insert in parent when opening new cases from file. Avoid building the complete tree using onProjectOpenedOrClosed()

p4#: 21357
This commit is contained in:
Magne Sjaastad
2013-04-22 11:54:41 +02:00
parent e1b778d17f
commit 8c28e8ff6c
3 changed files with 35 additions and 3 deletions

View File

@@ -61,6 +61,8 @@ public:
RimReservoirView* addReservoirView(const QModelIndex& itemIndex, QModelIndex& insertedModelIndex);
void addInputProperty(const QModelIndex& itemIndex, const QStringList& fileNames);
void addToParentAndBuildUiItems(caf::PdmUiTreeItem* parentTreeItem, int position, caf::PdmObject* pdmObject);
void addObjects(const QModelIndex& itemIndex, caf::PdmObjectGroup& pdmObjects);
void moveObjects(const QModelIndex& itemIndex, caf::PdmObjectGroup& pdmObjects);
@@ -84,7 +86,6 @@ private slots:
private:
void clearClipboard();
private:
QFileSystemWatcher* m_scriptChangeDetector;
};