• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaCore

  • Plasma
  • FrameSvgItem
Signals | Public Member Functions | Properties | List of all members
Plasma::FrameSvgItem Class Reference

#include <framesvgitem.h>

Inheritance diagram for Plasma::FrameSvgItem:
Inheritance graph
[legend]

Signals

void enabledBordersChanged ()
 
void imagePathChanged ()
 
void implicitHeightChanged ()
 
void implicitWidthChanged ()
 
void prefixChanged ()
 

Public Member Functions

 FrameSvgItem (QDeclarativeItem *parent=0)
 
 ~FrameSvgItem ()
 
Plasma::FrameSvg::EnabledBorders enabledBorders () const
 
void geometryChanged (const QRectF &newGeometry, const QRectF &oldGeometry)
 
QString imagePath () const
 
qreal implicitHeight () const
 
qreal implicitWidth () const
 
FrameSvgItemMargins * margins () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
QString prefix () const
 
void setEnabledBorders (const Plasma::FrameSvg::EnabledBorders borders)
 
void setImagePath (const QString &path)
 
void setImplicitHeight (qreal height)
 
void setImplicitWidth (qreal width)
 
void setPrefix (const QString &prefix)
 

Properties

Plasma::FrameSvg::EnabledBorders enabledBorders
 
QString imagePath
 
qreal implicitHeight
 
qreal implicitWidth
 
QObject margins
 
QString prefix
 

Detailed Description

Definition at line 73 of file framesvgitem.h.

Constructor & Destructor Documentation

Plasma::FrameSvgItem::FrameSvgItem ( QDeclarativeItem *  parent = 0)

Definition at line 63 of file framesvgitem.cpp.

Plasma::FrameSvgItem::~FrameSvgItem ( )

Definition at line 73 of file framesvgitem.cpp.

Member Function Documentation

Plasma::FrameSvg::EnabledBorders Plasma::FrameSvgItem::enabledBorders ( ) const
void Plasma::FrameSvgItem::enabledBordersChanged ( )
signal
void Plasma::FrameSvgItem::geometryChanged ( const QRectF &  newGeometry,
const QRectF &  oldGeometry 
)

Definition at line 159 of file framesvgitem.cpp.

QString Plasma::FrameSvgItem::imagePath ( ) const
void Plasma::FrameSvgItem::imagePathChanged ( )
signal
qreal Plasma::FrameSvgItem::implicitHeight ( ) const
void Plasma::FrameSvgItem::implicitHeightChanged ( )
signal
qreal Plasma::FrameSvgItem::implicitWidth ( ) const
void Plasma::FrameSvgItem::implicitWidthChanged ( )
signal
FrameSvgItemMargins* Plasma::FrameSvgItem::margins ( ) const
void Plasma::FrameSvgItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

Definition at line 151 of file framesvgitem.cpp.

QString Plasma::FrameSvgItem::prefix ( ) const
void Plasma::FrameSvgItem::prefixChanged ( )
signal
void Plasma::FrameSvgItem::setEnabledBorders ( const Plasma::FrameSvg::EnabledBorders  borders)

Definition at line 137 of file framesvgitem.cpp.

void Plasma::FrameSvgItem::setImagePath ( const QString &  path)

Definition at line 77 of file framesvgitem.cpp.

void Plasma::FrameSvgItem::setImplicitHeight ( qreal  height)

Definition at line 195 of file framesvgitem.cpp.

void Plasma::FrameSvgItem::setImplicitWidth ( qreal  width)

Definition at line 179 of file framesvgitem.cpp.

void Plasma::FrameSvgItem::setPrefix ( const QString &  prefix)

Definition at line 105 of file framesvgitem.cpp.

Property Documentation

Plasma::FrameSvg::EnabledBorders Plasma::FrameSvgItem::enabledBorders
readwrite

The borders that will be rendered, it's a flag combination of: NoBorder TopBorder BottomBorder LeftBorder RightBorder.

Definition at line 104 of file framesvgitem.h.

QString Plasma::FrameSvgItem::imagePath
readwrite

Theme relative path of the svg, like "widgets/background".

Definition at line 80 of file framesvgitem.h.

qreal Plasma::FrameSvgItem::implicitHeight
readwrite

suggested default size hint for height

Definition at line 114 of file framesvgitem.h.

qreal Plasma::FrameSvgItem::implicitWidth
readwrite

suggested default size hint for width

Definition at line 109 of file framesvgitem.h.

FrameSvgItemMargins * Plasma::FrameSvgItem::margins
read

The margins of the frame, read only.

See also
FrameSvgItemMargins

Definition at line 93 of file framesvgitem.h.

QString Plasma::FrameSvgItem::prefix
readwrite

prefix for the 9 piece svg, like "pushed" or "normal" for the button see http://techbase.kde.org/Development/Tutorials/Plasma/ThemeDetails for a list of paths and prefixes

Definition at line 87 of file framesvgitem.h.


The documentation for this class was generated from the following files:
  • framesvgitem.h
  • framesvgitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaCore

Skip menu "PlasmaCore"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal