mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-08 07:59:58 +01:00
cross ref item: comment is wrapped for better visual
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2990 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -54,16 +54,16 @@ class CrossRefItem : public QGraphicsObject
|
||||
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *e);
|
||||
|
||||
private:
|
||||
void setUpBoundingRect(QPainter &painter);
|
||||
void setUpCrossBoundingRect();
|
||||
void fillCrossRef(QPainter &painter);
|
||||
void fillExtraInfo(QPainter &painter);
|
||||
void AddExtraInfo(QPainter &painter);
|
||||
|
||||
//Attributes
|
||||
private:
|
||||
Element *element_; //element to display the cross reference
|
||||
QRectF bounding_rect_ , text_rect_;
|
||||
QPicture drawing_;
|
||||
QPainterPath shape_path_;
|
||||
Element *m_element; //element to display the cross reference
|
||||
QRectF m_bounding_rect;
|
||||
QPicture m_drawing;
|
||||
QPainterPath m_shape_path;
|
||||
XRefProperties m_properties;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user