Denis Rouzaud
40c056cae0
run astyle on src/core
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
Matthias Kuhn
b1e226c069
Add missing #include "qgis_core.h"
2017-01-05 16:49:00 +01:00
Nyall Dawson
2a34af8bd1
Optimise destructors (pt 2)
2016-12-30 15:48:07 +10:00
Nyall Dawson
bd950616ac
Rename visible "favourite" strings to "favorite", change API to
...
use "favorite"
2016-10-31 08:00:19 +10:00
Nyall Dawson
1367fd09fc
Prepare commit converts single line doxygen block format
...
Flips single line doxygen comments to use the proper single line
format:
/*!< comment */ to //!< Comment
and
/** comment */ to //! Comment
2016-10-25 09:17:39 +10:00
Nyall Dawson
0a056f8a1f
Add doxygen test to force use of \ingroup for classes
...
Using the group tag helps keep the API docs organized
2016-07-04 19:57:13 +10:00
Nyall Dawson
14f9a88811
Follow up c6c8277, fix bad behaviour of QgsBrowserModel introduced
...
by 44d9b35 (fix #14296 )
2016-02-16 14:12:54 +11:00
Juergen E. Fischer
a90be95f7b
sip sync
2016-02-14 03:50:49 +01:00
Nyall Dawson
881074b194
Boost coverage of SIP bindings
...
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.
Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +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
Nathan Woodrow
bc67c082ad
Add missing SIP and docs
2015-12-11 14:11:02 +10:00
Nathan Woodrow
d021100e5e
[FEATURE] Allow hiding paths from the browser panel
2015-12-11 10:21:07 +10:00
Nyall Dawson
f1633a1796
Change all signals to use const refs for non trivial objects
2015-10-26 22:46:25 +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
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
Radim Blazek
bf22ff5064
browser save/restore state moved to new class QgsBrowserTreeView
2015-01-20 18:46:12 +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
6cb41149ad
Add OVERRIDE to definitions (pt 1)
2015-01-14 19:39:35 +11:00
Radim Blazek
f79dbcd897
browser restore state fix
2014-12-15 12:31:38 +01:00
Radim Blazek
d84af0d760
populating browser icons in threads moved to QgsDataItem
2014-12-12 12:28:07 +01:00
Radim Blazek
6aa84c9726
QgsBrowserWatcher made QFutureWatcher descendant
2014-11-30 17:21:23 +01:00
Juergen E. Fischer
d4f64d9bde
indentation update and typo fixes
2014-11-13 23:13:13 +01:00
Radim Blazek
cbf1d33b9c
re-enabled init expand to last expanded in browser
2014-11-13 11:27:12 +01:00
Radim Blazek
40bb180d9a
expand browser items in threads
2014-11-12 22:18:19 +01:00
Radim Blazek
c78a3783a9
browser last expanded better
2014-11-07 11:13:02 +01:00
Juergen E. Fischer
fa0a9b75fe
don't reload the whole browser model when the project home changes ( fixes #7520 )
2013-05-12 23:23:24 +02:00
Juergen E. Fischer
73dc9b19be
Include project home in browser toplevel browser (implement #6955 )
...
[API] add QgsProject::homePath()
[API] make QgsBrowserModel::reload() a public slot
2013-01-07 20:26:40 +01:00
Etienne Tourigny
3c07dd02e1
do not populate items in rowCount(), use canFetchMore() and fetchMore() instead
2012-11-03 19:19:15 -02:00
Juergen E. Fischer
048a07a572
another copyright update
2012-10-08 00:29:13 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
1e7b9ed0d4
add missing copyright headers to c++ files
2012-05-18 19:36:07 +02:00
Martin Dobias
6968bda4a2
[FEAUTRE] Import of vectors to SpatiaLite in browser + move MIME type stuff to a separate file
2011-11-16 18:38:22 -03:00
Martin Dobias
a8a90fef55
[FEATURE] Add/remove favourite dirs in browser dock
2011-07-30 16:00:32 +02:00
Martin Dobias
9c9259a703
Added home directory to the browser model. Unified method to find an index for a path
2011-07-12 21:47:51 +02:00
Martin Dobias
f57bef47c6
[FEATURE] Add browser dock widget to QGIS main window. Layers can be added to canvas by double-clicking them in the browser.
2011-07-11 21:45:57 +02:00