• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kalarm/lib

PackedLayout Class Reference

#include <packedlayout.h>

Inheritance diagram for PackedLayout:

Inheritance graph
[legend]

List of all members.


Detailed Description

The PackedLayout class packs a group of widgets into rows.

The widgets are arranged according to the total width available.

Author:
David Jarvie <software@astrojar.org.uk>

Definition at line 33 of file packedlayout.h.


Public Member Functions

virtual void addItem (QLayoutItem *item)
virtual int count () const
virtual Qt::Orientations expandingDirections () const
virtual bool hasHeightForWidth () const
virtual int heightForWidth (int w) const
virtual void invalidate ()
virtual QLayoutItem * itemAt (int index) const
virtual QSize minimumSize () const
 PackedLayout (Qt::Alignment alignment)
 PackedLayout (QWidget *parent, Qt::Alignment alignment)
virtual void setGeometry (const QRect &r)
virtual QSize sizeHint () const
virtual QLayoutItem * takeAt (int index)
 ~PackedLayout ()

Constructor & Destructor Documentation

PackedLayout::PackedLayout ( QWidget *  parent,
Qt::Alignment  alignment 
)

Constructor.

Parameters:
parent the parent widget
alignment how to align the widgets horizontally within the layout

Definition at line 24 of file packedlayout.cpp.

PackedLayout::PackedLayout ( Qt::Alignment  alignment  )  [explicit]

Definition at line 31 of file packedlayout.cpp.

PackedLayout::~PackedLayout (  ) 

Definition at line 38 of file packedlayout.cpp.


Member Function Documentation

void PackedLayout::addItem ( QLayoutItem *  item  )  [virtual]

Reimplemented from QLayout.

Definition at line 47 of file packedlayout.cpp.

virtual int PackedLayout::count (  )  const [inline, virtual]

Definition at line 46 of file packedlayout.h.

virtual Qt::Orientations PackedLayout::expandingDirections (  )  const [inline, virtual]

Definition at line 53 of file packedlayout.h.

virtual bool PackedLayout::hasHeightForWidth (  )  const [inline, virtual]

Definition at line 44 of file packedlayout.h.

int PackedLayout::heightForWidth ( int  w  )  const [virtual]

Definition at line 65 of file packedlayout.cpp.

virtual void PackedLayout::invalidate (  )  [inline, virtual]

Definition at line 54 of file packedlayout.h.

QLayoutItem * PackedLayout::itemAt ( int  index  )  const [virtual]

Definition at line 53 of file packedlayout.cpp.

QSize PackedLayout::minimumSize (  )  const [virtual]

Definition at line 82 of file packedlayout.cpp.

void PackedLayout::setGeometry ( const QRect &  r  )  [virtual]

Definition at line 75 of file packedlayout.cpp.

virtual QSize PackedLayout::sizeHint (  )  const [inline, virtual]

Definition at line 51 of file packedlayout.h.

QLayoutItem * PackedLayout::takeAt ( int  index  )  [virtual]

Reimplemented from QLayout.

Definition at line 58 of file packedlayout.cpp.


The documentation for this class was generated from the following files:
  • packedlayout.h
  • packedlayout.cpp

kalarm/lib

Skip menu "kalarm/lib"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal