26 #include <qaivlib_global.h>
27 #include <qfilterviewconnector.h>
29 class QAbstractItemView;
31 class QFilterViewPrivate;
45 Q_PROPERTY(
int maxVisibileFilterSets READ maxVisibileFilterSets WRITE setMaxVisibileFilterSets)
50 void connectToView(QAbstractItemView* view);
52 int defaultFilterType()
const;
56 bool filterVisible()
const;
58 int maxVisibileFilterSets()
const;
60 void setAllowedFilterTypes(
int types);
62 void setDefaultFilterType(
int type);
64 void setMaxVisibileFilterSets(
int rows);
66 void setModel(QAbstractItemModel* model);
68 void toggleFilter(
const QModelIndex & index );
70 void calcGeometryRequested();
71 void cornerButtonClicked();
76 void visibilityChanged(
bool visible);
77 void removeColumnFilter(
int row,
int column);
84 void changeProperties();
85 void disableSelectedFilters();
86 void enableSelectedFilters();
94 void setFilterVisible(
bool visible);
99 void toggleSelectedFilters();
101 void contextMenuEvent( QContextMenuEvent* event );
102 void focusInEvent(QFocusEvent* event);
103 void mousePressEvent( QMouseEvent* event );
108 void updateGeometry();
110 QFilterViewPrivate* d;
113 #endif // QFILTERVIEW_H
The QFilterViewConnector class connects a QFilterView with a QTableView or QTreeView.
Definition: qfilterviewconnector.h:33
The QFilterView class provides a widget that is used to view and edit filter definitions.
Definition: qfilterview.h:38