kig
coordinate_system.h
Go to the documentation of this file.
Definition: coordinate_system.h:111
static CoordinateSystem * build(int which)
Definition: coordinate_system.cpp:535
a CoordinateSystem is what the user sees: it is kept by KigPart to show the user a grid...
Definition: coordinate_system.h:60
QValidator * coordinateValidator() const
Definition: coordinate_system.cpp:517
virtual QValidator * coordinateValidator() const =0
virtual QString coordinateFormatNotice() const =0
This returns a notice to say in which format coordinates should be entered.
virtual Coordinate toScreen(const QString &pt, bool &ok) const =0
virtual Coordinate snapToGrid(const Coordinate &c, const KigWidget &w) const =0
QString coordinateFormatNotice() const
This returns a notice to say in which format coordinates should be entered.
Definition: coordinate_system.cpp:323
Coordinate snapToGrid(const Coordinate &c, const KigWidget &w) const
Definition: coordinate_system.cpp:624
QString coordinateFormatNoticeMarkup() const
Like coordinateFormatNotice(), but with HTML tags useful to have a rich text...
Definition: coordinate_system.cpp:329
QString fromScreen(const Coordinate &pt, const KigDocument &w) const
Definition: coordinate_system.cpp:355
virtual QString fromScreen(const Coordinate &pt, const KigDocument &w) const =0
static QString setCoordinateSystemStatement(int id)
Definition: coordinate_system.cpp:576
QString fromScreen(const Coordinate &pt, const KigDocument &w) const
Definition: coordinate_system.cpp:150
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
Definition: coordinate_system.h:91
QValidator * coordinateValidator() const
Definition: coordinate_system.cpp:522
Coordinate snapToGrid(const Coordinate &c, const KigWidget &w) const
Definition: coordinate_system.cpp:590
virtual void drawGrid(KigPainter &p, bool showgrid=true, bool showaxes=true) const =0
a factory to build a CoordinateSystem and a small handle to the existent CoordinateSystem's...
Definition: coordinate_system.h:39
virtual QString coordinateFormatNoticeMarkup() const =0
Like coordinateFormatNotice(), but with HTML tags useful to have a rich text...
QString coordinateFormatNoticeMarkup() const
Like coordinateFormatNotice(), but with HTML tags useful to have a rich text...
Definition: coordinate_system.cpp:375
Coordinate toScreen(const QString &pt, bool &ok) const
Definition: coordinate_system.cpp:382
void drawGrid(KigPainter &p, bool showgrid=true, bool showaxes=true) const
Definition: coordinate_system.cpp:403
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
void drawGrid(KigPainter &p, bool showgrid=true, bool showaxes=true) const
Definition: coordinate_system.cpp:211
virtual const char * type() const =0
virtual int id() const =0
Coordinate toScreen(const QString &pt, bool &ok) const
Definition: coordinate_system.cpp:162
QString coordinateFormatNotice() const
This returns a notice to say in which format coordinates should be entered.
Definition: coordinate_system.cpp:368
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.