-
Notifications
You must be signed in to change notification settings - Fork 0
/
VertexListDockWidget.h
42 lines (35 loc) · 1.04 KB
/
VertexListDockWidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef VERTEXLISTDOCKWIDGET_H
#define VERTEXLISTDOCKWIDGET_H
#include <QDockWidget>
#include "AJGraph.h"
#include "AJVertex.h"
#include "AJEdge.h"
#include "OmmatidiaTissue.h"
namespace Ui {
class VertexListDockWidget;
}
class VertexListDockWidget : public QDockWidget
{
Q_OBJECT
public:
typedef OmmatidiaTissue<3>::AJGraphType VertexContainer;
private:
VertexContainer::Pointer m_VertexContainer;
public:
explicit VertexListDockWidget(QWidget *parent = 0);
~VertexListDockWidget();
virtual void Draw();
virtual VertexContainer::AJVertexHandler GetSelectedVertex();
virtual void SetSelectedVertex(const VertexContainer::AJVertexHandler &);
virtual void ClearSelection();
inline void SetVertexContainer(const VertexContainer::Pointer & vertexContainer){
m_VertexContainer=vertexContainer;
}
public slots:
void slotVertexTableSelectionChanged();
signals:
void SelectedVertexChanged(VertexContainer::AJVertexHandler);
private:
Ui::VertexListDockWidget *m_pUI;
};
#endif // VERTEXLISTDOCKWIDGET_H