Faith::ListView< Item > Class Template Reference

#include <faith/listview.h>

Inheritance diagram for Faith::ListView< Item >:

Faith::GListView Faith::ScrollView Faith::GItemView Faith::Widget Faith::Object Faith::PaintDevice Faith::ListBox List of all members.

Signals

void currentChanged ()
void selectionChanged ()

Public Member Functions

 ListView (Faith::Widget *parent, const char *name=0)
 ListView (ListItemSet< Item > *set, Faith::Widget *parent, const char *name=0)
std::list< Item * > selectedItems ()
std::list< const Item * > selectedItems () const
void setSet (ListItemSet< Item > *set)
Item * currentItem ()
const Item * currentItem () const
Item * gItemAt (const Faith::Point &pt)
const Item * gItemAt (const Faith::Point &pt) const
void setCurrent (Item *g)
void setSelected (Item *item, bool sel)
bool isSelected (const Item *item) const
void clearSelection ()
Item * firstChild ()
Item * firstChild (Item *of)
Item * nextSibling ()
void ensureVisible (Item *item)
void addColumn (const Faith::String &name)

template<typename Item = ListItem>
class Faith::ListView< Item >


Constructor & Destructor Documentation

template<typename Item = ListItem>
Faith::ListView< Item >::ListView ( Faith::Widget parent,
const char *  name = 0 
) [inline]

template<typename Item = ListItem>
Faith::ListView< Item >::ListView ( ListItemSet< Item > *  set,
Faith::Widget parent,
const char *  name = 0 
) [inline]


Member Function Documentation

template<typename Item = ListItem>
void Faith::ListView< Item >::addColumn ( const Faith::String name  )  [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::clearSelection (  )  [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::currentChanged (  )  [signal]

Reimplemented in Faith::ListBox.

template<typename Item = ListItem>
const Item* Faith::ListView< Item >::currentItem (  )  const [inline]

template<typename Item = ListItem>
Item* Faith::ListView< Item >::currentItem (  )  [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::ensureVisible ( Item *  item  )  [inline]

template<typename Item = ListItem>
Item* Faith::ListView< Item >::firstChild ( Item *  of  )  [inline]

template<typename Item = ListItem>
Item* Faith::ListView< Item >::firstChild (  )  [inline]

template<typename Item = ListItem>
const Item* Faith::ListView< Item >::gItemAt ( const Faith::Point pt  )  const [inline]

template<typename Item = ListItem>
Item* Faith::ListView< Item >::gItemAt ( const Faith::Point pt  )  [inline]

Reimplemented from Faith::GListView.

template<typename Item = ListItem>
bool Faith::ListView< Item >::isSelected ( const Item *  item  )  const [inline]

template<typename Item = ListItem>
Item* Faith::ListView< Item >::nextSibling (  )  [inline]

template<typename Item = ListItem>
std::list<const Item*> Faith::ListView< Item >::selectedItems (  )  const [inline]

template<typename Item = ListItem>
std::list<Item*> Faith::ListView< Item >::selectedItems (  )  [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::selectionChanged (  )  [signal]

template<typename Item = ListItem>
void Faith::ListView< Item >::setCurrent ( Item *  g  )  [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::setSelected ( Item *  item,
bool  sel 
) [inline]

template<typename Item = ListItem>
void Faith::ListView< Item >::setSet ( ListItemSet< Item > *  set  )  [inline]


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:10 2006 for Faith by  doxygen 1.4.7