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

kalarm/lib

Public Member Functions | List of all members
PackedLayout Class Reference

#include <packedlayout.h>

Inheritance diagram for PackedLayout:
Inheritance graph
[legend]

Public Member Functions

 PackedLayout (QWidget *parent, Qt::Alignment alignment)
 
 PackedLayout (Qt::Alignment alignment)
 
 ~PackedLayout ()
 
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
 
virtual void setGeometry (const QRect &r)
 
virtual QSize sizeHint () const
 
virtual QLayoutItem * takeAt (int index)
 

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 djarv.nosp@m.ie@k.nosp@m.de.or.nosp@m.g

Definition at line 33 of file packedlayout.h.

Constructor & Destructor Documentation

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

Constructor.

Parameters
parentthe parent widget
alignmenthow 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

Definition at line 47 of file packedlayout.cpp.

virtual int PackedLayout::count ( ) const
inlinevirtual

Definition at line 46 of file packedlayout.h.

virtual Qt::Orientations PackedLayout::expandingDirections ( ) const
inlinevirtual

Definition at line 53 of file packedlayout.h.

virtual bool PackedLayout::hasHeightForWidth ( ) const
inlinevirtual

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 ( )
inlinevirtual

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
inlinevirtual

Definition at line 51 of file packedlayout.h.

QLayoutItem * PackedLayout::takeAt ( int  index)
virtual

Definition at line 58 of file packedlayout.cpp.


The documentation for this class was generated from the following files:
  • packedlayout.h
  • packedlayout.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm/lib

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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