hideLinkInExport for Branches (Floats still missing). Floats are now OrnamentedObj.
5 /////////////////////////////////////////////////////////////////
7 /////////////////////////////////////////////////////////////////
8 FrameObj::FrameObj() : MapObj()
10 // cout << "Const FrameObj ()\n";
14 FrameObj::FrameObj(QCanvas* c) :MapObj(c)
16 // cout << "Const FrameObj\n";
31 void FrameObj::clear()
45 void FrameObj::move(double x, double y)
52 rectFrame->move (x,y);
57 void FrameObj::moveBy(double x, double y)
62 void FrameObj::positionBBox()
66 void FrameObj::calcBBoxSize()
70 void FrameObj::setRect(const QRect &r)
78 rectFrame->setX (bbox.x() );
79 rectFrame->setY (bbox.y() );
80 rectFrame->setSize (bbox.width(),bbox.height() );
85 int FrameObj::getBorder()
90 FrameType FrameObj::getFrameType()
95 QString FrameObj::getFrameTypeName()
107 void FrameObj::setFrameType(const FrameType &t)
120 rectFrame = new QCanvasRectangle (canvas);
121 rectFrame->setZ(Z_FRAME);
122 rectFrame->setBrush( QColor("white") );
123 rectFrame->setPen( QPen(QColor("black") ));
126 setVisibility (visible);
130 void FrameObj::setFrameType(const QString &t)
133 FrameObj::setFrameType (Rectangle);
135 FrameObj::setFrameType (NoFrame);
138 void FrameObj::setVisibility (bool v)
140 MapObj::setVisibility(v);