• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Plasma

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

#include <svgwidget.h>

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

Signals

void clicked (Qt::MouseButton)
 

Public Member Functions

 SvgWidget (QGraphicsItem *parent=0, Qt::WindowFlags wFlags=0)
 
 SvgWidget (Svg *svg, const QString &elementID=QString(), QGraphicsItem *parent=0, Qt::WindowFlags wFlags=0)
 
virtual ~SvgWidget ()
 
QString elementID () const
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void setElementID (const QString &elementID)
 
void setSvg (Svg *svg)
 
Svg * svg () const
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint) const
 

Properties

QString elementID
 
Plasma::Svg svg
 

Detailed Description

Definition at line 39 of file svgwidget.h.

Constructor & Destructor Documentation

Plasma::SvgWidget::SvgWidget ( QGraphicsItem *  parent = 0,
Qt::WindowFlags  wFlags = 0 
)
explicit

Definition at line 49 of file svgwidget.cpp.

Plasma::SvgWidget::SvgWidget ( Svg *  svg,
const QString &  elementID = QString(),
QGraphicsItem *  parent = 0,
Qt::WindowFlags  wFlags = 0 
)
explicit

Definition at line 55 of file svgwidget.cpp.

Plasma::SvgWidget::~SvgWidget ( )
virtual

Definition at line 61 of file svgwidget.cpp.

Member Function Documentation

void Plasma::SvgWidget::clicked ( Qt::MouseButton  )
signal
QString Plasma::SvgWidget::elementID ( ) const
void Plasma::SvgWidget::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
protected

Definition at line 66 of file svgwidget.cpp.

void Plasma::SvgWidget::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)

Definition at line 77 of file svgwidget.cpp.

void Plasma::SvgWidget::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
protected

Definition at line 117 of file svgwidget.cpp.

void Plasma::SvgWidget::setElementID ( const QString &  elementID)

Definition at line 103 of file svgwidget.cpp.

void Plasma::SvgWidget::setSvg ( Svg *  svg)

Definition at line 84 of file svgwidget.cpp.

QSizeF Plasma::SvgWidget::sizeHint ( Qt::SizeHint  which,
const QSizeF &  constraint 
) const
protected

Definition at line 127 of file svgwidget.cpp.

Svg* Plasma::SvgWidget::svg ( ) const

Property Documentation

QString Plasma::SvgWidget::elementID
readwrite

Definition at line 44 of file svgwidget.h.

Svg * Plasma::SvgWidget::svg
readwrite

Definition at line 43 of file svgwidget.h.


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

KDE's Doxygen guidelines are available online.

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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