34 Commits

Author SHA1 Message Date
Juergen E. Fischer
c3573b1636 more translation string fixes and updates 2018-02-17 11:33:36 +01:00
Mathieu Pellerin
d31f60baa5
Show unknown feature count instead of misleading 0 in sublayer dialog 2017-11-28 13:34:22 +07:00
Nyall Dawson
727d20927d Add missing override keyword 2017-09-11 21:30:05 +10:00
Etienne Trimaille
f0d3677865 fix opening sublayers in a group 2017-08-18 13:28:13 +02:00
Jorge Gustavo Rocha
3a103b7c62 Refactoring of all help calls, deprecating QgsContextHelp and the former helviewer 2017-08-09 09:27:29 +02:00
Alexandre Neto
8d4dec5c3f Making dialog titles use Book Style Capitalization [needs-docs] 2017-07-26 15:16:36 +01:00
Juergen E. Fischer
b95d432a8c huh? of course SubLayerItem is private 2017-07-22 21:41:21 +02:00
Juergen E. Fischer
90fa6c2e91 sub layer dialog: sort by layer id and feature count numerically (fixes #16917) 2017-07-22 13:41:20 +02:00
Nyall Dawson
ae59e35dac Complete daily allocation of Qt5 connect transitions 2017-04-04 09:40:25 +10:00
Nyall Dawson
545da60a77 Fix coverity use of uninitialized variable error 2017-03-21 15:24:14 +10:00
Etienne Trimaille
24e3214eda add checkbox to open sublayers in a group 2017-03-17 17:19:51 +01:00
Alessandro Pasotti
1822caa803 QgsSettings: removed leading slashs from keys 2017-03-08 11:11:47 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01: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
fe65063c2b Remove many deprecated methods 2016-09-15 18:34:15 +10:00
Matthias Kuhn
e9b4b0c666 Pass enums by value 2016-07-23 00:20:29 +02:00
Martin Dobias
5f6627624e Fix incorrectly loaded sublayers if they had the same name (fixes #15168)
Use "layerid=N" instead of "layername=XYZ" for OGR sublayers
2016-06-30 14:28:06 +02:00
Nyall Dawson
ccebd83aa4 Standardise format of initializer lists 2016-05-03 09:38:04 +10:00
Marco Hugentobler
42e386f8c8 Make sublayer dialog sortable and sort by layername initially. Patch provided by Stefan Ziegler 2016-04-27 11:41:12 +02:00
Juergen E. Fischer
8214608169 more nullptr updates (folloup 320c696) 2015-12-16 16:29:29 +01:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Nyall Dawson
b7e1cae4f0 Switch double quoted single character to single quotes for some
QString methods

Using single quotes is a significant performance boost. Rough
benchmarks indicate the QString single quote methods take
about 15% of the time the double quote variants take.
2015-11-02 17:55:08 +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
f628ebd423 Replace foreach with Q_FOREACH
For:
- consistency
- to make it immediately clear that this is a Qt macro and that it
works slightly differently to c++ for loops
2015-09-09 19:17:29 +10:00
Nyall Dawson
7c10760225 Followup 73ffb83a, finishing changing all Q_FOREACH to references 2015-09-09 19:17:19 +10:00
Juergen E. Fischer
2b703e397c handle ogr sublayers with colon 2015-06-24 18:08:27 +02:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Juergen E. Fischer
c26cfe2f34 replace more override identifiers 2015-01-17 15:55:44 +01:00
Carl Simonson
665f0a32fe Replace WFlags with WindowFlags
It has long been in Qt 4 that the WFlags window flags argument has been
renamed to WindowFlags. In fact, WFlags is just a typedef to WindowFlags.
In Qt 5, this will go away, so we can change this now to make transition
easier in the future.

This should not have any affect on API or ABI, as the symbol names already
have WindowFlags in them anyway.

This change concentrates on the sources in the src directory. There are
a few more places in the python directory that can be done later.
2014-03-27 10:43:11 +01:00
Radim Blazek
af0f61e699 OGR provider - virtual sublayers for each geometry type in multi geometry layers, fixes #7895 2013-05-31 20:10:14 +02:00
Juergen E. Fischer
81139a6554 fix build error 2013-05-29 01:22:16 +02:00
Etienne Tourigny
17bdba949d fix loading of raster and vector files with sublayers ; add vector and raster test files with sublayers 2013-05-28 17:14:45 -03:00