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

marble

  • Marble
  • MarbleGraphicsGridLayout
Public Member Functions | List of all members
Marble::MarbleGraphicsGridLayout Class Reference

#include <MarbleGraphicsGridLayout.h>

Inheritance diagram for Marble::MarbleGraphicsGridLayout:
Inheritance graph
[legend]

Public Member Functions

 MarbleGraphicsGridLayout (int rows, int columns)
 
 ~MarbleGraphicsGridLayout ()
 
void addItem (ScreenGraphicsItem *item, int row, int column)
 
Qt::Alignment alignment () const
 
Qt::Alignment alignment (ScreenGraphicsItem *item) const
 
void setAlignment (Qt::Alignment align)
 
void setAlignment (ScreenGraphicsItem *item, Qt::Alignment)
 
void setSpacing (int spacing)
 
int spacing () const
 
void updatePositions (MarbleGraphicsItem *parent)
 
- Public Member Functions inherited from Marble::AbstractMarbleGraphicsLayout
 AbstractMarbleGraphicsLayout ()
 
virtual ~AbstractMarbleGraphicsLayout ()
 

Detailed Description

Definition at line 27 of file MarbleGraphicsGridLayout.h.

Constructor & Destructor Documentation

Marble::MarbleGraphicsGridLayout::MarbleGraphicsGridLayout ( int  rows,
int  columns 
)

Definition at line 64 of file MarbleGraphicsGridLayout.cpp.

Marble::MarbleGraphicsGridLayout::~MarbleGraphicsGridLayout ( )

Definition at line 69 of file MarbleGraphicsGridLayout.cpp.

Member Function Documentation

void Marble::MarbleGraphicsGridLayout::addItem ( ScreenGraphicsItem *  item,
int  row,
int  column 
)

Definition at line 74 of file MarbleGraphicsGridLayout.cpp.

Qt::Alignment Marble::MarbleGraphicsGridLayout::alignment ( ) const

Definition at line 184 of file MarbleGraphicsGridLayout.cpp.

Qt::Alignment Marble::MarbleGraphicsGridLayout::alignment ( ScreenGraphicsItem *  item) const

Definition at line 189 of file MarbleGraphicsGridLayout.cpp.

void Marble::MarbleGraphicsGridLayout::setAlignment ( Qt::Alignment  align)

Definition at line 194 of file MarbleGraphicsGridLayout.cpp.

void Marble::MarbleGraphicsGridLayout::setAlignment ( ScreenGraphicsItem *  item,
Qt::Alignment  align 
)

Definition at line 199 of file MarbleGraphicsGridLayout.cpp.

void Marble::MarbleGraphicsGridLayout::setSpacing ( int  spacing)

Set the spacing between the items inside the layout.

By default the spacing is 0.

Definition at line 209 of file MarbleGraphicsGridLayout.cpp.

int Marble::MarbleGraphicsGridLayout::spacing ( ) const

Returns the spacing between the items inside the layout.

Definition at line 204 of file MarbleGraphicsGridLayout.cpp.

void Marble::MarbleGraphicsGridLayout::updatePositions ( MarbleGraphicsItem *  parent)
virtual

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.

Implements Marble::AbstractMarbleGraphicsLayout.

Definition at line 83 of file MarbleGraphicsGridLayout.cpp.


The documentation for this class was generated from the following files:
  • MarbleGraphicsGridLayout.h
  • MarbleGraphicsGridLayout.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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