parley
boxeswidget.cpp
Go to the documentation of this file.
28 : ImageWidget(parent), m_boxCount(1), m_currentBox(-1), m_lastBox(-1), m_renderer(0), m_fixedSize(true), m_arrowHint(0), m_spacingHint(0)
QSize size() const
Type type() const
int width() const
QRect toRect() const
virtual QSize minimumSizeHint() const
Definition: boxeswidget.cpp:62
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
int height() const
void scale(int width, int height, Qt::AspectRatioMode mode)
virtual QSize minimumSizeHint() const
void setAlignment(Qt::Alignment alignment)
Definition: imagewidget.cpp:240
int x() const
int y() const
void setScalingEnabled(bool scaling, bool onlyDownscaling=true)
Definition: imagewidget.cpp:224
QSize size() const
QString number(int n, int base)
void fill(uint pixelValue)
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
void setWidth(int width)
QPoint pos() const
void setPixmap(const QPixmap &pixmap)
Definition: imagewidget.cpp:200
QRect rect() const
QRectF getRectForId(const QString &id)
Definition: themedbackgroundrenderer.cpp:161
bool isValid() const
int width() const
QPixmap getPixmapForId(const QString &id, QSize size=QSize())
Definition: themedbackgroundrenderer.cpp:168
void setHeight(int height)
QPoint topLeft() const
void setX(int x)
void setY(int y)
Definition: imagewidget.h:24
void setRenderer(ThemedBackgroundRenderer *renderer)
Definition: boxeswidget.cpp:35
virtual bool event(QEvent *event)
void setBoxes(int currentBox, int lastBox=-1)
Definition: boxeswidget.cpp:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 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:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.