LabelList Class Reference

A widget for the SearchNodeSidebar. More...

#include <labellist.h>

List of all members.

Public Slots

void update ()

Signals

void addedLabel (QString label)
void removedLabel (QString label)
void addedBannedLabel (QString label)
void removedBannedLabel (QString label)
void clearLabels ()
void clearBannedLabels ()

Public Member Functions

 LabelList (QWidget *parent=0, Qt::WindowFlags f=0)
 ~LabelList ()

Detailed Description

A widget for the SearchNodeSidebar.

This widget provides a gui for the SearchNodeSidebar to restrict the search with help of the labels. It consists of a row with a caption and a button to extend it and show its full functionallity. It is possible to add labels which the nodes must have and labels which the nodes must not have (banned labels).

Author:
Manuel Unglaub

Constructor & Destructor Documentation

LabelList::LabelList ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

The constructor.

Constructs a LabelList which is a child of parent and has the provided window flags.

Parameters:
parent The parent of this LabelList.
f The window flags of this LabelList.
LabelList::~LabelList (  ) 

The destructor.

Destroys the object.


Member Function Documentation

void LabelList::addedBannedLabel ( QString  label  )  [signal]

This signal is emited after a banned label is added.

Parameters:
label. The added banned label.
void LabelList::addedLabel ( QString  label  )  [signal]

This signal is emited after a label is added.

Parameters:
label The added label.
void LabelList::clearBannedLabels (  )  [signal]

This signal is emited after all banned labels are removed.

See also:
clearLabels()
void LabelList::clearLabels (  )  [signal]

This signal is emited after all labels are removed.

See also:
clearBannedLabels()
void LabelList::removedBannedLabel ( QString  label  )  [signal]

This signal is emited after a banned label is removed.

Parameters:
label The removed banned label.
void LabelList::removedLabel ( QString  label  )  [signal]

This signal is emited after a label is removed.

Parameters:
label The removed label.
void LabelList::update (  )  [slot]

Use this function if the labels have changed. It will recreate the list of labels and all labels and banned labels will removed.


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