91 Commits

Author SHA1 Message Date
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
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
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
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
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
Juergen E. Fischer
782ed47d00 translation string improvements 2017-09-22 15:00:31 +02:00
Richard Duivenvoorde
7a62746297 fix capitalisation 2017-09-08 12:05:48 +02: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
Mathieu Pellerin
40dac8f00d [plugin manager] fix QGIS startup crash (fixes #16439) (#4360) 2017-04-12 23:10:41 +02: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
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
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
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
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
9459831422 Remove unused variables 2016-10-22 22:46:15 +10:00
borys
a6c04fc44c [Plugin Manager] Fix font size also in master (issue #15302) 2016-10-17 21:59:01 +02: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
Juergen E. Fischer
010a850f50 plugin manager: use relative font size 2016-07-07 22:21:08 +02:00
Matthias Kuhn
1316d9c72c Suppress startup warning
https://travis-ci.org/qgis/QGIS/jobs/142140038#L1537-L1539
2016-07-04 10:09:10 +02:00
Juergen E. Fischer
4b16c64ec0 plugin manager: show plugin description and allow voting without webkit 2016-06-24 19:51:52 +02:00
Alexander Bruy
6e1302047c [pluginmanager] show trusted plugins (fix #14916) 2016-06-01 13:48:47 +03:00
Alexander Bruy
e60ed0511f [pluginmanager] limit plugin icon maximum size to prevent breaking description page layout 2016-05-28 10:38:07 +03:00
Alexander Bruy
b5b0145c8f [pluginmanager] reword link to plugin bugtracker (fix #11582) 2016-05-25 18:47:09 +03:00
Nyall Dawson
18614e11e3 Avoid container detachments by using const methods wherever possible
eg QList::at() instead of QList:[], constFind instead of find, ...
2015-12-16 20:15:46 +11: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
5ed3d1b73f Use QString::arg multi argument method to avoid extra heap allocations 2015-10-15 17:51:06 +11:00
Nyall Dawson
c6df096c38 Followup c49b5b7, more fixes 2015-10-07 18:32:24 +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
Juergen E. Fischer
fa464111c8 fix grass tests on windows 2015-07-07 23:26:44 +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
Matthias Kuhn
f5054ce702 Allow compiling QGIS without QtWebkit
This allows to compile QGIS without webkit.

1. Webkit is soon-to-be deprecated
2. Webkit is not supported on Android
3. Who needs it anyway
4. The developer map on the about page is gone with webkit disabled
5. So is the information about plugins
2015-05-21 18:11:17 +02:00
Juergen E. Fischer
198d8fe58f fix warnings and extra semicolons 2015-02-07 13:54:46 +01:00