UnlockAllLayersInit.js 577 B

12345678910111213
  1. function init(basePath) {
  2. var action = new RGuiAction(qsTranslate("UnlockAllLayers", "&Unlock All Layers"), RMainWindowQt.getMainWindow());
  3. action.setRequiresDocument(true);
  4. action.setScriptFile(basePath + "/UnlockAllLayers.js");
  5. action.setIcon(basePath + "/UnlockAllLayers.svg");
  6. action.setDefaultShortcut(new QKeySequence("y,n"));
  7. action.setDefaultCommands(["layerunlockall", "yn"]);
  8. action.setGroupSortOrder(14150);
  9. action.setSortOrder(200);
  10. action.setWidgetNames(["LayerMenu", "LayerToolBar", "LayerToolsPanel", "LayerMatrixPanel"]);
  11. }