48 #ifndef _MIRA_TREEVIEWFILTER_H_ 49 #define _MIRA_TREEVIEWFILTER_H_ 73 virtual void timerEvent(QTimerEvent*);
77 void setAutoHide(
bool hide);
96 void useFilterRole(
bool use=
true);
100 FilterRole = Qt::UserRole+0x1F
105 bool getAutoHide()
const;
112 void setAlwaysActive(
bool always);
119 void setExpandAll(
bool expandAll);
126 void setShowChildren(
bool show);
133 void setExpandChildren(
bool expand);
141 void setFilterColumns(
const std::vector<int>& cols);
142 void setFilterColumns(
int col1);
143 void setFilterColumns(
int col1,
int col2);
144 void setFilterColumns(
int col1,
int col2,
int col3);
153 void onFilterTextChanged(
const QString& text);
158 bool applyFilter(
const QString& filter,
const QModelIndex& parent,
160 void startFilterUpdateTimer(
int delay);
164 QTreeView* mTreeView;
169 std::vector<int> mFilterColumns;
175 bool mExpandChildren;
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Provides a QLineEdit widget that has a small button on its right side for clearing the content...
Definition: LineEditClear.h:65
Definition: TreeViewFilter.h:64