Commit graph

113 commits

Author SHA1 Message Date
anatoly-os
c73d41ae8c Merge pull request #6054 from mattmcclinch/head-foot-move
fix #304957: moving headers/footers causes a crash
2020-05-12 03:41:04 +02:00
DangWang
c5be1af3ba fix #16077 part 2: Double click a header/footer to open the corresponding menu 2020-04-28 15:38:36 +03:00
ws
ec3be9a99a Replacd integer midi tick values by fractions.
- tick names a position on the time axis
- tick is always a Fraction()
- only Measure() and Segment() (and Tuplet?) have a tick value
- tick() for an generic element return only a sensible value if isMeasure() or isSegment() or isSegment(parent())

- "ticks" names a duration stored in a Fraction()
- the tick value for an Segment is relative to its measure

- rename "duration" to "ticks"
- rename afrac() to tick()
- rename rfrac() to rtick()
- rename some variables, changing "fraction" into "tick"
  (example: actualFraction() into actualTicks())

- Lyrics ticks are written as Fraction, on read if xmlreader sees a "/" it reads a fraction
  else midi ticks for backwards compatibility
2019-02-18 11:46:05 +01:00
ws
ffdab67a9d fix handling of custom formatted text and values in inspector:
- replace properties "BOLD ITALIC UNDERLINE" by one property FONT_STYLE
- if text is custom fomatted (has size/fontface changes, contains parts in bold/italic etc.
  then the appropriate property values are set to "unstyled". This enables the reset button
  in the inspector.
- pressing reset for some text properties strips changes of this property in the text
  Example: text contains a part in italic: pressing reset removes the italic formatting
- the "remove custom formatting" button is only enabled if there is some custom formatting
2018-11-26 21:17:19 +01:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
Matt McClinch
18cd99a0f4 fix #276537: Hidden Staves appear when Hide Empty Staves enabled 2018-10-15 11:13:00 -04:00
alexandr
a5acf08eb3 fix #275361: Hidden dynamic symbols become visible 2.X->3.0
Error was that we need always call element::layout() method. Otherwise position of elements are (0.0 0.0). And painter doesn't draw elements with this position.
And now layout() is called for both visible and invisible elements, but invisible ones don't participate in autoplacement operations, so there is neither performance impact nor invisible elements autoplacement.
This leads to invisible elements collision if you switch visibility, but it is expected I believe, since we position elements for printing, but invisible elements are for playback.
2018-09-19 11:51:38 +02:00
Joachim Schmitz
f7685e28c1 Fix some warnings C4456 and C4458 2018-08-17 15:06:15 +02:00
ws
411b463f7a refactoring of layout for linear layout mode 2018-08-16 16:43:07 +02:00
ws
4db3af42cb fix #274894 Crash if changing 'vertical frame bottom margin' leads to different number of pages 2018-08-06 10:38:28 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
175d5aadb3 cleanup ElementFlags interface, use more Placement properties on mxml import/export 2018-07-04 12:41:14 +02:00
ws
5e8aef2042 fix #254536 Undoing a mmrest in a score> 1 page causes a crash 2018-05-03 12:17:20 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
ws
6969419cfc update subStyle implementation 2018-03-21 14:05:43 +01:00
luz.paz
dab3b5f056 Misc. typos follow up
Follow up to previous typo commit a8ac55c180
2018-02-19 19:30:12 -05:00
Werner Schweer
e6175c5dda rearrange class hierarchy 2017-12-27 11:51:09 +01:00
Werner Schweer
be89a2de5e replace QStateMachine 2017-05-02 14:23:01 +02:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
Werner Schweer
8dab53007b add text styles for header/footer in style editor 2017-02-27 15:39:19 +01:00
Werner Schweer
fc55143b95 update mtest 2017-02-17 15:48:28 +01:00
Werner Schweer
c130e6a9e3 fix header/footer text 2017-02-09 14:57:40 +01:00
Werner Schweer
6ecd806ff3 better bw. compatibility 2017-01-25 15:55:04 +01:00
Werner Schweer
9a9dedf774 change PageFormat to simple style values 2017-01-23 21:53:51 +01:00
Werner Schweer
e8621b8e2a fingering layout update; fixed layout bugs 2017-01-19 16:06:40 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
0b1aea952f layout for movements 2017-01-05 11:28:45 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
4e0b0dbae0 update layout code 2016-10-20 11:32:17 +02:00
Nicolas Froment
b7e3b45e2f Merge pull request #2836 from IsaacWeiss/palettes
Organized palettes and new header/footer syntax for part names, plus fix #110731 and partial fix #120096
2016-09-24 12:19:24 +02:00
ZackTheCardshark
0df3510559 Organized palettes and new header/footer syntax for part names, plus fix #110731 and partial fix #120096 2016-09-23 11:33:42 -04:00
lasconic
5a11929267 Compatibility code for Style in 2.0 files 2016-09-22 18:08:06 +02:00
Joachim Schmitz
d991842e8c fix compiler warning reg. unused parameter 2016-09-16 13:38:12 +02:00
Werner Schweer
dae86056a3 preparations for new compatibility implementation 2016-09-13 09:40:54 +02:00
werner
7c5e99a358 implement lyrics above stave 2016-08-24 14:49:51 +02:00
ZackTheCardshark
186516f343 Better flip folder size
Having measured a few now, I’m confident this is more realistic.
2016-06-09 16:18:29 -04:00
ZackTheCardshark
b6b0817a07 Move B5 page size down to between B4 and B6
Seehttps://musescore.org/en/node/114496
2016-06-09 16:13:48 -04:00
lasconic
6cdc60696f move A4 up in the list of papersize, remove obsolete 1.3 reading of paper size 2016-05-12 11:32:00 +02:00
Nicolas Froment
fdc9739841 Merge pull request #2586 from ZackTheCardshark/page-experiment
Fix #109946, fix #109951: Better paper size choices for Page Settings
2016-05-12 11:19:30 +02:00
ZackTheCardshark
a708aeaab3 Fix #109946, fix #109951: Better paper size choices for Page Settings 2016-05-09 16:09:57 -04:00
Joachim Schmitz
599c5ab2fb enable translation for paper format
see also PR #2586, at least "Custom" should get translated (by changing
`"Custom"` to `QT_TRANSLATE_NOOP("paperSizes", "Custom")` in
libmscore/page.cpp, line 39, but I don't want to collide with that other
PR).

While at it, fix a missing translation for jumpType and minor formatting
issues and simplify the for loops over paperSizes.
2016-05-04 17:14:21 +02:00
Joachim Schmitz
5d29ff1261 fix warnings introduced with the newlayout merge 2016-04-15 08:34:02 +02:00
ws
841ce00af4 re-add linear layout 2016-04-13 12:05:47 +02:00
ws
696dc07b54 fix crash in range layout 2016-04-13 12:05:47 +02:00
ws
3f1aa2ed1f misc. updates to layout 2016-04-13 12:05:46 +02:00
ws
2874c409ae specialize MasterScore() from Score() 2016-04-13 11:46:21 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
ws
97345495ec fix regressions for system divider 2016-04-13 11:19:01 +02:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00