282 Commits (974fe13d2f3bbba01910d09f5d1a3d36dfff41f2)

Author SHA1 Message Date
  Andrew Belt 974fe13d2f Increase ref counter of module JSON in ModuleWidget::pasteJsonAction() when giving shared ownership to history::ModuleChange action. 3 years ago
  Andrew Belt b42c433930 Don't consume Button in ModuleWidget when Shift-clicking to select/deselect. 3 years ago
  Andrew Belt 30a31e858b Rename RackWidget::getModuleMoveAction() back to getModuleDragAction() for ABI compatibility. 3 years ago
  Andrew Belt e19347d6da Use setModulePosForce() in RackWidget::addModuleAtMouse(). Push ModuleMove action when calling addModuleAtMouse(). 3 years ago
  Andrew Belt e57d87e708 If ModuleWidget is selected, don't dispatch Button event to children. 3 years ago
  Andrew Belt 1535b110cb Don't always consume buttons in ModuleWidget. 3 years ago
  Andrew Belt 2283de5792 Make module dragging always force-move modules. Allow creating selections and moving selections of modules if "Lock module positions" is enabled. 3 years ago
  Andrew Belt bee494a3d7 Make force-moving default module drag behavior. 3 years ago
  Andrew Belt 6a7bd37389 Remove ModuleWidget::oldPos, store old module positions in RackWidget::Internal. 3 years ago
  Andrew Belt 8e7acf9b74 Log all calls to Model::createModule() and createModuleWidget(). 3 years ago
  Andrew Belt 6c81ba466f Add RackWidget::getCompleteCablesOnPort(). Use it in PortWidget and ModuleWidget to prevent crashes when incomplete cables exist. 3 years ago
  Andrew Belt d7aa204bc7 Copy patch storage dir when cloning individual module. 3 years ago
  Andrew Belt 7bd26deefc Don't display negative meter measurements. 3 years ago
  Andrew Belt 319ece9430 Set ModuleWidget width to 12HP if SVG panel has zero width. 3 years ago
  Andrew Belt a786493ba1 Swap "Duplicate" and "Duplicate with cables" key commands. Add menu item to module and Edit menus. 3 years ago
  Andrew Belt 0839a7c041 Draw ModuleWidget shadow with drawLayer() instead of a custom drawShadow() method. 3 years ago
  Andrew Belt 357c0be7a1 Remove "Duplicate with cables" item from module and module selection 3 years ago
  Andrew Belt 35930bf7e9 Add "Duplicate with cables" menu item to module and module selections. 3 years ago
  Andrew Belt df89de7847 Move Svg to window:: namespace. 3 years ago
  Andrew Belt e925855ac4 Fix regex for module preset filename prefix. 3 years ago
  Andrew Belt 95ed0bb5c5 Fix module paste key command. Fix crash when deleting module selection. 3 years ago
  Andrew Belt 04a24fb71f Sort preset names in module preset menu. 3 years ago
  Andrew Belt f1635cd96b Add Module::jsonStripIds(). 3 years ago
  Andrew Belt 6800e7f231 Remove microseconds from module meter. 3 years ago
  Andrew Belt 219f60e0ef Fix module meter plot bottom edge. 3 years ago
  Andrew Belt e98a5115b5 Double-space meter texts. 3 years ago
  Andrew Belt 977fe52c56 Finish appearance of Module meter. 3 years ago
  Andrew Belt e249f82564 Redesign module CPU meter based on Pyer design. 3 years ago
  Andrew Belt ea09f6df29 Use `RackWidget::selectedModules` set rather than `ModuleWidget::selected` bool. 3 years ago
  Andrew Belt 1023247941 Add Model::appendContextMenu(). Display Model context menu in ModelBox of module browser. 3 years ago
  Andrew Belt f70d85fa3c Add Ctrl+F1 key command for opening module manual. 3 years ago
  Andrew Belt b63c9406eb Duplicate cables attached to inputs in RackWidget::cloneSelectionAction(). 3 years ago
  Andrew Belt 094382778f Set JSON real precision to double (17 digits). 3 years ago
  Andrew Belt 6c9aebfbde Add Module::getPanel(). 3 years ago
  Andrew Belt b605c2c258 Don't close menu when Ctrl-clicking items. Add argument to MenuItem helpers to disable this behavior. 3 years ago
  Andrew Belt aac5e3c381 Move interactive settings back to View menu. Rewrite various menus using menu helpers. Add rightText argument to createSubmenuItem() helper. 3 years ago
  Andrew Belt b341c90cc2 Clean up RackWidget selection method names. Add unimplemented RackWidget::loadSelectionDialog() and saveSelectionDialog(). 3 years ago
  Andrew Belt eb1048f6d0 Add names for a couple history actions. 3 years ago
  Andrew Belt 19ea6d0e81 Don't remove ModuleWidget while holding Delete, only pressing/repeating. 3 years ago
  Andrew Belt fe4191f9e5 Implement RackWidget::cloneSelectedModulesAction(). 3 years ago
  Andrew Belt 76331f350c Implement the "modules" half of RackWidget::pasteJsonAction(). 3 years ago
  Andrew Belt 4fb2c9ac7c Add RackWidget::fromJsonAction(), ModuleWidget::fromJsonAction(), and replace CableWidget::toJson() with CableWidget::mergeJson(). 3 years ago
  Andrew Belt aaf98bb16d Implement RackWidget::copyClipboardSelectedModules(). Clean up RackWidget API. 3 years ago
  Andrew Belt 9f2dce2124 Separate module name and brand label in context menu. 3 years ago
  Andrew Belt eeaafcfb88 Add menu item and key command for cloning selected modules. 3 years ago
  Andrew Belt fb36f4f009 Add RackWidget::setSelectedModulesPosNearest() so dragging selected modules uses nearest position to the drag start. 3 years ago
  Andrew Belt 9cbf65f48c Don't propagate Hover and DragHover events on ModuleWidget if selected. 3 years ago
  Andrew Belt c5374a878e Move ModuleWidget::createSelectionContextMenu() to RackWidget::appendSelectionContextMenu(). Add selection context menu to Edit in menu bar. 3 years ago
  Andrew Belt b017ebf887 Move module selection key commands to Scene so they are handled regardless of mouse position. 3 years ago
  Andrew Belt 8dc2b30c6b Add module deselection to context menu. 3 years ago