SIP update for QgsFilterLineEdit

events have not been defined in the sip file, therefore QgsFilterLineEdits
created in python did not receive the events, leading to visual glitches.

Fix #11372
This commit is contained in:
Matthias Kuhn 2014-10-20 15:47:10 +02:00
parent 5e54912565
commit 4e8c679ba0

View File

@ -7,7 +7,11 @@ class QgsFilterLineEdit : QLineEdit
#include <qgsfilterlineedit.h>
%End
public:
QgsFilterLineEdit( QWidget* parent = 0 );
QgsFilterLineEdit( QWidget* parent = 0, QString nullValue = QString::null );
void setNullValue( QString nullValue );
QString nullValue() const;
/**
* Sets the current text with NULL support
@ -40,4 +44,10 @@ class QgsFilterLineEdit : QLineEdit
*/
void valueChanged( const QString& value );
protected:
void mousePressEvent( QMouseEvent* e );
void focusInEvent( QFocusEvent* e );
void resizeEvent( QResizeEvent* e );
void changeEvent( QEvent* e );
void paintEvent( QPaintEvent* e );
};