Blokkal::Ui::CategoryView Class Reference
Widget for displaying and selecting categories. More...
#include <categoryview.h>
Inheritance diagram for Blokkal::Ui::CategoryView:
Signals | |
void | categorySelectionChanged (void) |
Public Member Functions | |
CategoryView (Blokkal::Entry *entry, bool exclusive, QWidget *parent=0) | |
void | selectCategories (const QStringList &ids) |
QStringList | selectedCategories (void) const |
virtual | ~CategoryView (void) |
Detailed Description
Widget for displaying and selecting categories.Widget for displaying and selecting categories.
Definition at line 42 of file categoryview.h.
Constructor & Destructor Documentation
Blokkal::Ui::CategoryView::CategoryView | ( | Blokkal::Entry * | entry, | |
bool | exclusive, | |||
QWidget * | parent = 0 | |||
) |
Creates a new CategoryView.
- Parameters:
-
entry display the categories of this blog exclusive if TRUE only one category may be selected parent parent widget name object name
Definition at line 160 of file categoryview.cpp.
Blokkal::Ui::CategoryView::~CategoryView | ( | void | ) | [virtual] |
Destructor
Definition at line 174 of file categoryview.cpp.
Member Function Documentation
void Blokkal::Ui::CategoryView::categorySelectionChanged | ( | void | ) | [signal] |
This signal is emitted, when a previously checked category has been unchecked ot vice versa
void Blokkal::Ui::CategoryView::selectCategories | ( | const QStringList & | ids | ) |
Selects the item that represent a category with a title listed in ids
Definition at line 179 of file categoryview.cpp.
QStringList Blokkal::Ui::CategoryView::selectedCategories | ( | void | ) | const |
Returns a list with the titles of the selected categories.
- Returns:
- a list with the titles of the selected categories
Definition at line 197 of file categoryview.cpp.
The documentation for this class was generated from the following files: