• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/RocsCore

  • sources
  • kde-4.12
  • kdeedu
  • rocs
  • RocsCore
  • DataStructures
  • RootedTree
RootedTreeEdgeItem.h
Go to the documentation of this file.
1 /*
2  This file is part of RootedTree (Rocs Plugin).
3  Copyright 2012 Wagner Reck <wagner.reck@gmail.com>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License as
7  published by the Free Software Foundation; either version 2 of
8  the License, or (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef ROOTEDTREE_H
20 #define ROOTEDTREE_H
21 
22 #include <QGraphicsLineItem>
23 #include <QPointer>
24 #include "Pointer.h"
25 #include "Scene/PointerItem.h"
26 
27 class QGraphicsSceneMouseEvent;
28 class Pointer;
29 class QGraphicsSimpleTextItem;
30 
34 class RootedTreeEdgeItem : public PointerItem
35 {
36  Q_OBJECT
37  QPointF startPoint();
38  QPointF endPoint() const;
39 
40 public:
47  explicit RootedTreeEdgeItem(PointerPtr edge, QGraphicsItem *parent = 0);
48  virtual ~RootedTreeEdgeItem();
49 
50  QPainterPath createCurves();
51 
52 public slots:
53  void updatePathLayout();
54 };
55 
56 #endif //ROOTEDTREE_H
RootedTreeEdgeItem::updatePathLayout
void updatePathLayout()
Definition: RootedTreeEdgeItem.cpp:56
RootedTreeEdgeItem::createCurves
QPainterPath createCurves()
Definition: RootedTreeEdgeItem.cpp:125
RootedTreeEdgeItem
the Edge drawing on screen. long explanation here...
Definition: RootedTreeEdgeItem.h:34
PointerPtr
boost::shared_ptr< Pointer > PointerPtr
Definition: CoreTypes.h:35
Pointer.h
PointerItem
RootedTreeEdgeItem::RootedTreeEdgeItem
RootedTreeEdgeItem(PointerPtr edge, QGraphicsItem *parent=0)
Default constructor.
Definition: RootedTreeEdgeItem.cpp:43
Pointer
Pointers are connections between two nodes in the data structure.
Definition: Pointer.h:48
RootedTreeEdgeItem::~RootedTreeEdgeItem
virtual ~RootedTreeEdgeItem()
Definition: RootedTreeEdgeItem.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/RocsCore

Skip menu "rocs/RocsCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal