Skip to content

Commit 4e8c679

Browse files
committedOct 20, 2014
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
1 parent 5e54912 commit 4e8c679

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎python/gui/qgsfilterlineedit.sip

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ class QgsFilterLineEdit : QLineEdit
77
#include <qgsfilterlineedit.h>
88
%End
99
public:
10-
QgsFilterLineEdit( QWidget* parent = 0 );
10+
QgsFilterLineEdit( QWidget* parent = 0, QString nullValue = QString::null );
11+
12+
void setNullValue( QString nullValue );
13+
14+
QString nullValue() const;
1115

1216
/**
1317
* Sets the current text with NULL support
@@ -40,4 +44,10 @@ class QgsFilterLineEdit : QLineEdit
4044
*/
4145
void valueChanged( const QString& value );
4246

47+
protected:
48+
void mousePressEvent( QMouseEvent* e );
49+
void focusInEvent( QFocusEvent* e );
50+
void resizeEvent( QResizeEvent* e );
51+
void changeEvent( QEvent* e );
52+
void paintEvent( QPaintEvent* e );
4353
};

0 commit comments

Comments
 (0)
Please sign in to comment.