16 #ifndef QGSSEARCHWIDGETTOOLBUTTON_H
17 #define QGSSEARCHWIDGETTOOLBUTTON_H
21 #include <QToolButton>
43 if ( qobject_cast<QgsSearchWidgetToolButton *>( sipCpp ) )
44 sipType = sipType_QgsSearchWidgetToolButton;
69 void setAvailableFlags( QgsSearchWidgetWrapper::FilterFlags flags );
77 void setDefaultFlags( QgsSearchWidgetWrapper::FilterFlags flags );
84 QgsSearchWidgetWrapper::FilterFlags
availableFlags()
const {
return mAvailableFilterFlags; }
95 void setActiveFlags( QgsSearchWidgetWrapper::FilterFlags flags );
114 QgsSearchWidgetWrapper::FilterFlags
activeFlags()
const {
return mFilterFlags; }
121 bool isActive()
const;
149 void aboutToShowMenu();
151 void actionSelected();
153 void searchWidgetValueChanged();
157 QgsSearchWidgetWrapper::FilterFlags mAvailableFilterFlags;
158 QgsSearchWidgetWrapper::FilterFlags mDefaultFilterFlags;
159 QgsSearchWidgetWrapper::FilterFlags mFilterFlags;
160 QMenu *mMenu =
nullptr;
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)