X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=769865e4cef6c44f500dcc1f459c3ad012a4316f;hb=706d7e2dc69e12b3823cfae2f3be3f903e4d3c80;hp=07f38e5f9f415613c68410f8eb35445a504203b8;hpb=7f257bb16342aa315291cef76f33d9fe727fc07b;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index 07f38e5..769865e 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -192,6 +192,7 @@ public slots: void UpdateRenderWindows(); void UpdateMemoryUsage(); void show(); + void SlotFileChanged(const QString& pathname); protected: @@ -230,6 +231,7 @@ private: QString GetSizeInBytes(unsigned long size); QString GetVectorDoubleAsString(std::vector vectorDouble); QString GetVectorIntAsString(std::vector vectorInt); + std::vector GetItemFromPathname(const QString& pathname); int GetSlicerIndexFromItem(QTreeWidgetItem* item); //this actually returns the SlicerManager index TODO: rename it to GetSlicerManagerIndexFromItem QTreeWidgetItem* GetItemFromSlicerManager(vvSlicerManager* sm); #if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9