kig
EuclideanCoords Class Reference
#include <coordinate_system.h>
Inheritance diagram for EuclideanCoords:

Detailed Description
Definition at line 91 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 |
| EuclideanCoords () | |
| 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 |
| ~EuclideanCoords () | |
Constructor & Destructor Documentation
| EuclideanCoords::EuclideanCoords | ( | ) |
Definition at line 146 of file coordinate_system.cpp.
| EuclideanCoords::~EuclideanCoords | ( | ) |
Definition at line 337 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 325 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 331 of file coordinate_system.cpp.
| QValidator * EuclideanCoords::coordinateValidator | ( | ) | const [virtual] |
| void EuclideanCoords::drawGrid | ( | KigPainter & | p, | |
| bool | showgrid = true, |
|||
| bool | showaxes = true | |||
| ) | const [virtual] |
| QString EuclideanCoords::fromScreen | ( | const Coordinate & | pt, | |
| const KigDocument & | w | |||
| ) | const [virtual] |
| int EuclideanCoords::id | ( | ) | const [virtual] |
| Coordinate EuclideanCoords::snapToGrid | ( | const Coordinate & | c, | |
| const KigWidget & | w | |||
| ) | const [virtual] |
| Coordinate EuclideanCoords::toScreen | ( | const QString & | pt, | |
| bool & | ok | |||
| ) | const [virtual] |
| const char * EuclideanCoords::type | ( | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference