X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvLinkPanel.h;h=c73cde4966b59045c64d9a4fcfbd3327d3374ba4;hb=0214afd767bbb5d3d0489c192a184c3bcfdf791f;hp=a2d79a5e8112e41395749824af3bc227573b5787;hpb=934a64f5b51382ad6bbc78d9c8734691e599cf09;p=clitk.git
diff --git a/vv/vvLinkPanel.h b/vv/vvLinkPanel.h
index a2d79a5..c73cde4 100644
--- a/vv/vvLinkPanel.h
+++ b/vv/vvLinkPanel.h
@@ -1,30 +1,22 @@
-#ifndef _vvLinkPanel_H
-#define _vvLinkPanel_H
-
/*=========================================================================
+ Program: vv http://www.creatis.insa-lyon.fr/rio/vv
- Program: vv
- Language: C++
- Author : Pierre Seroul (pierre.seroul@gmail.com)
-
-Copyright (C) 200COLUMN_IMAGE_NAME
-Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
-CREATIS-LRMN http://www.creatis.insa-lyon.fr
+ Authors belong to:
+ - University of LYON http://www.universite-lyon.fr/
+ - Léon Bérard cancer center http://www.centreleonberard.fr
+ - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, version 3 of the License.
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the copyright notices for more information.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-
-=========================================================================*/
+ It is distributed under dual licence
+ - 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
#include
@@ -42,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);
@@ -51,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:
@@ -60,6 +54,8 @@ private:
std::vector imageNames;
std::vector image1Ids;
std::vector image2Ids;
+
+ bool mLinkAll;
}; // end class vvLinkPanel
//====================================================================