Commit graph

49 commits

Author SHA1 Message Date
Joachim Schmitz
a862889de5 fix #90811: allow dots in filenames
rather than truncating and cutting off anything after the 1st dot of a
filename.
2015-12-16 10:24:34 +01:00
Maurizio M. Gavioli
09e268edbe Plugin framework: add requiresScore flag
A built-in property is added to plug-ins called `requiresScore` which controls whether the plug-in requires a score to run or can run without any score open (for instance because it creates the target score itself).

If the property is `true` and the plug-in is launched when no score is open, a message box display a warning message and the launch is aborted.

this happens when launching the plug-in both directly from the `Plugins` menu and from within the Plugin Creator.

By default this property is `true` (so that all existing QML plug-ins are assumed to require an open score); the property can be set to `false` by adding a line like

`requiresScore: false`

in the property definitions of the plug-in `MuseScore` object.
2015-07-28 19:51:35 +02:00
ws
fc8fad97be fix compiling for qt5.5 2015-07-08 14:39:33 +02:00
Maurizio M. Gavioli
7ec718d108 Let a plug-in to know its own path
The full path a plug-in is run from is made known to the plug-in itself in the read-only property `filePath`. `filePath` contains the file path, without the file name and without trailing '/'.

This property is useful for the plug-in to access resources or assets it may rely on: icons, dialogues, data files, etc., through the standard `Loader` QML type or through the MuseScore-specific `FileIO` QML type.
2015-03-27 10:21:15 +01:00
lasconic
a7326606d6 use Sentence case for error messages 2015-03-04 12:18:09 +01:00
lasconic
ff962d52d3 fix #30206: [Mac OSX] Unable to quit MuseScore if and after Plugin Creator is loaded 2015-02-18 16:26:59 +01:00
AntonioBL
c6ad7f596e plugin fixes 2015-01-10 21:27:13 +01:00
ws
f22515c0ef reimplement effect gui without qml 2015-01-07 13:47:19 +01:00
Marc Sabatella
5f7fe8a19a add gui scaling option -x 2014-11-23 15:26:02 -07:00
Mark Stanton
4ba7196652 Bring Plugin save and load options and dialogs into line with score
saving and loading.
2014-09-04 20:51:42 +01:00
lasconic
bff486a493 clean up accessors in musescore.h 2014-08-29 19:18:39 +02:00
Joachim Schmitz
473de3d918 turn enum PCState into enum class 2014-07-15 14:22:31 +02:00
Joachim Schmitz
7709b6bf7a convert unnamed enum into enum class Icons 2014-06-24 14:47:01 +02:00
ws
0c34c93cc9 move plugin framework to libmscore 2014-04-25 18:43:25 +02:00
Joachim Schmitz
3f474d84d6 several fixes for translations 2014-03-06 18:47:59 +01:00
Joachim Schmitz
7937d2c69c fix wrong icon for plugin reload 2014-01-28 14:47:24 +01:00
ws
8e5980870d remove QtTraceMsg 2013-11-25 16:19:31 +01:00
ws
a155186190 add ScoreFont to Symbol class; extend master palette symbols dialog; misc cleanups 2013-11-25 15:02:55 +01:00
lasconic
7ffcf51595 more strings cleanup 2013-11-03 16:49:02 +01:00
wschweer
316cf9f383 bugfixes for plugins; new test plugin random2 2013-10-06 15:04:23 +02:00
wschweer
0205fb9929 add reload button to pluginCreator 2013-10-05 17:31:03 +02:00
wschweer
0c88c54895 use qt key bindings for qml editor 2013-10-05 17:31:03 +02:00
wschweer
95f9dec4c4 enable shortcuts in qml editor 2013-10-05 17:31:03 +02:00
lasconic
9ef6eee6e7 add default background color to plugin dialog, resize plugin dialog content 2013-08-12 01:01:43 +02:00
lasconic
187765b882 fix initial size of dialog for plugins 2013-07-23 22:13:49 +02:00
lasconic
ad4cce5f62 add plugin type 'dialog', enable plugin without UI 2013-07-14 14:31:54 +02:00
lasconic
9fd46996b4 fix the display of UI in plugin creator 2013-07-14 11:26:48 +02:00
lasconic
cf0d56d965 fix #21819: Q_INVOKABLE needs namespace declaration, better fix for #21812 2013-07-13 18:41:16 +02:00
lasconic
6571a3b561 protect against null dock in plugin creator 2013-07-13 11:46:57 +02:00
ws
fb87e6422d enable qml 2 2013-07-09 15:12:50 +02:00
ws
98ea91fae4 merge master 2013-07-08 14:44:28 +02:00
lasconic
58e3e60c23 icon size in toolbar should respect preferences 2013-06-18 17:02:25 +02:00
ws
bac4d1632c comment out qt5.2 functions 2013-05-16 18:58:03 +02:00
ws
f448d29ab4 move to qml2 2013-05-16 17:10:33 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
lasconic
3d46ca7d84 standardize dialog/menu state interaction 2013-05-12 23:13:28 +02:00
lasconic
5ece2265ce replace more icons 2013-05-11 15:22:27 +02:00
Werner Schweer
50fabe2b47 preparations for mtesting plugins 2012-12-10 09:15:50 +01:00
Werner Schweer
8d5a94808c build fixes for plugin manual 2012-08-08 11:16:55 +02:00
Werner Schweer
76e22b7ec7 polishing the plugin subsystem 2012-07-18 14:54:44 +02:00
Werner Schweer
2914f0a702 more plugin bindings 2012-07-16 19:59:32 +02:00
lasconic
3990004497 add translation for manual header 2012-07-14 15:29:40 +02:00
Werner Schweer
e521b1f60e more script bindings; enhanced manual 2012-07-13 19:44:03 +02:00
Werner Schweer
0d1c4d0786 add documentation for plugins->cursor->selection 2012-07-13 11:26:08 +02:00
Werner Schweer
8e11e03a53 add manual generator for plugins 2012-07-11 21:29:42 +02:00
Werner Schweer
52744d6de9 more script bindings; add pluginCreator help browser 2012-07-10 17:17:17 +02:00
Werner Schweer
a6842c8458 add toolbar to qmledit 2012-07-05 14:31:03 +02:00
Werner Schweer
37d57470f4 log console debugging in plugin editor 2012-07-02 20:23:00 +02:00
Werner Schweer
870beae8de add plugin editor 2012-07-02 18:05:10 +02:00