Nyall Dawson
65b0ba81ae
Fix inconsistent capitalization
2017-06-05 09:52:28 +10:00
Nyall Dawson
e5b8b32e04
Make paletted raster widget behave the same as categorized widget
...
when changing current band
Now the widget asks users if they want to delete existing categories
when they switch a band, just like how the categorized renderer
widget asks when the categorized field is changed.
2017-06-05 09:50:44 +10:00
Nyall Dawson
c040469ca0
Make paletted raster widget behave more like vector categorized
...
renderer widget
Since they are basically counterparts to each other
2017-06-05 09:50:44 +10:00
Juergen E. Fischer
e977f1f0d2
remove unused provider mManagerMode member
2017-06-04 23:50:01 +02:00
Nyall Dawson
d0ebcd90a5
Fix doxygen test
2017-06-05 07:26:09 +10:00
Juergen E. Fischer
1bed323b0e
oracle provider: fix build
2017-06-04 09:55:48 +02:00
Nyall Dawson
4318bfb8ad
Merge pull request #4670 from nyalldawson/widget_action_header
...
New classes QgsMenuHeader, QgsMenuHeaderWidgetAction
2017-06-04 16:46:41 +10:00
Nyall Dawson
cd9a802c5c
[FEATURE] Fix incorrectly swapper layer_property function min_scale and max_scale values
...
The values returned were the opposite of what's shown in the GUI.
Marked as feature as reminder to include this project break in the
release notes
2017-06-04 10:38:30 +10:00
Nyall Dawson
a9a7d3c3d9
Swap QgsMapLayer min/max scale API definitions
...
setMaximumScale() and setMinimumScale(), maximumScale() and
minimumScale() had the opposite meaning to other min/max scales
in the API, and were the opposite to how these settings were
exposed in the GUI. This lead to very confusing API!!
Their definitions have now been swapped. setMaximumScale
now sets the maximum (i.e. largest scale, or most zoomed in)
at which the layer will appear, and setMinimumScale now sets
the minimum (i.e. smallest scale, or most zoomed out) at
which the layer will appear. The same is true for the
maximumScale and minimumScale getters.
2017-06-04 09:31:10 +10:00
Matthias Kuhn
0f2a49d9b5
Remove Point3D
...
... in favor of QgsPoint
Reference https://github.com/qgis/qgis3.0_api/issues/71
2017-06-03 08:20:30 +02:00
Matthias Kuhn
bf9021ae92
Document API change
2017-06-02 19:53:37 +02:00
Matthias Kuhn
2bbadbacb7
Rename qgspoint.h and qgspointv2.h
...
To qgspointxy.h
And qgspoint.h
2017-06-02 19:53:37 +02:00
Matthias Kuhn
4f3cd3e12c
QgsPoint migration
2017-06-02 19:53:37 +02:00
Matthias Kuhn
c5ba49fbdf
fix server
2017-06-02 19:53:37 +02:00
Matthias Kuhn
e3efc2c838
Fix tests
2017-06-02 19:53:37 +02:00
Matthias Kuhn
085a284c58
[travis] Better match pattern for colorizing failing tests
2017-06-02 19:53:37 +02:00
Matthias Kuhn
e2227d9998
Fix QgsPointXY issues
2017-06-02 19:53:37 +02:00
Matthias Kuhn
4ba385d4e1
Fix python plugins
2017-06-02 19:53:37 +02:00
Matthias Kuhn
881dfef3c9
Fix python test imports
2017-06-02 19:53:37 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Matthias Kuhn
164e4640da
Gadgetize QgsPointV2
2017-06-02 19:53:37 +02:00
Alessandro Pasotti
1067239565
Merge pull request #4629 from boundlessgeo/unified-button
...
Add layer button
2017-06-02 19:26:07 +02:00
Alessandro Pasotti
7a2ce49408
[addlayerbutton] Connect and forward all signals from browser to app
2017-06-02 18:09:29 +02:00
Sandro Santilli
78c3423861
For GDAL sake extract a dbname from the connection
...
Works around GDAL limitation reported in:
https://trac.osgeo.org/gdal/ticket/6910
Ref #16625
Ref #16626
2017-06-02 17:31:41 +02:00
Alessandro Pasotti
c1889111de
[addlayerbutton] Replace icon for the datasourcemanager
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
a7e12c8713
[addlayerbutton] Fix height problems within the delimited text dialog
...
Also moved the status information under the button bas for
consistency with other dialogs.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
01b4eebcea
[addlayerbutton] Prevent a crash when the layer list is rebuilt after a change in the layer tree
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
14cc77c4ec
[addlayerbutton] Removed button bar from main dialog
...
No Close button anymore ... prepare your wrist for
a precise hit on the [X] or hit ESC to close the
dialog.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
23ae508798
[addlayerbutton] Data Source Manager toolbar and menu
...
This implements the proposal from @SrNeto:
- new toolbar with the new dialog button and
all the "new" data soource buttons
- old layer toolbar hidden by default
- new dialog open from first item in layer menu
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
e761395fa2
[addlayerbutton] New GUI for the delimited text dlg by Luigi Pirelli
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
ce6d5c7b4f
Removed old comment
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
fc76d120c2
[addlayerbutton] Removed all the individual source select slots
...
In favour of the unified dialog.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
25b959cc83
[addlayerbutton] Fix order of signals when open page called
...
The problem was with raster "tab" (that is not a real page
but a forwarded signal to the app), when openPage
was called before the show() call.
Moving the activation inside the unique currentPage call,
the implementation is much simpler (got rid of the lambda
with the second currentRowChanged connection).
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
463fd0362b
[addlayerbutton] Add method to open a given page in the layer dlg
...
This is preliminary to change all dialogs slots to
open the unified dialog with the righ page open.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
e43dfa2810
[addlayerbutton] Added option for modeless layer dialog (default false)
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
43a3ac7b85
[addlayerbutton] Removed help button
...
Almost all provider dialogs have its own button
resulting in duplicated help buttons in the
unified dialog.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
828ec13430
[addbuttonlayer] Fix layout of vector dialog
...
This is an attempt to fix the layout of the vector
layer dialog to fit in the unified dialog layout.
The optiomal solution would probably involve
a complete refactoring of the vector layer dialog
to use a stacked widget.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
018afc78db
[addlayerbutton] Larry Shaffer's fix to the raster button
...
Tricky solution, but temporary
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
8db19b2f77
[addlayerbutton] Raster support added
...
There is still an issue with the list not being
correclty reset after the raster icon is selected.
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
811e4dfd47
[addlayerbutton] Virtual Layers support added
...
Some changes in connections are required to keep in sync
the available layers lists in the virtual layer dialog.
(Modeless support is on the way)
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
6c66738d12
[addlayerbutton] Added delimited text layers
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
de5996c7dc
[addlayerbutton] Use enum for window mode instead of booleans
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
402b7ada39
[addlayerbutton] Initialise pointer
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
2f9b844a83
[addlayerbutton] Added help button (URL is still a placeholder)
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
e121cfbe80
[addlayerbutton] Use QgsOptionsDialogBase and all its nice features and styles
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
84bbb5f445
[addlayerbutton] Removed merge markers
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
a69d5122ab
[addlayerbutton] Show Add button in embedded spatialite dialog
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
143e0c63c8
[addlayerbutton] More embeddable dialogs
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
b31f05c72b
[addlayerbutton] New signals for new interfaces
2017-06-02 16:57:45 +02:00
Alessandro Pasotti
dcab8ca1b5
[addlayerbutton] Added more providers and get canvas from ctor
2017-06-02 16:57:45 +02:00