KDE 4.9 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

MarbleGraphicsGridLayout Class Reference

from PyKDE4.marble import *

Inherits: Marble.AbstractMarbleGraphicsLayout
Namespace: Marble

Detailed Description


Methods

 __init__ (self, int rows, int columns)
 addItem (self, Marble.ScreenGraphicsItem item, int row, int column)
Qt::Alignment alignment (self)
Qt::Alignment alignment (self, Marble.ScreenGraphicsItem item)
 setAlignment (self, Qt::Alignment align)
 setAlignment (self, Marble.ScreenGraphicsItem item, Qt::Alignment a1)
 setSpacing (self, int spacing)
int spacing (self)
 updatePositions (self, Marble.MarbleGraphicsItem parent)

Method Documentation

__init__ (  self,
int  rows,
int  columns
)
addItem (  self,
Marble.ScreenGraphicsItem  item,
int  row,
int  column
)
Qt::Alignment alignment (   self )
Qt::Alignment alignment (  self,
Marble.ScreenGraphicsItem  item
)
setAlignment (  self,
Qt::Alignment  align
)
setAlignment (  self,
Marble.ScreenGraphicsItem  item,
Qt::Alignment  a1
)
setSpacing (  self,
int  spacing
)

Set the spacing between the items inside the layout. By default the spacing is 0.

int spacing (   self )

Returns the spacing between the items inside the layout.

updatePositions (  self,
Marble.MarbleGraphicsItem  parent
)

This updates the positions of all items in the layout. Calling this will be done on every repainting, so you won't have to do it yourself.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal