Matthias Kuhn
28a21209b9
[sipify] seealso
2017-04-30 16:52:05 +02:00
Denis Rouzaud
1bfa539df1
[sipify] remove extra blank line
2017-04-24 07:39:30 +02:00
Denis Rouzaud
8f2a5c7c00
sipify all
2017-04-20 14:21:36 +02:00
Denis Rouzaud
55860e8508
sipify QgsFieldExpressionWidget
2017-04-19 14:29:51 +02:00
Nyall Dawson
8c8be007b9
Remove redundant setLayer slots from QgsField(ComboBox|ExpressionWidget)
...
and switch uses of remaining slot to new style connects
2016-11-22 08:25:57 +10:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Matthias Kuhn
aa87113995
Bindings and API docs
2016-09-09 14:26:27 +02:00
Matthias Kuhn
58ea21124e
Streamline expression context generation ( #3350 )
...
* Save more data to QML
* Virtual fields
* Map tips
* Display expression
* Read only flag
* Streamline expression context generation
Whenever an object is able to generate an expression context it
implements the method createExpressionContext() declared in
QgsExpressionContextGenerator.
This makes a cleaner API and allows using QgsFieldExpressionWidget and
QgsDataDefinedButton from python because standard OO programming
approaches are used instead of callbacks and void pointers.
* Colorize output of doc and sip tests
* Fix build
* Fix sip complaints
* Fix rebase problems
* Workaround failing bindings test
2016-08-10 19:44:30 +02:00
Nathan Woodrow
831e7cd236
[FEATURE][styles] Add new style dock for interactive styling
2016-04-19 13:55:34 +10:00
Nyall Dawson
d11e66749b
Quote fields in size/width assistant ( fix #14257 )
2016-02-24 11:32:54 +11:00
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