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

kig

Public Member Functions | List of all members
EuclideanCoords Class Reference

#include <coordinate_system.h>

Inheritance diagram for EuclideanCoords:
Inheritance graph
[legend]

Public Member Functions

 EuclideanCoords ()
 
 ~EuclideanCoords ()
 
QString coordinateFormatNotice () const
 
QString coordinateFormatNoticeMarkup () const
 
QValidator * coordinateValidator () const
 
void drawGrid (KigPainter &p, bool showgrid=true, bool showaxes=true) const
 
QString fromScreen (const Coordinate &pt, const KigDocument &w) const
 
int id () const
 
Coordinate snapToGrid (const Coordinate &c, const KigWidget &w) const
 
Coordinate toScreen (const QString &pt, bool &ok) const
 
const char * type () const
 
- Public Member Functions inherited from CoordinateSystem
 CoordinateSystem ()
 
virtual ~CoordinateSystem ()
 

Detailed Description

Definition at line 91 of file coordinate_system.h.

Constructor & Destructor Documentation

EuclideanCoords::EuclideanCoords ( )

Definition at line 146 of file coordinate_system.cpp.

EuclideanCoords::~EuclideanCoords ( )

Definition at line 335 of file coordinate_system.cpp.

Member Function Documentation

QString EuclideanCoords::coordinateFormatNotice ( ) const
virtual

This returns a notice to say in which format coordinates should be entered.

This should be something like: i18n( "Enter coordinates in the following form: \"(x,y)", where x is the x coordinate, and y is the y coordinate." );

Implements CoordinateSystem.

Definition at line 323 of file coordinate_system.cpp.

QString EuclideanCoords::coordinateFormatNoticeMarkup ( ) const
virtual

Like coordinateFormatNotice(), but with HTML tags useful to have a rich text...

Implements CoordinateSystem.

Definition at line 329 of file coordinate_system.cpp.

QValidator * EuclideanCoords::coordinateValidator ( ) const
virtual

Implements CoordinateSystem.

Definition at line 517 of file coordinate_system.cpp.

void EuclideanCoords::drawGrid ( KigPainter &  p,
bool  showgrid = true,
bool  showaxes = true 
) const
virtual

Implements CoordinateSystem.

Definition at line 211 of file coordinate_system.cpp.

QString EuclideanCoords::fromScreen ( const Coordinate &  pt,
const KigDocument &  w 
) const
virtual

Implements CoordinateSystem.

Definition at line 150 of file coordinate_system.cpp.

int EuclideanCoords::id ( ) const
virtual

Implements CoordinateSystem.

Definition at line 566 of file coordinate_system.cpp.

Coordinate EuclideanCoords::snapToGrid ( const Coordinate &  c,
const KigWidget &  w 
) const
virtual

Implements CoordinateSystem.

Definition at line 590 of file coordinate_system.cpp.

Coordinate EuclideanCoords::toScreen ( const QString &  pt,
bool &  ok 
) const
virtual

Implements CoordinateSystem.

Definition at line 162 of file coordinate_system.cpp.

const char * EuclideanCoords::type ( ) const
virtual

Implements CoordinateSystem.

Definition at line 556 of file coordinate_system.cpp.


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

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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