Commit graph

45 commits

Author SHA1 Message Date
Joachim Schmitz
b7b35643a1 Fix Deprecation warnings with Qt 5.15 (and 5.14)
* fix 383 warnings C4996 (deprecated) with one single line change
* fix 5 'empty' warnings about invalid slots, not sure the remaining
slots serve any purpose though
* disable warnings C4127 and C4996 for thirdparty/google_analytics
* fix 30 warnings C4996 using the suggested alternatives available since
at least Qt 5.9, so won't break building against that
* change as requested in code review plus some more fixes using the same
idea
* fixing yet more warnings
* disable deprecation warnings in qoogle_analytics for MinGW too
although I believe maxOS and Linux may use those too. Easy to extend to
those, if need be.
* Fix qml runtime warnings exactly following the advice given by that
warning, but without really know what I'm doing here or whether that is
still backwards compatible to Qt 5.9.
* Use replacements as suggested, if available and no `endl` neded with
`qDebug()`
* fix 24 more
* 2 more
* 7 more (one only seen in DEBUG mode)
* Fix the `endl` warnings
* maybe more changes this way?
* Add all warnings C5999 or bigger to the ignore list for telemetry
with Qt 5.15 Beta 1 as avoiding only C26439, C26444,C 26452, C26495,
C26498, C26812 isn't possible
* fix 2 deprecation warning new with Qt 5.15 beta 1
* fix 4 new warnings and also Qt 5.12 builds, disable some dead code
* fix deprecation warnings new with Qt 5.15's MSVC 2019 integration and
revert some (`QNetworkReply::networkError()`) that Qt 5.15 beta 2
reverted too
* fix warning reg. obsolete operator < for QVariants
* revert changes needed prior to beta 3 And clarifying some earlier
changes
* mark ToDos
* fix warning reg QString()::null
* fix a 'regression' from a revert of an earlier change
2020-06-03 12:59:19 +02:00
Igor Korsukov
45b9887603 changed code style 2020-05-28 09:50:45 +02:00
Dmitri Ovodok
f1d2e25b51 Revert to double-click to apply elements from drum input palette 2020-01-27 14:35:21 +02:00
MarcSabatella
c099af01b1 fix #293363: apply master palette elements with Enter
Resolves: https://musescore.org/en/node/293363

