SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Node.h
Go to the documentation of this file.
1 //#ifndef DIAGRAMNODE_H
2 //#define DIAGRAMNODE_H
3 //
4 
5 /***********************************************************************
6 Note: This class will become "Note"
7 **********************************************************************/
8 
9 
10 
11 //#include <QGraphicsItem>
12 //
13 ////class Link;
14 //
15 //class Node : public QGraphicsItem
16 //{
17 // Q_DECLARE_TR_FUNCTIONS(Node)
18 //
19 //public:
20 // Node();
21 // ~Node();
22 // void setText(const QString& text);
23 // QString text() const;
24 // void setTextColor(const QColor& color);
25 // QColor textColor() const;
26 // void setOutlineColor(const QColor& color);
27 // QColor outlineColor() const;
28 // void setBackgroundColor(const QColor& color);
29 // QColor backgroundColor() const;
30 //
31 // //void addLink(Link* link);
32 // //void removeLink(Link* link);
33 //
34 // QRectF boundingRect() const;
35 // QPainterPath shape() const;
36 // void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);
37 //
38 //protected:
39 // void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event);
40 // QVariant itemChange(GraphicsItemChange change, const QVariant& value);
41 //
42 //private:
43 // QRectF outlineRect() const;
44 // int roundness(double size) const;
45 //
46 // //QSet<Link*> links_;
47 // QString text_;
48 // QColor textColor_;
49 // QColor backgroundColor_;
50 // QColor outlineColor_;
51 //};
52 //
53 //#endif