9 Commits

Author SHA1 Message Date
Salvatore Larosa
f55347ff31 [macos] move add button on the right in datasource manager 2018-03-14 22:44:04 +01:00
Alessandro Pasotti
8fb147f802 Use standard buttons for unified add layer dialog
Fixes #17728 by setting the standard buttons in the
button box instead of manually adding them by code.

This way the buttons should honor the platform-specific
position and look&feel.
2017-12-21 17:21:50 +01:00
Alessandro Pasotti
f177ba3141 Remove unused code 2017-11-13 14:48:32 +01:00
Alessandro Pasotti
79c8f9686d Remove OK button and add CLOSE
Yes, it's one more click to quit, but more intuitive UI
2017-11-13 11:29:59 +01:00
Alessandro Pasotti
fef3bc099d Renamed button slots and make ogr dialog inherit from the abstract base 2017-08-04 22:06:07 +02:00
Alessandro Pasotti
dc6017dc1d Move the buttons and connections into the base class
This was a small refactoring to homogenize the
dialogs buttons and add an Ok/Add button bar.
2017-08-04 17:43:23 +02:00
Alessandro Pasotti
e83ef2e8b5 Store canvas into the base class and set extent/crs from the arcgis classes
This modification was necessary because the current implementation
of the source select dialogs within the unified add layer dialog
create the provider dialogs the first time and do not destroy
them, this means that the canvas extent and CRS can change from
a dialog invocation to the next and the extent and CRS need to
be updated at layer creation time.
2017-07-18 11:45:07 +02:00
Alessandro Pasotti
73b66fa1f5 Homogenize signals from different source select dialogs, move to base class 2017-07-18 11:45:07 +02:00
Alessandro Pasotti
c4e26d72c0 Renamed base class to QgsAbstractDataSourceWidget 2017-07-18 11:42:02 +02:00