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

kig

PolarCoords Class Reference

#include <coordinate_system.h>

Inheritance diagram for PolarCoords:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 111 of file coordinate_system.h.


Public Member Functions

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
 PolarCoords ()
Coordinate snapToGrid (const Coordinate &c, const KigWidget &w) const
Coordinate toScreen (const QString &pt, bool &ok) const
const char * type () const
 ~PolarCoords ()

Constructor & Destructor Documentation

PolarCoords::PolarCoords (  ) 

Definition at line 349 of file coordinate_system.cpp.

PolarCoords::~PolarCoords (  ) 

Definition at line 353 of file coordinate_system.cpp.


Member Function Documentation

QString PolarCoords::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 372 of file coordinate_system.cpp.

QString PolarCoords::coordinateFormatNoticeMarkup (  )  const [virtual]

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

..

Implements CoordinateSystem.

Definition at line 379 of file coordinate_system.cpp.

QValidator * PolarCoords::coordinateValidator (  )  const [virtual]

Implements CoordinateSystem.

Definition at line 526 of file coordinate_system.cpp.

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

Implements CoordinateSystem.

Definition at line 407 of file coordinate_system.cpp.

QString PolarCoords::fromScreen ( const Coordinate &  pt,
const KigDocument &  w 
) const [virtual]

Implements CoordinateSystem.

Definition at line 357 of file coordinate_system.cpp.

int PolarCoords::id (  )  const [virtual]

Implements CoordinateSystem.

Definition at line 575 of file coordinate_system.cpp.

Coordinate PolarCoords::snapToGrid ( const Coordinate &  c,
const KigWidget &  w 
) const [virtual]

Implements CoordinateSystem.

Definition at line 628 of file coordinate_system.cpp.

Coordinate PolarCoords::toScreen ( const QString &  pt,
bool &  ok 
) const [virtual]

Implements CoordinateSystem.

Definition at line 386 of file coordinate_system.cpp.

const char * PolarCoords::type (  )  const [virtual]

Implements CoordinateSystem.

Definition at line 565 of file coordinate_system.cpp.


The documentation for this class was generated from the following files:
  • coordinate_system.h
  • coordinate_system.cpp

kig

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal