#include <search_text_widget.h>
Inherits QFrame.
|
|
void | selectedFilterColumnChanged () |
| | This signal is emitted when the selected filter column changed.
|
| |
|
void | searchParametersChanged () |
| | This signal is emitted when the search parameters changed.
|
| |
cSearchTextWidget allows to filter a given QSortProxyModel to be filtered by normal text, text with wildcards, regular expressions, fuzzy text. This control can embedded in QWidget based UIs.
◆ cSearchTextWidget()
| adtf::ui::widget::detail::cSearchTextWidget::cSearchTextWidget |
( |
QWidget * | pParent = nullptr | ) |
|
◆ ~cSearchTextWidget()
| adtf::ui::widget::detail::cSearchTextWidget::~cSearchTextWidget |
( |
| ) |
|
◆ Clear()
| void adtf::ui::widget::detail::cSearchTextWidget::Clear |
( |
| ) |
|
◆ GetSelectedFilterColumn()
| uint64_t adtf::ui::widget::detail::cSearchTextWidget::GetSelectedFilterColumn |
( |
| ) |
const |
Returns index of selected filter column.
- Returns
- index
◆ GetSelectedFilterType()
| FilterType adtf::ui::widget::detail::cSearchTextWidget::GetSelectedFilterType |
( |
| ) |
const |
Returns the selected filter type.
- Returns
- selected filter type
◆ SelectFilterType()
| void adtf::ui::widget::detail::cSearchTextWidget::SelectFilterType |
( |
FilterType | oFilterType | ) |
|
Select the filter type.
- Parameters
-
| oFilterType | The filter type. |
◆ SetCaseSensitive()
| void adtf::ui::widget::detail::cSearchTextWidget::SetCaseSensitive |
( |
bool | bCaseSensitive | ) |
|
Set whether 'case sensitive' is set or not.
- Parameters
-
| bCaseSensitive | Whether 'case sensitive' should be set. |
◆ SetFilterColumnNames()
| void adtf::ui::widget::detail::cSearchTextWidget::SetFilterColumnNames |
( |
const std::vector< QString > & | vecFilterColumnNames | ) |
|
Set the names of filter columns which can be single-selected.
- Parameters
-
| vecFilterColumnNames | The column names. |
◆ SetFilterColumnNamesFromModel()
| void adtf::ui::widget::detail::cSearchTextWidget::SetFilterColumnNamesFromModel |
( |
const QAbstractItemModel & | oModel | ) |
|
Set the names of filter columns which can be single-selected.
- Parameters
-
| oModel | The model from which the column names are obtained. |
◆ SetFilterModel()
| void adtf::ui::widget::detail::cSearchTextWidget::SetFilterModel |
( |
IFilterModel & | oFilterModel | ) |
|
Set the model which is filtered.
- Parameters
-
| oFilterModel | The filter model. |
◆ SetSearchText()
| void adtf::ui::widget::detail::cSearchTextWidget::SetSearchText |
( |
const QString & | strSearchText | ) |
|
Set the search text. strSearchText The text.
The documentation for this class was generated from the following file: