LabelWidget Class Reference

A widget to select labels. More...

#include <labelwidget.h>

List of all members.

Public Slots

QStringList getLabels () const
void selectLabels (QStringList select)
void manageLabels ()
void updateLabels ()

Public Member Functions

 LabelWidget (QWidget *parent=0, bool showManageLabelsBtn=true)
 ~LabelWidget ()

Detailed Description

A widget to select labels.

Use this widget to select labels. It contains a slot to preselect labels an a button to show the LabelManagementDialog.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

LabelWidget::LabelWidget ( QWidget *  parent = 0,
bool  showManageLabelsBtn = true 
)

The constructor.

Constructs the LabelWidget which is a child of parent.

Parameters:
parent The parent of this LabelWidget.
showManageLabelsBtn Indicates if the button to manage the labels is visible.
LabelWidget::~LabelWidget (  ) 

The destructor.

Destroys the object.


Member Function Documentation

QStringList LabelWidget::getLabels (  )  const [slot]

Get a QStringList with all the selected labels.

Returns:
The selected labels.
void LabelWidget::manageLabels (  )  [slot]
void LabelWidget::selectLabels ( QStringList  select  )  [slot]

Select all labels which the QStringList contains.

Parameters:
select The labels which will be selected.
void LabelWidget::updateLabels (  )  [slot]

Reload the the tree with the labels to show the modification made in the LabelManagementDialog.


The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:51 2010 for Silence by  doxygen 1.6.3