132 Commits

Author SHA1 Message Date
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
Borys Jurgiel
f180ea4454 [Plugin manager] Use raw string for zip file path to avoid escaping '\U' in C:\Users. Fixes #17624 2017-12-04 18:37:30 +01:00
Borys Jurgiel
5c22e31397 Follow up 248bc5db032cf 2017-11-25 12:43:24 +01:00
Borys Jurgiel
248bc5db03 Fix #15627: missing plugin icons in Plugin Manager 2017-11-23 10:19:37 +01:00
luzpaz
3eced50c6d Trivial typo fix
Your spellcheck missed it.
+ updated spelling.dat to catch it next time
2017-11-20 11:37:00 -04:00
Borys Jurgiel
5f915a09db [Plugin manager] Don't truncate long names. Fixes #17451. 2017-11-14 12:31:59 +01:00
Borys Jurgiel
f97a011f96 [Plugin manager] Remember last visited tab. Fixes #8786 2017-11-10 21:35:56 +01:00
Borys Jurgiel
64ab28bf59 Rename indx to index in some slots 2017-11-06 16:37:27 +01:00
Borys Jurgiel
966e2d6639 Make QgsOptionsDialogBase's slots virtual for overriding in derived clases with non-standard tabs (fixes broken tab behaviour in Plugin manager) 2017-11-06 14:27:32 +01:00
Borys Jurgiel
17aa88cdec [Plugin manager] Fix window title 2017-11-06 11:03:44 +01:00
Harrissou Sant-anna
4b0607a71f Remove trusted status from Plugin Manager 2017-10-30 08:03:54 +01:00
Borys Jurgiel
1c8803c5e1 [Plugin manager][needs-docs] follow up 87d087bbfdb0 2017-10-25 20:38:13 +02:00
Matthias Kuhn
1b6088cd49 Less noisy debug output 2017-10-25 01:06:18 +02:00
Borys Jurgiel
87d087bbfd [Plugin manager] Add a label for built-in plugins explaining they aren't uninstallable. 2017-10-23 23:47:33 +02:00
Richard Duivenvoorde
32852fb42c fix tab clicks in plugin manager 2017-10-20 18:29:19 +02:00
Borys Jurgiel
c33dbd96fe Plugin manager: Use QgsFileWidget for installing from zip files 2017-10-16 23:27:02 +02:00
Borys Jurgiel
11ec24f0fa [needs-docs] Move the install-plugin-from-ZIP menu action to the plugin manager. Also add a spacer to the left menu. 2017-10-16 01:27:24 +02:00
Nyall Dawson
1429f2c778 Remove autoconnected slots, pt 2 2017-10-09 08:48:23 +10:00
Nyall Dawson
04a9cd9211 Add more consistency to doxygen formatting 2017-10-06 08:19:00 +10:00
Nyall Dawson
8c3939e756 More efficient use of QStrings
- use .isEmpty() instead of == QLatin1String( "" ) to check for
empty strings
- use .clear() instead of = QLatin1String( "" ) to empty a string
- remove unnecessary QString initializations
2017-09-28 05:25:51 +10:00
Nyall Dawson
31c1ae1c6a Add missing QStringLiterals 2017-09-25 17:12:03 +10:00
Juergen E. Fischer
782ed47d00 translation string improvements 2017-09-22 15:00:31 +02:00
Nyall Dawson
07e12e2832 Replace reimplemented default methods by = default
Using clang-tidy modernize-use-equals-default
2017-09-11 17:10:31 +10:00
Richard Duivenvoorde
7a62746297 fix capitalisation 2017-09-08 12:05:48 +02:00
Nyall Dawson
76a22726fd Always use " for qgs header imports 2017-08-25 04:46:16 +10:00
Nyall Dawson
34003259b7 Replace use of math.h with cmath 2017-08-25 04:15:36 +10:00
Nyall Dawson
4b009f96ec Use std::round instead of qRound
Now that our minimum VS studio version allowed supports std::round,
we should use that in place of Qt's qRound method.

Because:
- it doesn't truncate to int, resulting in unpredictable
behaviour (refs #16925)
- better to stick to standard c++ methods wherever possible,
since they're likely better supported and optimised by the
compilers
- it's a tiny reduction to the barrier for entry to QGIS
development (I'm sick of pointing out the need to use
qRound during PR reviews!)
2017-08-25 02:35:27 +10:00
Jorge Gustavo Rocha
fe59a19e17 Change all ocurrences on_buttonBox_helpRequested to showHelp
Add help button to 3 dialogs
Fix missing QStringLiteral
Fix CMakeLists.txt indentation
Fix qhelp.h and qgis_sip.h includes with <>
2017-08-15 23:51:03 +02:00
Harrissou Sant-anna
139fe68a4a Update broken links to documentation
Because links to doc are based on plain hyperlinks, changes in doc
structure affect these relations. This PR fixes the broken links.
2017-08-06 21:21:43 +02:00
Harrissou Sant-anna
15be88918f Replace "double click" and "doubleclick" by double-click 2017-07-07 01:26:38 +02:00
Harrissou Sant-anna
59e9f79658 ok is spelled OK 2017-07-03 08:49:50 +02:00
Nyall Dawson
ac94345331 Rename QgisGui to QgsGuiUtils
Better reflects what this namespace contains, and replaces the
non-standard Qgis prefix with the Qgs standard
2017-05-15 07:33:52 +10:00
Mathieu Pellerin
40dac8f00d [plugin manager] fix QGIS startup crash (fixes #16439) (#4360) 2017-04-12 23:10:41 +02:00
Nyall Dawson
06a53e125c /*! -> /**
We already have enough doxygen styles to manage!
2017-04-03 13:18:36 +10:00
Nyall Dawson
676dc1a1d6 Remove redundant doxygen comments from .cpp files, move to .h
where appropriate
2017-04-03 13:18:36 +10:00
Nyall Dawson
57eb237d20 Remove @author credits from doxygen
Because
- not widely used, seems strange that some authors get credit
while others don't
- already included in copyright header
2017-04-03 13:18:35 +10:00
Nyall Dawson
32326ab5df Replace "python" with "Python" in docs 2017-04-03 08:33:56 +10:00
Nyall Dawson
68437a1032 More Qt5 style connects 2017-03-27 08:08:58 +10: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
dccf8c9e13 run astyle on src/app 2017-03-03 09:09:37 +01:00
Denis Rouzaud
7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Nyall Dawson
d19e70700f Ensure all pointer variables are initialized to nullptr 2017-02-18 20:23:18 +10:00
Matthias Kuhn
dccf010a13 Fix building with -DWITH_BINDINGS=OFF 2017-02-14 16:24:02 +01:00
Alexandre Neto
290758a4bc More PNG to SVG replacements (#4065) 2017-01-28 11:17:43 +07:00
Alexander Bruy
57535763d7 use new QgsHelp where possible instead of builtin context help 2017-01-23 10:54:45 +02:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Denis Rouzaud
37ebcdd1cd [spellcheck] allow inwords checks and line skipping
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat

one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Nyall Dawson
9021bb479c Remove "//! Destructor" doxygen comments
This documentation doesn't add any value
2016-12-30 13:52:57 +10:00
Alexandre Neto
932de2ab55 Replace PNGs by SVGs (#3896)
- removes no longer needed SVG compounds
- Improves cap and join style icons
2016-12-21 08:55:22 +07:00