132 Commits

Author SHA1 Message Date
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
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
013d6d3331 Fix more warnings 2015-12-21 19:30:32 +11: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
Juergen E. Fischer
1b4ca622c9 add cppcheck fixes 2015-10-03 21:57:17 +02:00
Nyall Dawson
dbded4d91d Avoid some unnecessary QString construction 2015-09-09 19:17:50 +10: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
Denis Rouzaud
95570ebf0e add missing newline at end of file 2015-06-10 10:48:35 +02:00
Juergen E. Fischer
ecbe0e43f4 validate attribute index in editor widget calls 2015-05-28 15:13:27 +02:00
Matthias Kuhn
5386a23b5a Show checkboxes in pluginmanager
Fix #12839
Followup be15d95
2015-05-28 13:37:21 +02:00
Matthias Kuhn
be15d95684 Add some more spacing around plugin text
Followup 36c844b3
2015-05-27 11:06:45 +02:00
elpaso
90b796c693 Fix usability issue in pluginmanager
The height of rows is too small to see its
contents on hidpi screens

Also raised maximumSize of mPluginsTabFrame
2015-05-27 11:06:45 +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
Juergen E. Fischer
a3668f5853 more coverity fixes 2015-02-07 02:31:42 +01:00
Juergen E. Fischer
2b58df4d3c add missed files (followup 313f2c8d) 2015-01-16 08:55:00 +01: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
0e354957b5 Add overrides pt 2 2015-01-15 22:25:17 +11: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
Sylvain Maillard
1d736da66c fix typo in variable name (extra space) 2014-08-13 18:37:33 +02:00
borys
0d9fc5091f [Plugin Manager] Show all plugins in the All tab. Fixes #10334 2014-05-26 21:30:17 +02:00
borys
6906cab151 [Plugin Manager] Fix voting stars 2014-05-03 17:17:43 +02:00
borys
4e49a83d4c [Plugin Manager] support multiline breaks in the about tag 2014-05-03 16:37:38 +02:00
Juergen E. Fischer
a7b5a8a574 indentation update 2014-04-06 12:41:09 +02:00
Borys Jurgiel
3b198d9000 [FEATURE] [Plugin Manager] Voting for plugins from Plugin Manager 2014-04-01 16:35:28 +02:00
Borys Jurgiel
298b1d5882 [Plugin Manager] Switch the plugin details browser from QTextBrowser to QWebView 2014-04-01 16:35:28 +02:00
Borys Jurgiel
cdbe1ee303 [Plugin manager] Replace confirmation popup dialogs with an internal QgsMessageBar 2014-03-27 11:20:53 +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
Borys Jurgiel
26f8be9286 [Plugin Manager] Fix window title update 2014-02-16 21:36:24 +01:00
Denis Rouzaud
f9c5ee0c07 dialog base: separator and dialog title as argument to init/restore 2014-01-20 09:23:48 +01:00
Borys Jurgiel
377d30aa16 [Plugin Manager] Fix window title issues after recent changes in QgsOptionsDialogBase 2014-01-20 00:17:02 +01:00
Juergen E. Fischer
3327cdc996 fix typos, indentation and some warnings 2014-01-18 21:41:27 +01:00
Denis Rouzaud
03a7125bcd UI: remove top labels, use collapsible groupboxes, and other small improvements 2014-01-16 07:15:09 +01:00