]> Creatis software - clitk.git/blob - vv/vvLinkPanel.h
removed headers
[clitk.git] / vv / vvLinkPanel.h
1 #ifndef _vvLinkPanel_H
2 #define _vvLinkPanel_H
3 #include <iostream>
4 #include <vector>
5
6 #include "ui_vvLinkPanel.h"
7
8 //====================================================================
9 class vvLinkPanel : public QWidget, private Ui::vvLinkPanel
10 {
11
12     Q_OBJECT
13
14 public:
15     // constructor - destructor
16     vvLinkPanel(QWidget * parent=0);
17     ~vvLinkPanel() {}
18
19     void addImage(std::string name, std::string id);
20     void removeImage(int i);
21
22 public slots :
23     void UpdateComboBox2(int i);
24     void removeLink(int row, int column);
25     void addLink();
26     void linkAll();
27
28 signals:
29     void addLink(QString image1,QString image2);
30     void removeLink(QString image1,QString image2);
31
32 private:
33     void UpdateComboBox1();
34
35     std::vector<std::string> imageNames;
36     std::vector<std::string> image1Ids;
37     std::vector<std::string> image2Ids;
38
39 }; // end class vvLinkPanel
40 //====================================================================
41
42 #endif /* end #define _vvLinkPanel_H */
43