LabelList Class Reference
A widget for the SearchNodeSidebar.
More...
#include <labellist.h>
List of all members.
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:
-
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:
-
void LabelList::clearBannedLabels |
( |
|
) |
[signal] |
This signal is emited after all banned labels are removed.
- See also:
- clearLabels()
void LabelList::clearLabels |
( |
|
) |
[signal] |
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:
-
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:
- src/gui/widget/labellist.h
- src/gui/widget/labellist.cpp