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

lokalize

Public Types | Public Member Functions | List of all members
FlowLayout Class Reference

#include <flowlayout.h>

Inheritance diagram for FlowLayout:
Inheritance graph
[legend]

Public Types

enum  User { glossary, webquery, standard }
 

Public Member Functions

 FlowLayout (User user=standard, QWidget *signalingWidget=0, const QVector< KAction * > &actions=QVector< KAction * >(), int margin=0, int spacing=-1)
 
 ~FlowLayout ()
 
void addItem (QLayoutItem *item)
 
void addTerm (const QString &term, const QByteArray &entryId, bool capFirst=false)
 
void clearTerms ()
 
int count () const
 
Qt::Orientations expandingDirections () const
 
bool hasHeightForWidth () const
 
int heightForWidth (int) const
 
QLayoutItem * itemAt (int index) const
 
QSize minimumSize () const
 
void setGeometry (const QRect &rect)
 
QSize sizeHint () const
 
QLayoutItem * takeAt (int index)
 

Detailed Description

used in glossary and kross views

copied from 'pretty' docs

Definition at line 47 of file flowlayout.h.

Member Enumeration Documentation

enum FlowLayout::User
Enumerator
glossary 
webquery 
standard 

Definition at line 51 of file flowlayout.h.

Constructor & Destructor Documentation

FlowLayout::FlowLayout ( User  user = standard,
QWidget *  signalingWidget = 0,
const QVector< KAction * > &  actions = QVector<KAction*>(),
int  margin = 0,
int  spacing = -1 
)

c'tor for glossary view

Definition at line 44 of file flowlayout.cpp.

FlowLayout::~FlowLayout ( )

Definition at line 93 of file flowlayout.cpp.

Member Function Documentation

void FlowLayout::addItem ( QLayoutItem *  item)

Definition at line 113 of file flowlayout.cpp.

void FlowLayout::addTerm ( const QString &  term,
const QByteArray &  entryId,
bool  capFirst = false 
)
Parameters
termis the term matched
entryis index of entry in the Glossary list

Definition at line 180 of file flowlayout.cpp.

void FlowLayout::clearTerms ( )

Definition at line 171 of file flowlayout.cpp.

int FlowLayout::count ( ) const

Definition at line 114 of file flowlayout.cpp.

Qt::Orientations FlowLayout::expandingDirections ( ) const

Definition at line 115 of file flowlayout.cpp.

bool FlowLayout::hasHeightForWidth ( ) const

Definition at line 116 of file flowlayout.cpp.

int FlowLayout::heightForWidth ( int  width) const

Definition at line 118 of file flowlayout.cpp.

QLayoutItem * FlowLayout::itemAt ( int  index) const

Definition at line 108 of file flowlayout.cpp.

QSize FlowLayout::minimumSize ( ) const

Definition at line 135 of file flowlayout.cpp.

void FlowLayout::setGeometry ( const QRect &  rect)

Definition at line 124 of file flowlayout.cpp.

QSize FlowLayout::sizeHint ( ) const

Definition at line 130 of file flowlayout.cpp.

QLayoutItem * FlowLayout::takeAt ( int  index)

Definition at line 100 of file flowlayout.cpp.


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

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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