| 1234567891011121314151617 |
- function init(basePath) {
- var action = new RGuiAction(qsTranslate("SelectAll", "Select &All"), RMainWindowQt.getMainWindow());
- action.setRequiresDocument(true);
- action.setScriptFile(basePath + "/SelectAll.js");
- action.setIcon(basePath + "/SelectAll.svg");
- action.setStatusTip(qsTranslate("SelectAll", "Select all visible entities"));
- action.setDefaultShortcuts([
- new QKeySequence("t,a"),
- new QKeySequence(QKeySequence.SelectAll)
- ]);
- action.setDefaultCommands(["selectall", "ta"]);
- action.setNoState();
- action.setGroupSortOrder(4100);
- action.setSortOrder(200);
- action.setWidgetNames(["SelectMenu", "SelectToolBar", "SelectToolsPanel", "SelectMatrixPanel"]);
- }
|