• 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
PolarCoords Class Reference

#include <coordinate_system.h>

Inheritance diagram for PolarCoords:
Inheritance graph
[legend]

Public Member Functions

 PolarCoords ()
 
 ~PolarCoords ()
 
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 111 of file coordinate_system.h.

Constructor & Destructor Documentation

PolarCoords::PolarCoords ( )

Definition at line 347 of file coordinate_system.cpp.

PolarCoords::~PolarCoords ( )

Definition at line 351 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 368 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 375 of file coordinate_system.cpp.

QValidator * PolarCoords::coordinateValidator ( ) const
virtual

Implements CoordinateSystem.

Definition at line 522 of file coordinate_system.cpp.

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

Implements CoordinateSystem.

Definition at line 403 of file coordinate_system.cpp.

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

Implements CoordinateSystem.

Definition at line 355 of file coordinate_system.cpp.

int PolarCoords::id ( ) const
virtual

Implements CoordinateSystem.

Definition at line 571 of file coordinate_system.cpp.

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

Implements CoordinateSystem.

Definition at line 624 of file coordinate_system.cpp.

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

Implements CoordinateSystem.

Definition at line 382 of file coordinate_system.cpp.

const char * PolarCoords::type ( ) const
virtual

Implements CoordinateSystem.

Definition at line 561 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 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
  • 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