ea81a9338c
- Move Qml plugin engine out of libmscore - Add Pid::TICK handling to Element class - Make tick QML property correspond to absolute tick in all contexts That is a temporary solution though, a proper solution would require revising Pid::TICK handling - Move plugins API to api directory - Rename ElementW -> Element (PluginAPI namespace) - Remove Qt meta-object macros from Score in libmscore - Remove string-based access to properties from QML - Remove unused functions from Note - Rename QML properties names to camel case Two reasons: - They were named so in MuseScore 2.X. - Using underscored_names is less consistent with MuseScore coding style.
27 lines
779 B
C++
27 lines
779 B
C++
//=============================================================================
|
|
// MuseScore
|
|
// Music Composition & Notation
|
|
//
|
|
// Copyright (C) 2002-2012 Werner Schweer
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2
|
|
// as published by the Free Software Foundation and appearing in
|
|
// the file LICENCE.GPL
|
|
//=============================================================================
|
|
|
|
#include "qmlplugin.h"
|
|
|
|
#include "libmscore/musescoreCore.h"
|
|
|
|
namespace Ms {
|
|
|
|
//---------------------------------------------------------
|
|
// QmlPlugin
|
|
//---------------------------------------------------------
|
|
|
|
QmlPlugin::QmlPlugin(QQuickItem* parent)
|
|
: QQuickItem(parent)
|
|
{}
|
|
|
|
}
|