Plasma
slider.cpp
Go to the documentation of this file.
Q_INVOKABLE void paintFrame(QPainter *painter, const QRectF &target, const QRectF &source=QRectF())
Paints the loaded SVG with the elements that represents the border.
Definition framesvg.cpp:512
Q_INVOKABLE void resizeFrame(const QSizeF &size)
Resize the frame maintaining the same border size.
Definition framesvg.cpp:317
Q_INVOKABLE void setElementPrefix(Plasma::Location location)
Sets the prefix (.
Definition framesvg.cpp:184
void sliderMoved(int value)
This signal is emitted when the user drags the slider.
void setOrientation(Qt::Orientation orientation)
Sets the orientation of the slider.
Definition slider.cpp:227
void setRange(int minimum, int maximum)
Sets the minimum and maximum values the slider can take.
Definition slider.cpp:212
void valueChanged(int value)
This signal is emitted when the slider value has changed, with the new slider value as argument.
Q_INVOKABLE void paint(QPainter *painter, const QPointF &point, const QString &elementID=QString())
Paints all or part of the SVG represented by this object.
Definition svg.cpp:655
Q_INVOKABLE bool hasElement(const QString &elementId) const
Check whether an element exists in the loaded SVG.
Definition svg.cpp:732
Q_INVOKABLE QRectF elementRect(const QString &elementId) const
The bounding rect of a given element.
Definition svg.cpp:727
Q_INVOKABLE QColor color(ColorRole role) const
Returns the text color to be used by items resting on the background.
Definition theme.cpp:918
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.