ButtonList Class Reference

List of ButtonObject. More...

#include <UI/Types/ButtonList.h>

List of all members.

Public Member Functions

 ~ButtonList ()
void add (ButtonObject *pButton)
 Adds a button in the list.
void add (const QString &title, const QUrl &source)
 Adds a new button constructs from the title and source
void clear ()
 Removes and delete all buttons in the list.
const QList< QObject * > getList () const
 Gets the list of buttons (as QObjects) ready to be send to QML.

Detailed Description

List of ButtonObject.


Constructor & Destructor Documentation

ButtonList::~ButtonList (  ) 

Clear the list and deletes the buttons contained

See also:
clear()

Member Function Documentation

void ButtonList::add ( const QString &  title,
const QUrl &  source 
)

Adds a new button constructs from the title and source

Parameters:
title 
source source of the image to display with the button
void ButtonList::add ( ButtonObject pButton  ) 

Adds a button in the list.

Parameters:
pButton pointer on the new button
const QList< QObject * > ButtonList::getList (  )  const [inline]

Gets the list of buttons (as QObjects) ready to be send to QML.

Returns:

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Properties
Generated on Tue Sep 13 01:45:56 2011 for MedCenter by  doxygen 1.6.3