[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Slots | Signals | Public Member Functions
KLFFlowListWidget Class Reference

#include <klfflowlistwidget.h>

List of all members.

Public Slots

void setItems (const QStringList &strings, const QVariantList &datalist=QVariantList())
void addItem (const QString &string, const QVariant &data=QVariant())
void removeItem (int i)
void insertItem (int i, const QString &s, const QVariant &data=QVariant())

Signals

void itemActivated (const QString &s, const QVariant &data)
void itemActivated (int i, const QString &s, const QVariant &data)

Public Member Functions

 KLFFlowListWidget (QWidget *parent=NULL)
virtual ~KLFFlowListWidget ()
int itemCount () const
QString itemAt (int i) const
QVariant itemDataAt (int i) const
QStringList itemList () const
QVariantList itemDataList () const

Detailed Description

Definition at line 34 of file klfflowlistwidget.h.


Constructor & Destructor Documentation

KLFFlowListWidget::KLFFlowListWidget ( QWidget *  parent = NULL)

Definition at line 34 of file klfflowlistwidget.cpp.

References KLFFlowLayout::FlushBegin, and KLFFlowLayout::setFlush().

Definition at line 43 of file klfflowlistwidget.cpp.


Member Function Documentation

void KLFFlowListWidget::addItem ( const QString string,
const QVariant data = QVariant() 
) [slot]

Definition at line 98 of file klfflowlistwidget.cpp.

References insertItem().

Referenced by setItems().

void KLFFlowListWidget::insertItem ( int  i,
const QString s,
const QVariant data = QVariant() 
) [slot]
void KLFFlowListWidget::itemActivated ( const QString s,
const QVariant data 
) [signal]
void KLFFlowListWidget::itemActivated ( int  i,
const QString s,
const QVariant data 
) [signal]

Definition at line 48 of file klfflowlistwidget.cpp.

References KLF_ASSERT_CONDITION, and QList::size().

Referenced by itemList().

int KLFFlowListWidget::itemCount ( ) const [inline]

Definition at line 41 of file klfflowlistwidget.h.

References QList::size().

Definition at line 55 of file klfflowlistwidget.cpp.

References KLF_ASSERT_CONDITION, and QList::size().

Referenced by itemDataList().

QVariantList KLFFlowListWidget::itemDataList ( ) const

Definition at line 72 of file klfflowlistwidget.cpp.

References itemDataAt(), and QList::size().

Definition at line 63 of file klfflowlistwidget.cpp.

References itemAt(), and QList::size().

void KLFFlowListWidget::removeItem ( int  i) [slot]

Definition at line 103 of file klfflowlistwidget.cpp.

References KLF_ASSERT_CONDITION, QList::removeAt(), and QList::size().

void KLFFlowListWidget::setItems ( const QStringList strings,
const QVariantList &  datalist = QVariantList() 
) [slot]

Definition at line 82 of file klfflowlistwidget.cpp.

References addItem(), KLF_ASSERT_CONDITION, QList::size(), and QList::takeAt().


The documentation for this class was generated from the following files:

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net