16 #ifndef QGSFEATUREFILTERWIDGET_P_H 17 #define QGSFEATUREFILTERWIDGET_P_H 32 #include "ui_qgsfeaturefilterwidget.h" 48 class GUI_EXPORT QgsFeatureFilterWidget :
public QWidget,
private Ui::QgsFeatureFilterWidget
55 explicit QgsFeatureFilterWidget( QWidget *parent
SIP_TRANSFERTHIS =
nullptr );
64 void setFilterExpression(
const QString &filterString,
66 bool alwaysShowFilter =
false );
70 void filterSelected();
80 void storedFilterExpressionBoxInit();
82 void storeExpressionButtonInit();
84 void filterExpressionBuilder();
86 void filterQueryChanged(
const QString &query );
87 void filterQueryAccepted();
92 void onFilterQueryTextChanged(
const QString &value );
98 void handleStoreFilterExpression();
103 void saveAsStoredFilterExpression();
109 void editStoredFilterExpression();
115 void updateCurrentStoredFilterExpression( );
117 void filterColumnChanged( QAction *filterAction );
122 void replaceSearchWidget( QWidget *oldw, QWidget *neww );
124 QMenu *mFilterColumnsMenu =
nullptr;
125 QMenu *mStoredFilterExpressionMenu =
nullptr;
126 QTimer mFilterQueryTimer;
132 int mMessageBarTimeout = 0;
135 #endif // QGSFEATUREFILTERWIDGET_P_H
This class contains context information for attribute editor widgets.
A bar for displaying non-blocking messages to the user.
Represents a vector layer which manages a vector based data sets.
This widget is used to show the attributes of a set of features of a QgsVectorLayer.