A small widget that searchs through a parameter list for a particular name of either a parameter or another parameter list.
More...
#include <Optika_metawindow.hpp>
Inherits QDialog.
|
| void | search () |
| | Searches the for a parameter or parameter list containing the string enterd in the search terms box. More...
|
| |
| void | next () |
| | Highlights the next result in the list of results that are set by the search function. More...
|
| |
| void | previous () |
| | Highlights the previous result in the list of results that are set by the search function. More...
|
| |
|
| QModelIndexList | removeHiddenItems (QModelIndexList &items) |
| | Removes any indicies in a QModelIndexList that correspond to a hidden item. More...
|
| |
A small widget that searchs through a parameter list for a particular name of either a parameter or another parameter list.
Definition at line 65 of file Optika_metawindow.hpp.
| Optika::SearchWidget::SearchWidget |
( |
TreeModel * |
treeModel, |
|
|
TreeView * |
treeView, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
| void Optika::SearchWidget::search |
( |
| ) |
|
|
privateslot |
Searches the for a parameter or parameter list containing the string enterd in the search terms box.
Definition at line 90 of file Optika_metawindow.cpp.
| void Optika::SearchWidget::next |
( |
| ) |
|
|
privateslot |
Highlights the next result in the list of results that are set by the search function.
Definition at line 113 of file Optika_metawindow.cpp.
| void Optika::SearchWidget::previous |
( |
| ) |
|
|
privateslot |
Highlights the previous result in the list of results that are set by the search function.
Definition at line 121 of file Optika_metawindow.cpp.
| QModelIndexList Optika::SearchWidget::removeHiddenItems |
( |
QModelIndexList & |
items | ) |
|
|
private |
Removes any indicies in a QModelIndexList that correspond to a hidden item.
- Parameters
-
| items | A list of indicies from which all hidden items will be removed |
- Returns
- A QModelIndexList identical to the one specified in the items parameter except that all indicies corresponding to hidden items have been removed.
Definition at line 129 of file Optika_metawindow.cpp.
| QPushButton* Optika::SearchWidget::searchButton |
|
private |
| QPushButton * Optika::SearchWidget::closeButton |
|
private |
| QPushButton * Optika::SearchWidget::nextButton |
|
private |
| QPushButton * Optika::SearchWidget::previousButton |
|
private |
| QLineEdit* Optika::SearchWidget::searchTermsEdit |
|
private |
| QLabel* Optika::SearchWidget::matchesLabel |
|
private |
| TreeView* Optika::SearchWidget::treeView |
|
private |
| QList<QModelIndex> Optika::SearchWidget::currentSearchResults |
|
private |
| QList<QModelIndex>::const_iterator Optika::SearchWidget::currentSearchIterator |
|
private |
The documentation for this class was generated from the following files: