Marble.WidgetGraphicsItem

KDE 4.9 PyKDE API Reference

- KDE's Python API

# WidgetGraphicsItem Class Reference

`from PyKDE4.marble import *`

Inherits: Marble.ScreenGraphicsItem → Marble.MarbleGraphicsItem
Namespace: Marble

## Detailed Description

## Methods
| __init__ (self, Marble.MarbleGraphicsItem parent=0)
bool | eventFilter (self, QObject a0, QEvent a1)
| paint (self, QPainter painter)
| setWidget (self, QWidget widget)
QWidget | widget (self)

## Method Documentation

__init__ | ( | self, |
|  | Marble.MarbleGraphicsItem | parent=0
| ) |  |  |

bool eventFilter | ( | self, |
|  | QObject | a0,
|  | QEvent | a1
| ) |  |  |

paint | ( | self, |
|  | QPainter | painter
| ) |  |  |

Paints the item in item coordinates.

setWidget | ( | self, |
|  | QWidget | widget
| ) |  |  |

QWidget widget | ( |  | self ) |