Plasma
frame.cpp
Go to the documentation of this file.
virtual void updateGeometry()
Q_INVOKABLE QString imagePath(const QString &name) const
Retrieve the path for an SVG image in the current theme.
Definition: theme.cpp:794
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
void setEnabledBorders(const FrameSvg::EnabledBorders borders)
Sets what borders should be painted.
Definition: frame.cpp:125
the text color to be used by items resting on the background
Definition: theme.h:63
Definition: frame.h:54
QString image() const
QString styleSheet() const
void update(const QRectF &rect)
Shadow frameShadow() const
void setHeight(qreal height)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: frame.cpp:214
QSizeF size() const
QFont font() const
void setFont(const QFont &font)
virtual void changeEvent(QEvent *event)
FrameSvg::EnabledBorders enabledBorders() const
Convenience method to get the enabled borders.
Definition: frame.cpp:134
void setPen(const QColor &color)
QRectF boundingRect(const QString &text) const
void setWidth(qreal width)
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QString text() const
void drawText(const QPointF &position, const QString &text)
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: frame.cpp:239
Definition: frame.h:55
bool isRelativePath(const QString &path)
qreal width() const
QRectF rect() const
Definition: frame.h:56
QRectF contentsRect() const
QGraphicsLayout * layout() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setHeight(qreal height)
virtual void resizeEvent(QGraphicsSceneResizeEvent *event)
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this Frame.
Definition: frame.cpp:198
QSizeF newSize() const
qreal height() const
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition: frame.cpp:250
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 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:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.