13 Commits

Author SHA1 Message Date
vmora
0c5063fee6 Add method to create a QgsDataDefined from a string.
Automatically analyses to determine whether the string refers to
a column or is an expression.
2015-04-27 18:22:36 +10:00
Nyall Dawson
774e5d3012 Fix crash on QgsDataDefined copy (fix #12027) 2015-04-22 06:00:59 +10:00
Juergen E. Fischer
abd4a04399 sip update 2015-02-03 02:21:52 +01:00
Juergen E. Fischer
cce2eb50cb indentation update 2015-01-22 20:56:02 +01:00
vmora
6fb347d23f improve GUI consistency & UX for data-defined style
data defined buttons added to the gui
fixes #9881
2015-01-22 06:56:34 +11:00
Juergen E. Fischer
bff64fdef9 indentation update 2014-12-30 22:47:09 +01:00
Nyall Dawson
cee539aae8 Add missing const to equality operator 2014-12-12 06:20:58 +11:00
Nyall Dawson
bcc29ff5d0 Add methods to QgsDataDefined for reading and writing to XML 2014-12-10 19:53:16 +11:00
Juergen E. Fischer
9ceb5ceab6 sip sync 2014-11-21 01:17:21 +01:00
Nyall Dawson
44a334b095 Add hasDefaultValues method to QgsDataDefined, add some tests 2014-11-20 21:28:34 +11:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Larry Shaffer
45f374f428 Update labeling gui and add expression support as data defined value
- Add QgsDataDefined class
- Add QgsDataDefinedButton class
- Add data defined Python support
- Add standalone SVG selector dialog to QgsSvgSelectorWidget class

- Fix for #4607, show only pertinent fields when setting a data defined value
- Fix for #5048 and #5049, data defined settings are literally used
- Fix for #5726, number formatting does not work for expressions
- Fix for #7755, using bufferSize to enable/disable label buffer is confusing
- Fix for #7779, labels do not register in label collision engine; and for #4719, inactive options in labeling dialog
- Prepare label text's expression upfront when preparing layer; makes rendering much faster
- Change name of 'feature obstacles' to appropriate terminology
2013-05-20 12:22:29 -06:00