Plasma
Public Types |
Public Member Functions |
Protected Member Functions |
Properties |
List of all members
Plasma::Frame Class Reference
#include <Plasma/Widgets/Frame>
Inheritance diagram for Plasma::Frame:

Public Types | |
enum | Shadow { Plain = 1 , Raised = 2 , Sunken = 3 } |
Public Member Functions | |
Frame (QGraphicsWidget *parent=0) | |
~Frame () | |
FrameSvg::EnabledBorders | enabledBorders () const |
Shadow | frameShadow () const |
QString | image () const |
QWidget * | nativeWidget () const |
void | setEnabledBorders (const FrameSvg::EnabledBorders borders) |
void | setFrameShadow (Shadow shadow) |
void | setImage (const QString &path) |
void | setStyleSheet (const QString &stylesheet) |
void | setText (QString text) |
QString | styleSheet () const |
QString | text () const |
Protected Member Functions | |
void | changeEvent (QEvent *event) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint) const |
Properties | |
Shadow | frameShadow |
QString | image |
QString | styleSheet |
QString | text |
Detailed Description
A widget that provides a simple frame.
A simple frame to group widgets, it can have a plain, sunken or raise aspect the default aspect is plain
Member Enumeration Documentation
◆ Shadow
Constructor & Destructor Documentation
◆ Frame()
|
explicit |
◆ ~Frame()
Member Function Documentation
◆ changeEvent()
|
protected |
◆ enabledBorders()
FrameSvg::EnabledBorders Plasma::Frame::enabledBorders | ( | ) | const |
◆ frameShadow()
Frame::Shadow Plasma::Frame::frameShadow | ( | ) | const |
◆ image()
QString Plasma::Frame::image | ( | ) | const |
◆ nativeWidget()
QWidget * Plasma::Frame::nativeWidget | ( | ) | const |
◆ paint()
|
protected |
◆ resizeEvent()
|
protected |
◆ setEnabledBorders()
void Plasma::Frame::setEnabledBorders | ( | const FrameSvg::EnabledBorders | borders | ) |
◆ setFrameShadow()
void Plasma::Frame::setFrameShadow | ( | Shadow | shadow | ) |
◆ setImage()
void Plasma::Frame::setImage | ( | const QString & | path | ) |
◆ setStyleSheet()
void Plasma::Frame::setStyleSheet | ( | const QString & | stylesheet | ) |
◆ setText()
void Plasma::Frame::setText | ( | QString | text | ) |
◆ sizeHint()
|
protected |
◆ styleSheet()
QString Plasma::Frame::styleSheet | ( | ) | const |
◆ text()
QString Plasma::Frame::text | ( | ) | const |
Property Documentation
◆ frameShadow
◆ image
◆ styleSheet
◆ text
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.