Commit graph

23047 commits

Author SHA1 Message Date
Roman Pudashkin
57d9da3204 fixed the height of collapsed sections 2021-10-19 10:53:51 +02:00
Roman Pudashkin
16bdcd786b increased the length of separators 2021-10-19 10:53:51 +02:00
Roman Pudashkin
850caa83c0 fix #9245: added separators between sections 2021-10-19 10:53:49 +02:00
Roman Pudashkin
415d44722b fixed options for resizing barlines 2021-10-19 10:44:55 +02:00
Casper Jeukendrup
5a346f94bf
Rename PainterPath::EngravingItem back to PainterPath::Element
The Big Renaming turned out a little bit too big...
2021-10-18 21:56:51 +02:00
Casper Jeukendrup
ef411fd208
Don't let horizontal and vertical NotationScrollBars collide 2021-10-18 21:00:43 +02:00
Casper Jeukendrup
c75bb955cc
Fix size of zoom-independent elements on high-DPI screens
Like Lasso, Selection rectangle, Grips, Text cursor.

Also eliminate numerous multiplications and divisions with guiScaling.
2021-10-18 17:42:24 +02:00
Casper Jeukendrup
29906bb8b9
Fix scaling in Notation Navigator 2021-10-18 17:30:29 +02:00
Elnur Ismailzada
3599b6359f
Merge pull request #9484 from Eism/accessibility_orca_cancel_reading
[MU4] Accessibility. Orca cancel reading
2021-10-18 08:26:33 -07:00
RomanPudashkin
647c8c681a
Merge pull request #9412 from cbjeukendrup/fix_scrollable_area
Make notation view scrollbars behave the same as scrolling with the mouse
2021-10-18 17:24:07 +02:00
Eism
fad1cf4d8c Fixed tests 2021-10-18 16:23:02 +02:00
Casper Jeukendrup
b0c6644c9c
Fix scrolling slowly at high zoom levels
Partly by using qreal instead of int, and PointF instead Point, et cetera, to eliminate rounding errors. Both QML and Libmscore use floating point numbers, so we should too.
Also replaced a lot of Qt stuff with our own alternatives.
2021-10-17 23:26:34 +02:00
Casper Jeukendrup
740a0a66e0
Add minimum size property to StyledScrollBar
And slightly fixed the minimum size property of NotationScrollBar.
2021-10-17 16:29:38 +02:00
Casper Jeukendrup
c96a00d267
Add 4px padding to ScrollBars
- Both StyledScrollBar and NotationScrollBar
- Removed anchors.margins we added earlier, which are now redundant
- Removed some redundant anchors properties from StyledScrollBars, because those are already set by default
2021-10-17 16:29:38 +02:00
Casper Jeukendrup
32d2a02ca4
Improve "Always on" state of StyledScrollBar
Also added `thickness` property, so that we don't need to set width or height manually.
2021-10-17 16:29:37 +02:00
Casper Jeukendrup
5cb79509ff
Restored/reimplemented Figma-like scroll bars for NotationPaintView
Now, overscroll can be used with the scroll bars.
2021-10-17 16:29:37 +02:00
Casper Jeukendrup
3ec212a7a5
Make scrollbars behave the same as scrolling with the mouse 2021-10-17 14:35:17 +02:00
Casper Jeukendrup
036010bc2d
Fix margins for notation view scrollbars 2021-10-17 14:35:17 +02:00
RomanPudashkin
b191700f75
Merge pull request #9486 from martin-danhier/9416-remove-deleted-repeat
Fix #9416 reset grip edit after deleting selected bar lines
2021-10-16 20:44:15 +02:00
Martin Danhier
d3c010cc73 Fix #9416: reset grip edit after deleting selected bar lines 2021-10-16 19:39:08 +02:00
RomanPudashkin
bf061936e3
Merge pull request #9365 from martin-danhier/center-editor-zoom
Fix #9201 Set the notation zoom focus point to the selection or the center of the view
2021-10-15 22:04:26 +02:00
RomanPudashkin
5f1c0af7c9
Merge pull request #9461 from asattely/tuplet-collisions
fix #9417 Nested tuplet bracket collisions
2021-10-15 22:00:41 +02:00
RomanPudashkin
87165a7de6
Merge pull request #9408 from cbjeukendrup/inspector_resetButton
[Inspector] Show reset button directly instead of putting it in a one-item context menu
2021-10-15 21:52:00 +02:00
Casper Jeukendrup
3698d9e5ba
Place dragged palette element at position where it was pressed 2021-10-15 20:54:52 +02:00
Casper Jeukendrup
4e7a818f16
Don't show extra separator when notation tab bar is invisible 2021-10-15 20:54:52 +02:00
Casper Jeukendrup
7f855747de
Correctly disable playback controls when closing notation 2021-10-15 20:54:52 +02:00
Casper Jeukendrup
b4073bef79
Disable NavigationPanels and NavigationSections when their visual items are disabled or invisible 2021-10-15 20:54:52 +02:00
Casper Jeukendrup
8705bc7894
Disable NavigationControls if and only if their visual control is disabled and invisible
Also added some missing names to NavigationControls and performed some general QML code quality improvements.
2021-10-15 20:49:19 +02:00
Casper Jeukendrup
284b94dc36
Inspector: Show reset button instead of context menu with only one item 2021-10-15 20:37:53 +02:00
RomanPudashkin
40896d6c74
Merge pull request #9452 from Nick-Mazuk/optical-center-dynamics-2
use opticalCenter to align dynamics
2021-10-15 17:10:14 +02:00
Elnur Ismailzada
29f4ed1e25
Merge pull request #9457 from RomanPudashkin/statusbar_fix
[MU4] Fixed the status bar disappearing
2021-10-15 05:29:15 -07:00
Roman Pudashkin
153952d776 removed the redundant brace model 2021-10-15 14:10:50 +02:00
Roman Pudashkin
db6e83bb55 fix #9437: fixed the crash after changing bracket 'column' or 'span'
option
2021-10-15 14:04:23 +02:00
Eism
2dc5376d1e Fixed crash when exiting the application
When exiting, the accessibility system asks for the states of the elements, but our services are no longer available
2021-10-15 13:49:12 +02:00
Eism
f8b3fc028a Canceling the reading the name of previous control on accessibility 2021-10-15 13:38:56 +02:00
Roman Pudashkin
a0c405500d fix #9085: fixed random sorting of inspector sections 2021-10-15 12:17:16 +02:00
RomanPudashkin
b7972dca06
Merge pull request #9428 from alexpavlov96/layout_without_images
removed empty spaces from images when they are disabled
2021-10-14 23:43:57 +02:00
RomanPudashkin
fc9fdee135
Merge pull request #9410 from cbjeukendrup/menu_item_roles
Fix place of "About" actions in macOS menu bar
2021-10-14 23:35:47 +02:00
RomanPudashkin
7834157f5e
Merge pull request #9477 from cbjeukendrup/inspector_scroll_back_when_content_changes
Remove UI for adding braces to accidental and use icons instead of text for other bracket options in Inspector
2021-10-14 23:32:29 +02:00
RomanPudashkin
08c3ca6b77
Merge pull request #9478 from cbjeukendrup/remove_tours
Remove all references to the "Tours" functionality
2021-10-14 23:29:48 +02:00
Casper Jeukendrup
38565321fa
Fix place of "About" actions in macOS menu bar
Co-Authored-By: Matt McClinch <mattmcclinch@gmail.com>
2021-10-14 23:12:22 +02:00
Casper Jeukendrup
64f201399d
Remove all references to the "Tours" functionality
It won't be included in MuseScore 4.
2021-10-14 23:04:23 +02:00
Casper Jeukendrup
e14b281443
Fix compiler warning in VST module
Missing virtual destructor
2021-10-14 22:39:57 +02:00
Casper Jeukendrup
b53c1caf2a
Remove the option to add braces to accidental from Palettes 2021-10-14 22:39:57 +02:00
Casper Jeukendrup
b1fce02ea1
[Inspector/Accidental] Remove UI for Braces option and use icons instead of text for other options 2021-10-14 22:39:57 +02:00
Casper Jeukendrup
a489de2c0a
Scroll Inspector back to top when content height becomes smaller
When selecting an element that has many controls in the inspector, you can often scroll down. When you select an element with less controls after that, the Inspector should scroll back, so that there is no extra empty space at the bottom.
2021-10-14 21:52:40 +02:00
Casper Jeukendrup
e553d509a5
Fix QML warning from CheckBoxPropertyView 2021-10-14 21:52:39 +02:00
Aaron Sattely
472e7c32dd Fix nested tuplet bracket collisions 2021-10-14 15:03:52 -04:00
RomanPudashkin
4782c71b45
Merge pull request #9475 from cbjeukendrup/inspector_checkbox_width
Fix width of CheckBoxes in Inspector so that they use two lines instead of being clipped
2021-10-14 19:00:53 +02:00
Nick Mazuk
16cc22c595
use opticalCenter to align dynamics
fix codestyle errors

opticalCenter works with various font sizes

allow opticalCenter to work with cue notes
2021-10-14 09:46:18 -07:00