marble
Marble::WidgetGraphicsItem Class Reference
#include <WidgetGraphicsItem.h>
Inheritance diagram for Marble::WidgetGraphicsItem:

Public Member Functions | |
WidgetGraphicsItem (MarbleGraphicsItem *parent=0) | |
virtual | ~WidgetGraphicsItem () |
void | setWidget (QWidget *widget) |
QWidget * | widget () const |
![]() | |
ScreenGraphicsItem (MarbleGraphicsItem *parent=0) | |
virtual | ~ScreenGraphicsItem () |
QList< QPointF > | absolutePositions () const |
GraphicsItemFlags | flags () const |
QPointF | position () const |
QPointF | positivePosition () const |
void | setFlags (GraphicsItemFlags flags) |
void | setPosition (const QPointF &position) |
![]() | |
virtual | ~MarbleGraphicsItem () |
CacheMode | cacheMode () const |
bool | contains (const QPointF &point) const |
virtual QRectF | contentRect () const |
virtual QSizeF | contentSize () const |
void | hide () |
AbstractMarbleGraphicsLayout * | layout () const |
bool | paintEvent (QPainter *painter, const ViewportParams *viewport) |
void | setCacheMode (CacheMode mode) |
virtual void | setContentSize (const QSizeF &size) |
void | setLayout (AbstractMarbleGraphicsLayout *layout) |
virtual void | setProjection (const ViewportParams *viewport) |
void | setSize (const QSizeF &size) |
void | setVisible (bool visible) |
void | show () |
QSizeF | size () const |
bool | visible () const |
Protected Member Functions | |
virtual bool | eventFilter (QObject *, QEvent *) |
virtual void | paint (QPainter *painter) |
![]() | |
ScreenGraphicsItem (ScreenGraphicsItemPrivate *d_ptr) | |
![]() | |
MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr) | |
void | update () |
Additional Inherited Members | |
![]() | |
enum | GraphicsItemFlag { ItemIsMovable = 0x1, ItemIsHideable = 0x2 } |
![]() | |
enum | CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache } |
![]() | |
MarbleGraphicsItemPrivate *const | d |
Detailed Description
Definition at line 28 of file WidgetGraphicsItem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 38 of file WidgetGraphicsItem.cpp.
|
virtual |
Definition at line 44 of file WidgetGraphicsItem.cpp.
Member Function Documentation
|
protectedvirtual |
Reimplemented from Marble::ScreenGraphicsItem.
Definition at line 74 of file WidgetGraphicsItem.cpp.
|
protectedvirtual |
Paints the item in item coordinates.
Reimplemented from Marble::MarbleGraphicsItem.
Definition at line 62 of file WidgetGraphicsItem.cpp.
void WidgetGraphicsItem::setWidget | ( | QWidget * | widget | ) |
Definition at line 48 of file WidgetGraphicsItem.cpp.
QWidget * WidgetGraphicsItem::widget | ( | ) | const |
Definition at line 58 of file WidgetGraphicsItem.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.