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

step/stepcore

  • StepCore
  • Note
Public Member Functions | Protected Attributes | List of all members
StepCore::Note Class Reference
Various tools

#include <tool.h>

Inheritance diagram for StepCore::Note:
Inheritance graph
[legend]

Public Member Functions

 Note (Vector2d position=Vector2d::Zero(), Vector2d size=Vector2d(250, 100), QString text=QString())
 
const Vector2d & position () const
 
void setPosition (const Vector2d &position)
 
void setSize (const Vector2d &size)
 
void setText (const QString &text)
 
const Vector2d & size () const
 
const QString & text () const
 
- Public Member Functions inherited from StepCore::ItemGroup
 ItemGroup (const QString &name=QString())
 
 ItemGroup (const ItemGroup &group)
 
 ~ItemGroup ()
 
virtual void addItem (Item *item)
 
ItemList allItems () const
 
void allItems (ItemList *items) const
 
Item * childItem (int index) const
 
Item * childItem (const QString &name) const
 
int childItemCount () const
 
int childItemIndex (const Item *item) const
 
void clear ()
 
virtual void deleteItem (Item *item)
 
Item * item (const QString &name) const
 
const ItemList & items () const
 
ItemGroup & operator= (const ItemGroup &group)
 
virtual void removeItem (Item *item)
 
void setWorld (World *world)
 
void worldItemRemoved (Item *item)
 
- Public Member Functions inherited from StepCore::Item
 Item (const QString &name=QString())
 
 Item (const Item &item)
 
virtual ~Item ()
 
Color color () const
 
void deleteObjectErrors ()
 
ItemGroup * group () const
 
ObjectErrors * objectErrors ()
 
Item & operator= (const Item &item)
 
void setColor (Color color)
 
virtual void setGroup (ItemGroup *group)
 
ObjectErrors * tryGetObjectErrors () const
 
World * world () const
 
virtual void worldItemRemoved (Item *item STEPCORE_UNUSED)
 
- Public Member Functions inherited from StepCore::Object
 Object (const QString &name=QString())
 
virtual ~Object ()
 
const QString & name () const
 
void setName (const QString &name)
 
- Public Member Functions inherited from StepCore::Tool
virtual ~Tool ()
 

Protected Attributes

Vector2d _position
 
Vector2d _size
 
QString _text
 
- Protected Attributes inherited from StepCore::Object
QString _name
 

Additional Inherited Members

- Protected Member Functions inherited from StepCore::Item
virtual ObjectErrors * createObjectErrors ()
 

Detailed Description

Textual note item.

Actual displaying of the Note should be implemented by application

Definition at line 89 of file tool.h.

Constructor & Destructor Documentation

StepCore::Note::Note ( Vector2d  position = Vector2d::Zero(),
Vector2d  size = Vector2d(250,100),
QString  text = QString() 
)
explicit

Constructs Note.

Definition at line 143 of file tool.cc.

Member Function Documentation

const Vector2d& StepCore::Note::position ( ) const
inline

Get position of the note.

Definition at line 99 of file tool.h.

void StepCore::Note::setPosition ( const Vector2d &  position)
inline

Set position of the note.

Definition at line 101 of file tool.h.

void StepCore::Note::setSize ( const Vector2d &  size)
inline

Set size of the note.

Definition at line 106 of file tool.h.

void StepCore::Note::setText ( const QString &  text)
inline

Set note text.

Definition at line 111 of file tool.h.

const Vector2d& StepCore::Note::size ( ) const
inline

Get size of the note.

Definition at line 104 of file tool.h.

const QString& StepCore::Note::text ( ) const
inline

Get note text.

Definition at line 109 of file tool.h.

Member Data Documentation

Vector2d StepCore::Note::_position
protected

Definition at line 114 of file tool.h.

Vector2d StepCore::Note::_size
protected

Definition at line 115 of file tool.h.

QString StepCore::Note::_text
protected

Definition at line 116 of file tool.h.


The documentation for this class was generated from the following files:
  • tool.h
  • tool.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • 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