Skip to content
Permalink
Browse files

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
  • Loading branch information
m-kuhn committed Oct 20, 2014
1 parent 5e54912 commit 4e8c679ba097f7f2c05e79945f9ba8475de1d49d
Showing with 11 additions and 1 deletion.
  1. +11 −1 python/gui/qgsfilterlineedit.sip
@@ -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 );
};

0 comments on commit 4e8c679

Please sign in to comment.
You can’t perform that action at this time.