SelectContourInit.js 663 B

12345678910111213
  1. function init(basePath) {
  2. var action = new RGuiAction(qsTranslate("SelectContour", "(De-)Select &Contour"), RMainWindowQt.getMainWindow());
  3. action.setRequiresDocument(true);
  4. action.setScriptFile(basePath + "/SelectContour.js");
  5. action.setIcon(basePath + "/SelectContour.svg");
  6. action.setStatusTip(qsTranslate("SelectContour", "(De-)Select connected entities"));
  7. action.setDefaultShortcut(new QKeySequence("t,c"));
  8. action.setDefaultCommands(["selectcontour", "tc"]);
  9. action.setGroupSortOrder(4300);
  10. action.setSortOrder(100);
  11. action.setWidgetNames(["SelectMenu", "SelectToolBar", "SelectToolsPanel", "SelectMatrixPanel"]);
  12. }