ShowAllBlocksInit.js 566 B

123456789101112
  1. function init(basePath) {
  2. var action = new RGuiAction(qsTranslate("ShowAllBlocks", "&Show All Blocks"), RMainWindowQt.getMainWindow());
  3. action.setRequiresDocument(true);
  4. action.setScriptFile(basePath + "/ShowAllBlocks.js");
  5. action.setIcon(basePath + "/ShowAllBlocks.svg");
  6. action.setDefaultShortcut(new QKeySequence("b,s"));
  7. action.setDefaultCommands(["blockshowAll", "bs"]);
  8. action.setGroupSortOrder(14100);
  9. action.setSortOrder(200);
  10. action.setWidgetNames(["BlockMenu", "BlockToolBar", "BlockToolsPanel", "BlockMatrixPanel"]);
  11. }