Nyall Dawson
d959384c8b
Allow hiding clear button in QgsFilterLineEdit
2016-09-08 21:48:25 +10:00
Nyall Dawson
d71453d84a
Add ability to set default values for QgsFilterLineEdit
...
and have clearing the widget reset to default rather than
null
2016-09-08 21:48:25 +10:00
Nyall Dawson
edcc247c3e
Add unit tests for QgsFilterLineEdit, improve docs, add clearValue slot
2016-09-08 21:48:25 +10:00
Nyall Dawson
98f25f59e7
Rework QgsFilterLineEdit handling of clear button
...
Don't use a child button but instead paint the icon when
required. Improves interaction with the widget/clear
button.
2016-09-06 16:45:32 +10:00
Nyall Dawson
c49b5b777f
Change a lot of arguments to const references in core/gui
...
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Nyall Dawson
3c71498c3e
Add some missing /TransferThis/ to sip bindings for QObject parents
2015-02-18 17:35:47 +11:00
Matthias Kuhn
4e8c679ba0
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
2014-10-20 15:47:10 +02:00
Matthias Kuhn
0d9683e419
Sip update and const correctness
2014-09-23 14:39:05 +02:00
Denis Rouzaud
f97d5e319e
[custom widgets] adds filter line edit
2014-09-02 15:15:16 +02:00
Juergen E. Fischer
c4c131ef75
sip sync
2014-05-27 23:32:42 +02:00
Juergen E. Fischer
3854086d47
sip update
2013-06-23 16:00:24 +02:00
Alexander Bruy
8694cb8cd5
[FEATURE] add lineedit with builtin clear button
2012-11-02 19:13:31 +02:00