git-svn-id: svn://db.shs.com.ru/libs@173 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -42,13 +42,13 @@ public:
|
||||
void setWidth(const double & w) {pen_width = w; update();}
|
||||
void setColor(const QColor & c) {pu.setColor(c); bu.setColor(c); update();}
|
||||
int addPoint(const QPointF & point, bool update = true);
|
||||
int segmentPointPair(int point) const;
|
||||
int segmentPointPair(int point, int * seg = 0) const;
|
||||
void removePoint(int index);
|
||||
void removeSegment(int index);
|
||||
void markAsInput();
|
||||
void markAsOutput();
|
||||
void unmark();
|
||||
void simplify();
|
||||
void simplify(bool full = true);
|
||||
void adjustLine();
|
||||
int endpointCount() const;
|
||||
bool isBusSelected() const {return selSegment >= 0 || selPoint >= 0;}
|
||||
@@ -72,7 +72,9 @@ protected:
|
||||
void checkDelete();
|
||||
void emitAction(BlockItemBase::Action a);
|
||||
QVector<int> endpoints() const;
|
||||
int pointSegments(int point) const;
|
||||
QVector<int> endpointLine(int ep) const;
|
||||
int pointSegmentsCount(int point, QList<int> * segs = 0) const;
|
||||
int neighborSegmentPoint(int point, int * seg) const;
|
||||
int type() const {return Type;}
|
||||
QRectF boundingRect() const;
|
||||
bool sceneEvent(QEvent * e);
|
||||
|
||||
Reference in New Issue
Block a user