KDEUI
kpixmapsequence.cpp
Go to the documentation of this file.
64 QPixmap pix = bigPixmap.copy(col * size.width(), row * size.height(), size.width(), size.height());
93 d->loadSequence(QPixmap(KIconLoader::global()->iconPath(xdgIconName, -size)), QSize(size, size));
Loads and gives access to the frames of a typical multi-row pixmap as often used for spinners...
Definition: kpixmapsequence.h:45
int width() const
QPixmap copy(int x, int y, int width, int height) const
static KIconLoader * global()
Returns the global icon loader initialized with the global KComponentData.
KPixmapSequence & operator=(const KPixmapSequence &other)
Create a copy of other.
Definition: kpixmapsequence.cpp:102
bool isNull() const
int height() const
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 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:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.