kig
kiginputdialog.cc
Go to the documentation of this file.
100 d->m_lineEditFirst->setText( d->m_doc->coordinateSystem().fromScreen( d->m_coord1, *d->m_doc ) );
112 d->m_lineEditSecond->setText( d->m_doc->coordinateSystem().fromScreen( d->m_coord2, *d->m_doc ) );
Qt::KeyboardModifiers modifiers() const
virtual QValidator * coordinateValidator() const =0
Manage an angle and convert it from/to other goniometric systems.
Definition: goniometry.h:28
static Goniometry::System intToSystem(const int index)
Definition: goniometry.cc:128
double toDouble(bool *ok) const
bool isNull() const
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
static void getTwoCoordinates(const QString &caption, const QString &label, QWidget *parent, bool *ok, const KigDocument &doc, Coordinate *cvalue, Coordinate *cvalue2)
Static convenience function to get two Coordinates at once from the user.
Definition: kiginputdialog.cc:265
static QStringList systemList()
Get a list of the supported goniometric systems.
Definition: goniometry.cc:119
static void getCoordinate(const QString &caption, const QString &label, QWidget *parent, bool *ok, const KigDocument &doc, Coordinate *cvalue)
Static convenience function to get a Coordinate from the user.
Definition: kiginputdialog.cc:259
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString number(int n, int base)
void setMargin(int margin)
int key() const
void accept()
static Goniometry getAngle(QWidget *parent, bool *ok, const Goniometry &g)
Static convenience function to get an angle incapsulated in a Goniometry class.
Definition: kiginputdialog.cc:286
bool activate()
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
const CoordinateSystem & coordinateSystem() const
Definition: kig_document.cc:40
The KigInputDialog class provides easy ways of interaction with the user.
Definition: kiginputdialog.h:40
void setSpacing(int spacing)
void addLayout(QLayout *layout, int stretch)
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.