KDEUI
kgesture.cpp
Go to the documentation of this file.
bool operator==(const KRockerGesture &other) const
Return whether this gesture is equal to the other gesture.
Definition kgesture.cpp:592
KRockerGesture & operator=(const KRockerGesture &other)
Set this gesture to the other gesture.
Definition kgesture.cpp:584
static QString mouseButtonName(Qt::MouseButton button)
Return a user-friendly name for the mouse button button.
Definition kgesture.cpp:513
void getButtons(Qt::MouseButton *hold, Qt::MouseButton *thenPush) const
Write the button combination to hold and thenPush.
Definition kgesture.cpp:506
QString rockerName() const
Return a user-friendly name of the button combination.
Definition kgesture.cpp:532
bool operator!=(const KRockerGesture &other) const
Return the opposite of operator==()
Definition kgesture.cpp:597
void setButtons(Qt::MouseButton hold, Qt::MouseButton thenPush)
set button combination to trigger
Definition kgesture.cpp:476
void setShape(const QPolygon &shape)
Set the shape to draw to trigger this gesture.
Definition kgesture.cpp:105
KShapeGesture & operator=(const KShapeGesture &other)
Set this gesture to the other gesture.
Definition kgesture.cpp:362
float distance(const KShapeGesture &other, float abortThreshold) const
Return a difference measurement betwenn this gesture and the other gesture.
Definition kgesture.cpp:225
bool operator!=(const KShapeGesture &other) const
Return the opposite of operator==()
Definition kgesture.cpp:379
void setShapeName(const QString &friendlyName)
set a user-visible name for this gesture's shape, like "triangle" or "line".
Definition kgesture.cpp:146
QString shapeName() const
Return the user-visible name for this gesture's shape, like "triangle" or "line".
Definition kgesture.cpp:152
QByteArray toSvg(const QString &attributes=QString()) const
Return an idealized SVG image of this gesture.
Definition kgesture.cpp:184
bool operator==(const KShapeGesture &other) const
Return whether this gesture is equal to the other gesture.
Definition kgesture.cpp:371
uint qHash(int)
QString i18nc(const char *ctxt, const char *text)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.