32 Commits

Author SHA1 Message Date
luz.paz
0908daaa0e Misc. typos
Found via `codespell -q 3 -I ../qgis-word-whitelist.txt --skip="*.ts,*.po,./scripts/spell_check"`
2018-09-07 00:30:54 +02:00
Nyall Dawson
4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Nyall Dawson
fea2726c1c Flip autoconnected slots to explicit connections, pt 1 2017-10-09 07:30:52 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Nyall Dawson
a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Nyall Dawson
31c1ae1c6a Add missing QStringLiterals 2017-09-25 17:12:03 +10:00
Denis Rouzaud
532b9a142a sipify gui part n 2017-06-09 10:16:08 +02:00
Nyall Dawson
dfb5f56f80 @see -> \see 2017-04-03 13:18:35 +10:00
Matthias Kuhn
fb91ed7395 Use "\since" instead of "@note added in" 2017-04-03 01:06:33 +02:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Nyall Dawson
b5480633e4 Standardise names for static variables
All non-const variables are prefixed with "s", all const
statics are ALL_CAPS
2017-01-14 16:40:24 +10:00
Alexander Bruy
85d40937b9 skip malformed key-values pairs
add options example in docs
2017-01-07 10:02:13 +02:00
Alexander Bruy
d718eb0f18 fix indentation 2017-01-07 10:02:13 +02:00
Alexander Bruy
60cb517845 add method to set raster options in QgsRasterFormatOptionsWidget 2017-01-07 10:00:53 +02:00
Matthias Kuhn
4c1f178ac9 Add qgis_gui.h with GUI_EXPORT macro 2017-01-05 00:12:11 +01:00
Nyall Dawson
ef0131dfe3 Optimise destructors (pt 3) 2017-01-02 09:54:33 +10:00
Nyall Dawson
af55c022b2 Followup 4166a3, don't use QStringLiteral in definitions
Causes linker errors in some random cases
2016-10-25 08:34:00 +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
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
Even Rouault
88c8d352e8 QgsRasterFormatSaveOptionsWidget: do not put pyramid option profiles into format option profiles
Before this commit, if the user opened Settings / Options / GDAL / Edit Pyramid options and
validated it, it added pyramid options as creation options of the GTiff driver, which
caused later confusion since they wrongly appeared in Creation Options / profile
combo box, when saving as raster layer.
2016-05-28 00:53:48 +02: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
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
Juergen E. Fischer
313f2c8de0 OVERRIDE macro breaks globeplugin (OVERRIDE is an enum value in OpenSceneGraph)
replace 'OVERRIDE' macro with 'override' keyword in code and define it an empty
macro where C++11 is not available (followup 466f2563efd)
2015-01-16 08:22:52 +01:00
Nyall Dawson
6cb41149ad Add OVERRIDE to definitions (pt 1) 2015-01-14 19:39:35 +11:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Radim Blazek
5533d571c8 common raster enums moved to raster namespace 2013-04-24 17:18:33 +02:00
Etienne Tourigny
2fb78db2b5 update raster format and pyramid save widgets for python, add pyramid config options support to raster writer, other fixes 2013-01-18 18:18:47 -02:00
Etienne Tourigny
c5cc634520 raster save creation options validation:
- move help and validation to gdal provider
- validate options before saving
- test for valid PREDICTOR option, depending raster properties
2012-09-20 16:03:40 -03:00
Etienne Tourigny
9d96e76291 implement UI for pyramids in raster save dialog, ui tweaks and bugfixes 2012-08-24 17:49:13 -03:00
Etienne Tourigny
ce6140201d ui tweaks to make dialog more compact, add right-click action to swap options ui 2012-07-24 13:53:35 -03:00
Etienne Tourigny
c998ee4ac5 add qgsrasterformatsaveoptionswidget to sip and cleanup names ; better hack for mOptionsLabel click 2012-07-24 01:33:06 -03:00