Krita
AngleSelector.cpp
108 warnScript << "AngleSelector::increasingDirection() doesn't handle mode '" << increasingDirection << "'!";
199qreal AngleSelector::closestCoterminalAngleInRange(qreal angle, qreal minimum, qreal maximum, bool *ok)
214qreal AngleSelector::flipAngle(qreal angle, qreal minimum, qreal maximum, Qt::Orientations orientations, bool *ok)
int widgetsHeight() const
Gets the common height of the widgets inside this angle selector.
Definition AngleSelector.cpp:99
void setMinimum(qreal newMinimum)
Sets the minimum value for the angle.
Definition AngleSelector.cpp:144
QString increasingDirection() const
Gets the direction in which the angle increases in the angle gauge.
Definition AngleSelector.cpp:104
void setRange(qreal newMinimum, qreal newMaximum)
Sets the minimum and maximum values for the angle.
Definition AngleSelector.cpp:149
static qreal flipAngle(qreal angle, Qt::Orientations orientations)
Flips an angle horizontally, vertically, or both.
Definition AngleSelector.cpp:209
void setPrefix(const QString &newPrefix)
Sets the prefix shown in the spin box.
Definition AngleSelector.cpp:154
void useFlatSpinBox(bool newUseFlatSpinBox)
Sets if the spin box should be flat.
Definition AngleSelector.cpp:189
void setIncreasingDirection(QString newIncreasingDirection)
Sets the increasing direction in the angle gauge.
Definition AngleSelector.cpp:179
QString flipOptionsMode() const
Gets the mode in which the flip options should be shown.
Definition AngleSelector.cpp:89
qreal snapAngle() const
Gets the angle to which multiples the selected angle will snap.
Definition AngleSelector.cpp:54
void setFlipOptionsMode(QString newMode)
Sets the mode in which the flip options should be shown.
Definition AngleSelector.cpp:164
void flip(Qt::Orientations orientations)
Flips the angle horizontally, vertically, or both.
Definition AngleSelector.cpp:219
void setResetAngle(qreal newResetAngle)
Sets the angle that is used to reset the current angle.
Definition AngleSelector.cpp:129
bool wrapping() const
Gets if the angle should wrap pass the minimum or maximum angles.
Definition AngleSelector.cpp:84
void setSnapAngle(qreal newSnapAngle)
Sets the angle to which multiples the selected angle will snap.
Definition AngleSelector.cpp:124
void setMaximum(qreal newMaximum)
Sets the maximum value for the angle.
Definition AngleSelector.cpp:139
QWidget * widget() const
Get the internal KisAngleSelector as a QWidget, so it may be added to a UI.
Definition AngleSelector.cpp:44
bool isUsingFlatSpinBox() const
Gets if the spin box is flat (no border or background)
Definition AngleSelector.cpp:114
qreal resetAngle() const
Gets the angle that is used to reset the current angle.
Definition AngleSelector.cpp:59
int decimals() const
Gets the number of decimals (precision) used by the angle.
Definition AngleSelector.cpp:64
void setWidgetsHeight(int newHeight)
Sets the common height of the widgets inside this angle selector.
Definition AngleSelector.cpp:174
static qreal closestCoterminalAngleInRange(qreal angle, qreal minimum, qreal maximum, bool *ok=nullptr)
Gets the closest coterminal angle to the provided angle that is in the range provided.
Definition AngleSelector.cpp:199
void setDecimals(int newNumberOfDecimals)
Sets the number of decimals (precision) used by the angle.
Definition AngleSelector.cpp:134
void setWrapping(bool newWrapping)
Sets if the angle should wrap pass the minimum or maximum angles.
Definition AngleSelector.cpp:159
typedef Orientations
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.