mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
		
			
				
	
	
		
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/editorwidgets/qgsdefaultsearchwidgetwrapper.h                *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsDefaultSearchWidgetWrapper : QgsSearchWidgetWrapper
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Wraps a search widget. Default form is just a :py:class:`QgsLineFilterEdit`
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsdefaultsearchwidgetwrapper.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    explicit QgsDefaultSearchWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *parent /TransferThis/ = 0 );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsDefaultSearchWidgetWrapper
 | 
						|
%End
 | 
						|
 | 
						|
  public:
 | 
						|
    virtual QString expression() const;
 | 
						|
 | 
						|
    virtual bool applyDirectly();
 | 
						|
 | 
						|
    virtual QgsSearchWidgetWrapper::FilterFlags supportedFlags() const;
 | 
						|
 | 
						|
    virtual QgsSearchWidgetWrapper::FilterFlags defaultFlags() const;
 | 
						|
 | 
						|
    virtual QString createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const;
 | 
						|
 | 
						|
 | 
						|
  public slots:
 | 
						|
 | 
						|
    virtual void clearWidget();
 | 
						|
 | 
						|
 | 
						|
    virtual void setEnabled( bool enabled );
 | 
						|
 | 
						|
 | 
						|
  protected slots:
 | 
						|
    virtual void setExpression( const QString &exp );
 | 
						|
 | 
						|
 | 
						|
  protected:
 | 
						|
    virtual QWidget *createWidget( QWidget *parent );
 | 
						|
 | 
						|
    virtual void initWidget( QWidget *editor );
 | 
						|
 | 
						|
    virtual bool valid() const;
 | 
						|
 | 
						|
 | 
						|
    QgsFilterLineEdit *lineEdit();
 | 
						|
%Docstring
 | 
						|
Returns a pointer to the line edit part of the widget.
 | 
						|
 | 
						|
.. note::
 | 
						|
 | 
						|
   this method is in place for unit testing only, and is not considered
 | 
						|
   stable API
 | 
						|
%End
 | 
						|
 | 
						|
    QCheckBox *caseSensitiveCheckBox();
 | 
						|
%Docstring
 | 
						|
Returns a pointer to the case sensitivity checkbox in the widget.
 | 
						|
 | 
						|
.. note::
 | 
						|
 | 
						|
   this method is in place for unit testing only, and is not considered
 | 
						|
   stable API
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/editorwidgets/qgsdefaultsearchwidgetwrapper.h                *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |