ELVE  1
ELVE Logic Visualization Explorer
/home/travis/build/stdgregwar/elve/Core/interfaces/EdgeLook.h
00001 #ifndef EDGELOOK_H
00002 #define EDGELOOK_H
00003 
00004 #include "NodeLook.h"
00005 namespace Elve {
00006 
00014 class EdgeLook
00015 {
00016 public:
00024     EdgeLook(const NodeLook& from, Index outi ,const NodeLook& to, Index ini);
00025 
00034     virtual void addToPath(QPainterPath& path) = 0;
00035 
00044     virtual QPen pen() const = 0;
00045 
00050     const NodeLook& from() const;
00051 
00056     const NodeLook& to() const;
00057 
00062     Index iFrom() const;
00063 
00068     Index iTo() const;
00069 private:
00070     const NodeLook& mFrom;
00071     const NodeLook& mTo;
00072     Index mIFrom;
00073     Index mITo;
00074 };
00075 }
00076 #endif // EDGELOOK_H
 All Classes Functions