23272 Commits

Author SHA1 Message Date
Martin Dobias
0e8b79f446 Loading of embedded groups and layer from project file 2014-05-21 14:49:33 +07:00
Martin Dobias
f83a11f880 Convenience auto setup features when adding new layers
On first layer: zoom to full extent, setup destination CRS and map units
On first layer with different CRS: enable OTF reprojection

This functionality is not triggered when opening an existing project.
2014-05-21 14:49:33 +07:00
Martin Dobias
97642ddd43 Better behavior of drop onto a group 2014-05-21 14:49:33 +07:00
Martin Dobias
bc49cd47b7 Forward the visibilityChanged() signal towards the parent node.
Listening to the signal is simpler as it is enough to listen to the parent
without having to connect to the whole tree and also follow the changes
withing the tree
2014-05-21 14:49:33 +07:00
Martin Dobias
1a61c154ab Propagate added/removed children signals to the root for easier manipulation 2014-05-21 14:49:33 +07:00
Martin Dobias
36d8d88e09 Use Qt::CheckState also for layer node visibility (for consistency) 2014-05-21 14:49:33 +07:00
Martin Dobias
8a539e0874 Split subclasses of QgsLayerTreeNode into their own cpp/h files 2014-05-21 14:49:33 +07:00
Martin Dobias
56ee3f4040 Added helper namespace QgsLayerTree 2014-05-21 14:49:32 +07:00
Martin Dobias
ebd8aea6a2 Handle overview status changes properly.
Added signal about changed custom properties.
Changes to custom properties are propagated to the root node,
so it is not necessary to connect to all children
2014-05-21 14:49:32 +07:00
Martin Dobias
6beb7d77d5 Deactivate old legend. Improve insertion of new layers into layer tree. 2014-05-21 14:49:32 +07:00
Martin Dobias
c9f9ea8985 Added layerTreeView() to QgisInterface, moved context menu provider to new file 2014-05-21 14:49:32 +07:00
Martin Dobias
72b3ef742e More integration of layer tree view in QGIS app 2014-05-21 14:49:32 +07:00
Martin Dobias
21b2a9a774 Updates to QGIS app to use layer tree view instead of legend widget 2014-05-21 14:49:32 +07:00
Martin Dobias
bbdf1444c8 Double-click handling, changed current layer handling 2014-05-21 14:49:32 +07:00
Martin Dobias
ca974597d6 Moved some legend actions to QgisApp, added actions to layer tree view.
Still need to adjust action implementations in QgisApp to use layer tree view
2014-05-21 14:49:32 +07:00
Martin Dobias
f2b69e967c Added "Group selected" layer tree view action 2014-05-21 14:49:32 +07:00
Martin Dobias
4162c2101d Move to top-level action 2014-05-21 14:49:31 +07:00
Martin Dobias
e1a0c21dec Raster and plugin layer symbology, show feature count for vectors 2014-05-21 14:49:31 +07:00
Martin Dobias
69da2b3db0 Layer tree view interface for context menu configuration 2014-05-21 14:49:31 +07:00
Martin Dobias
6a5b752a0b Support for default actions in layer tree view 2014-05-21 14:49:31 +07:00
Martin Dobias
c3315c4194 Add support for embedded layers and groups into layer tree 2014-05-21 14:49:31 +07:00
Martin Dobias
2972768755 Use QgsLayerTreeView in QgsProjectLayerGroupDialog
This also replaces routines for parsing of the project file
2014-05-21 14:49:31 +07:00
Martin Dobias
a6158d55ff Handle active (current) layer in layer tree view 2014-05-21 14:49:31 +07:00
Martin Dobias
1906de1779 Add possibility to temporarily disable layer tree to registry bridge
This is useful during the project load where the updates from
map layer registry would make the layers appear twice in the tree
2014-05-21 14:49:31 +07:00
Martin Dobias
129d295ea0 New dock in QGIS for layer tree view 2014-05-21 14:49:31 +07:00
Martin Dobias
de146fbac5 Add layer tree support into QgsProject 2014-05-21 14:49:30 +07:00
Martin Dobias
1fecde47dc Initial import of legend refactoring work 2014-05-21 14:49:30 +07:00
Jürgen Fischer
e2c2575485 Merge pull request #1375 from nyalldawson/processing_postgis2
Some postgresql provider and PostGIS-related processing improvements and fixes (v2)
2014-05-21 09:02:56 +02:00
Juergen E. Fischer
6df9d1cb9a debian -packaging update 2014-05-21 09:00:38 +02:00
Nathan Woodrow
636e0cf224 [MSSQL] Refactor provider for schema checks 2014-05-21 14:02:16 +10:00
Larry Shaffer
3213d014f3 Refactor plugin staging to build dir and python script compiling 2014-05-20 21:28:42 -06:00
Nathan Woodrow
2e8ba8b13c Save dialog geometry on attribute form reject 2014-05-21 13:18:21 +10:00
Nathan Woodrow
885a303109 [MSSQL] Add toogle action to browser node to show non spatial tables 2014-05-21 12:05:33 +10:00
Nathan Woodrow
15e1129bb1 [MSSQL] Fix refresh in browser node 2014-05-21 11:42:40 +10:00
Nathan Woodrow
9e67d7a634 Fix #9139 - Don't crash on MSSQL relations 2014-05-21 10:16:48 +10:00
Nyall Dawson
ec3da40d26 [processing] Some fixes to handling of uppercase/lowercase geometry column names 2014-05-21 08:45:17 +10:00
Nyall
a94483e2fa Fix main window rearranging itself to front when opening composer manager or new composer dialog from a composition 2014-05-21 08:44:09 +10:00
Nyall Dawson
ed076d03b0 [processing] Add optional parameter for specifying the primary key field in Import to PostGIS algorithm 2014-05-21 08:35:21 +10:00
Nyall Dawson
2eda53390b [processing] Add option to Import into PostGIS algorithm to drop length constraints on character fields 2014-05-21 08:15:12 +10:00
Nyall Dawson
3470b1d5c0 Make PostgreSQL lowercaseFieldNames option behave correctly with primary key field names 2014-05-21 07:54:37 +10:00
Nyall Dawson
7772042fff Add option to postgres provider to drop length constraints on character fields 2014-05-21 07:52:27 +10:00
Werner Macho
72ee2e64ab [TRANSUP] gl by Xan
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-05-20 14:39:51 +02:00
Leyan
a14744c53f box of a more reasonable size for a single point 2014-05-20 19:51:39 +08:00
Nyall Dawson
f31e637ed1 [FEATURE] Add right click menu to color buttons, allowing copying and pasting colors. Pasting colors accepts clipboard text in a variety of common formats, including hex and css style rgb and rgba strings. 2014-05-20 21:35:21 +10:00
Matthias Kuhn
edbfb57ca1 VLCache takes ownership of index 2014-05-20 13:31:20 +02:00
Nyall Dawson
73d69f2bf7 Merge pull request #1362 from manisandro/composer_arrow_fill_bb
Make composer arrow, with and without markers, better fill the bounding box area
2014-05-20 21:06:49 +10:00
Radim Blazek
b385467679 project extent restore fix 2014-05-20 12:28:47 +02:00
Juergen E. Fischer
797de34eae german translation update 2014-05-20 10:51:48 +02:00
Juergen E. Fischer
45cd8953d9 [FEATURE] toggle feature selection from identify results (implements #10308) 2014-05-20 10:46:33 +02:00
Denis Rouzaud
986ffd66f8 collapsible gpbox: scroll on expand property accessible 2014-05-20 10:13:48 +02:00