16#ifndef QGSFEATUREFILTERWIDGET_P_H
17#define QGSFEATUREFILTERWIDGET_P_H
31#include "ui_qgsfeaturefilterwidget.h"
50class GUI_EXPORT QgsFeatureFilterWidget :
public QWidget,
private Ui::QgsFeatureFilterWidget
56 explicit QgsFeatureFilterWidget( QWidget *parent
SIP_TRANSFERTHIS =
nullptr );
58 void init( QgsVectorLayer *layer,
const QgsAttributeEditorContext &context, QgsDualView *mainView, QgsMessageBar *messageBar,
int messagebarTimeout );
68 void filterSelected();
80 void storedFilterExpressionBoxInit();
82 void storeExpressionButtonInit();
84 void filterExpressionBuilder();
85 void filterQueryChanged(
const QString &query );
86 void filterQueryAccepted();
91 void onFilterQueryTextChanged(
const QString &value );
97 void handleStoreFilterExpression();
102 void saveAsStoredFilterExpression();
108 void editStoredFilterExpression();
114 void updateCurrentStoredFilterExpression();
116 void filterColumnChanged( QAction *filterAction );
120 void replaceSearchWidget( QWidget *oldw, QWidget *neww );
122 QMenu *mFilterColumnsMenu =
nullptr;
123 QMenu *mStoredFilterExpressionMenu =
nullptr;
124 QTimer mFilterQueryTimer;
125 QgsSearchWidgetWrapper *mCurrentSearchWidgetWrapper =
nullptr;
126 QgsDualView *mMainView =
nullptr;
127 QgsVectorLayer *mLayer =
nullptr;
128 QgsAttributeEditorContext mEditorContext;
129 QgsMessageBar *mMessageBar =
nullptr;
Contains context information for attribute editor widgets.
This widget is used to show the attributes of a set of features of a QgsVectorLayer.
A bar for displaying non-blocking messages to the user.
Represents a vector layer which manages a vector based dataset.