4 /*=========================================================================
7 Module: $RCSfile: vvLinkPanel.h,v $
9 Date: $Date: 2010/01/06 13:31:57 $
10 Version: $Revision: 1.1 $
11 Author : Pierre Seroul (pierre.seroul@gmail.com)
13 Copyright (C) 200COLUMN_IMAGE_NAME
14 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
15 CREATIS-LRMN http://www.creatis.insa-lyon.fr
17 This program is free software: you can redistribute it and/or modify
18 it under the terms of the GNU General Public License as published by
19 the Free Software Foundation, version 3 of the License.
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
26 You should have received a copy of the GNU General Public License
27 along with this program. If not, see <http://www.gnu.org/licenses/>.
29 =========================================================================*/
34 #include "ui_vvLinkPanel.h"
36 //====================================================================
37 class vvLinkPanel : public QWidget, private Ui::vvLinkPanel
43 // constructor - destructor
44 vvLinkPanel(QWidget * parent=0);
47 void addImage(std::string name, std::string id);
48 void removeImage(int i);
51 void UpdateComboBox2(int i);
52 void removeLink(int row, int column);
57 void addLink(QString image1,QString image2);
58 void removeLink(QString image1,QString image2);
61 void UpdateComboBox1();
63 std::vector<std::string> imageNames;
64 std::vector<std::string> image1Ids;
65 std::vector<std::string> image2Ids;
67 }; // end class vvLinkPanel
68 //====================================================================
70 #endif /* end #define _vvLinkPanel_H */