Skip to content

Commit

Permalink
SIP update for QgsFilterLineEdit
Browse files Browse the repository at this point in the history
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 4e8c679
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion python/gui/qgsfilterlineedit.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.