Nyall Dawson
f1633a1796
Change all signals to use const refs for non trivial objects
2015-10-26 22:46:25 +11: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
be26c61bc4
Ensure expression context is available to expression builders
...
called from field expression widgets
2015-08-22 19:01:42 +10:00
Denis Rouzaud
665866f1a6
more const correctness
2014-09-01 16:55:18 +02:00
Nathan Woodrow
0defbeb049
Disable return to run field calc til 2.6. Disable button on invalid expression
2014-06-19 21:46:22 +10:00
Juergen E. Fischer
03475be523
fix build error and update sips
2014-06-14 11:47:05 +02:00
Denis Rouzaud
f380df1cd7
FieldExpressionWidget: add tooltip if expression is larger than widget
2014-06-06 08:53:13 +02:00
Juergen E. Fischer
c4c131ef75
sip sync
2014-05-27 23:32:42 +02:00
Juergen E. Fischer
bbdf7cd220
sync some sip bindings
2014-05-18 15:22:32 +02:00
Denis Rouzaud
09a9a6171a
field proxy model to filter fields on their type (also fix #10181 )
2014-05-12 14:20:45 +02:00
Denis Rouzaud
90f0721e1e
Q_PROPERTY to define dialog title in field expression widget
2014-05-06 17:17:46 +02:00
Matthias Kuhn
753eb28a39
Fix sip compile problems
2014-05-06 14:30:47 +02:00
Denis Rouzaud
b9f5477b7f
[ fix #10168 ] expression widget: grey out when disabled
...
use const when possible
2014-05-06 11:10:44 +02:00
Juergen E. Fischer
df4360b0c8
identation update
2014-05-02 10:36:30 +02:00
Denis Rouzaud
71727ac381
update sip
2014-05-02 07:56:34 +02:00
Denis Rouzaud
fe20f7bbfa
remove protected slots in sip
...
fix signal emitted twice
handle null expression (fix empty row)
coherent color (colored text, not background)
fix wrong slot
2014-05-02 07:56:34 +02:00
Denis Rouzaud
86700d2426
QgsFieldCombobBox do not allow expression
...
editExpression protected, setLayer uses QgsVectorLayer
make epxression widget editable
2014-05-02 07:56:34 +02:00
Denis Rouzaud
760f835129
expression button and expression capability added to the field model
2014-05-02 07:56:33 +02:00