diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-08-21 13:01:09 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-11-28 15:45:43 -0800 |
commit | 992726ab492bad5bddd49a5a5c3e57764f1998b9 (patch) | |
tree | d2ff202943ca57b0f7ca0307e7feb73c7091b33c /platform/macos/app/Base.lproj/MainMenu.xib | |
parent | 03a2dbe3615cd525d091e49f640f960fa2b28a81 (diff) | |
download | qtlocation-mapboxgl-992726ab492bad5bddd49a5a5c3e57764f1998b9.tar.gz |
[macos] Added Layers sidebar
Added a sidebar to the main document window in macosapp that lists the layers in the current style and updates whenever the style changes or a layer is added or removed programmatically. Display an icon beside each layer in the sidebar that indicates the kind of layer. Double-click a layer or layers to toggle their visibility, which is an undoable action. Added a menu item and toolbar button to toggle the Layers sidebar. Added a context menu for toggling visibility of and deleting layers selected in the Layers sidebar.
Checked in the original SVGs for layer icons.
Diffstat (limited to 'platform/macos/app/Base.lproj/MainMenu.xib')
-rw-r--r-- | platform/macos/app/Base.lproj/MainMenu.xib | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/macos/app/Base.lproj/MainMenu.xib b/platform/macos/app/Base.lproj/MainMenu.xib index 7dd4d08430..4efb8d4c46 100644 --- a/platform/macos/app/Base.lproj/MainMenu.xib +++ b/platform/macos/app/Base.lproj/MainMenu.xib @@ -429,6 +429,11 @@ <action selector="toggleToolbarShown:" target="-1" id="BXY-wc-z0C"/> </connections> </menuItem> + <menuItem title="Show Layers" keyEquivalent="L" id="qtg-l9-BH3"> + <connections> + <action selector="toggleLayers:" target="-1" id="YdA-Mr-MHi"/> + </connections> + </menuItem> </items> </menu> </menuItem> |