X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLinkPanel.h;h=c73cde4966b59045c64d9a4fcfbd3327d3374ba4;hb=83eb68efc39ad8fcb5e4e684afafcfc86b829c96;hp=857a7315f88126ab64c3d22f430783070da73b12;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/vv/vvLinkPanel.h b/vv/vvLinkPanel.h index 857a731..c73cde4 100644 --- a/vv/vvLinkPanel.h +++ b/vv/vvLinkPanel.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef _vvLinkPanel_H #define _vvLinkPanel_H #include @@ -34,7 +34,9 @@ public: ~vvLinkPanel() {} void addImage(std::string name, std::string id); + void addLinkFromIds(QString id1, QString id2); void removeImage(int i); + bool isLinkAll(); public slots : void UpdateComboBox2(int i); @@ -43,7 +45,7 @@ public slots : void linkAll(); signals: - void addLink(QString image1,QString image2); + void addLink(QString image1,QString image2,bool); void removeLink(QString image1,QString image2); private: @@ -52,6 +54,8 @@ private: std::vector imageNames; std::vector image1Ids; std::vector image2Ids; + + bool mLinkAll; }; // end class vvLinkPanel //====================================================================