* removed paths in include directives * changed cmake to provide necessary header search paths * changed name of version.h to productVersion.h due to name conflict
21 lines
415 B
C++
21 lines
415 B
C++
#ifndef QT_LINE_ITEM_STRAIGHT_H
|
|
#define QT_LINE_ITEM_STRAIGHT_H
|
|
|
|
#include <QGraphicsItem>
|
|
|
|
#include "GraphViewStyle.h"
|
|
|
|
class QtLineItemStraight
|
|
: public QGraphicsLineItem
|
|
{
|
|
public:
|
|
QtLineItemStraight(QGraphicsItem* parent);
|
|
virtual ~QtLineItemStraight();
|
|
|
|
void updateLine(Vec2i origin, Vec2i target, GraphViewStyle::EdgeStyle style);
|
|
|
|
virtual QPainterPath shape() const;
|
|
};
|
|
|
|
#endif // QT_LINE_ITEM_STRAIGHT_H
|