Nyall Dawson
6e49403163
Fix QgsFieldComboBox::setField sets incorrect field when filter is present
2017-07-20 10:13:54 +10:00
Nyall Dawson
ae59e35dac
Complete daily allocation of Qt5 connect transitions
2017-04-04 09:40:25 +10:00
Denis Rouzaud
e7079eead9
run astyle on src/gui
2017-03-03 09:09:37 +01: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
85c8c97d5f
Allow empty field name ('not set' option) in QgsFieldModel, QgsFieldComboBox
2016-11-15 07:00:35 +10:00
Nyall Dawson
4166a3ea62
Fix most clazy qstring-unneeded-heap-allocations warnings
...
By flipping string literals to QStringLiteral/QLatin1String
see
https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Nyall Dawson
c628c0f434
Rework includes to forward declare as much as possible
...
Should speed up recompilation when headers change
2016-07-18 19:10:19 +10:00
Nyall Dawson
ccebd83aa4
Standardise format of initializer lists
2016-05-03 09:38:04 +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
Denis Rouzaud
665866f1a6
more const correctness
2014-09-01 16:55:18 +02:00
Denis Rouzaud
156dc55013
fix field proxy model use
2014-05-12 16:27:07 +02:00
Denis Rouzaud
5751cadaf3
field combobox: properly emit signal when setField on the first displayed field
2014-05-12 14:26:47 +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
31d52d960f
field model only works with vector layer, add convenience slots for QgsMapLayer in QgsFieldExpressionWidget and QgsFieldComboBox
2014-05-02 07:56:34 +02:00
Denis Rouzaud
41cc509cbb
QgsFieldModel::layer() returns QgsVectorLayer
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
Denis Rouzaud
8b06a16a75
model/view for layer/field selectors
2014-04-03 14:51:26 +02:00