Enter works to apply the current palette element for the main palette,
but not for the master palette.
It turns out this is mostly just because there is no handler for Enter.
Also, we aren't managing curretnIdx, just selectedIdx.
Those two simple changes make this work.
2019-12-24 10:07:35 -05:00
Dmitri Ovodok
56ead8f145 Apply palette elements with single click 2019-12-24 14:20:36 +02:00
pereverzev_v
a634d3739a Added 'hit' state for QWidget-based palettes 2019-12-24 14:20:36 +02:00
pereverzev_v
e9f29a57cd Renamed property for enabling/disabling applying elements in palettes 2019-12-24 14:20:35 +02:00
pereverzev_v
39fd5dba4c Applying selected elements just by single click in qwidget-based palettes 2019-12-24 14:20:35 +02:00
MarcSabatella
add7905b29 reimplement scaling of old palettes dynamically +collect_artifacts 2019-12-02 06:59:07 -07:00
Dmitri Ovodok
fdacc32bad Avoid code duplication for creating master palette 2019-10-02 09:54:22 +02:00
Dmitri Ovodok
32a3467dcd Reimplement saving and loading palettes 2019-10-02 09:54:22 +02:00
anatoly-os
394487a268 fix build 2019-09-19 09:38:11 +02:00
anatoly-os
2bfd667b4f Implement changing palette cell properties on fly
* Rename palettedialogs.cpp/h to palettedialog.cpp/h to clarify the purpose of the file
* Made the changes similar to bf0dc85ee2
* Remove obsolete PaletteCellProperties declaration, remove the usage from the old Palette code
* Rename related *.ui file to clarify the meaning of the ui file
* Improve methods naming and parameters usage
2019-09-18 22:37:15 +02:00
anatoly-os
bf0dc85ee2 implement changing palette properties on fly
Rename palette.ui to paletteProperties.ui to keep the purpose of the UI file
Introduce slots for each control within the palette properties dialog. Each slot remembers whether the value was changed and emits signal to apply changes to the model.
All changes are applied on fly.
If a user wants to close the dialog, the message box similar to closing a file with unsaved changes will appear.
The changes are reverted if user cancels the dialog without saving changes and the palette state won't be changed which prevents creating custom workspace if no changes are applied.
Remove "Show More Element" checkbox
Disable "Palette Properties" when a palette is not editable
2019-09-18 14:48:34 +02:00
Dmitri Ovodok
8a28bd8714 Add initial version of redesigned palettes 2019-08-31 14:16:19 +03:00
mirabilos
65cd276439
remove RCS IDs from (almost) all files
they do not make any sense, nor do they get updated, if the
source code is kept in git
2018-11-02 23:53:21 +01:00
Matt McClinch
6708adfeb5 fix #276869: Adding barline with ctrl+doubleclick does not create a split. 2018-10-11 22:23:55 -04:00
divya-urs
4ee16fb58a Accessibility: new score wizard 2017-08-04 18:40:28 +05:30
divya-urs
c4deb52921 palette navigation 2017-07-30 14:33:11 +05:30
lasconic
b925afb0c6 resize palette to the correct height when searching 2017-07-14 21:09:29 +02:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
jeetee
109fb7d270 fix #120096 dialogs should remember their previous size 2016-11-10 23:26:12 +01:00
Werner Schweer
9f12f2aa7c fix #139316 Regression: inability to change a clef inside a system leads to crash 2016-10-30 16:27:55 +01:00
Werner Schweer
292a8d9cd1 fixes for palette; cleanup drag&drop 2016-10-29 12:33:16 +02:00
Werner Schweer
150939e771 dont show 'more' button and context menu for keysig palette in new wizard 2016-10-08 15:03:21 +02:00
Werner Schweer
00c14d749f update palettes; fix 'more' button 2016-10-07 13:00:49 +02:00
Werner Schweer
067fc1ea67 Merge pull request #2495 from CammyVee/Palette-Inserter
Change palette from swapping elements to inserting dropped element.
2016-09-13 09:25:48 +02:00
lasconic
b3c18ba5be search side palette. See #52086 2016-08-26 16:26:34 +02:00
CammyVee
1697498e7a fix #102316 - palette drag & drop inserts instead of swaps 2016-03-27 09:53:11 -04:00
ws
bccd8b0ba6 fix #43521: Double click key signature in new score wizard affects current score 2015-01-06 09:43:00 +01:00
Marc Sabatella
5f7fe8a19a add gui scaling option -x 2014-11-23 15:26:02 -07:00
Andrey M. Tokarev
330e232c9b Fix Element memory leak 2014-09-06 21:35:27 +04:00
ws
243d64fae2 fix #26096 2014-06-10 11:58:18 +02:00
ws
fe3f740de1 fix SymbolDialog in master palette 2013-11-26 15:15:45 +01:00
ws
1d79cc0189 add special palette button for ShowMore 2013-09-25 17:10:28 +02:00
ws
80e2ed96be make new created timesigs in masterpalett persistent; fix #15580 2013-07-16 18:18:45 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
ws
1e355d7bcf fixes for workspace; some palette tweaking 2013-03-15 17:52:58 +01:00
ws
6541e01106 fixes for workspaces 2013-02-11 10:22:15 +01:00
ws
fa98226ff5 update for workspaces 2013-02-10 14:50:18 +01:00
Werner Schweer
97b135dcac rework of palettes & workspace 2013-02-07 17:35:03 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Werner Schweer
a345f393b4 Sym() cleanup; use Sym names in TextLine() 2012-09-08 11:35:25 +02:00
lasconic
1266b541b5 fix several problems in palettes and drum palette 2012-06-25 23:46:45 +02:00
Werner Schweer
412ca45401 Initial commit 2012-05-26 14:49:10 +02:00