Remove redundant ScoreAppearanceTypes class
Not actual anymore, since the options to which it was related have been removed.
This commit is contained in:
parent
5ae8097350
commit
edebd57612
4 changed files with 0 additions and 48 deletions
|
@ -42,7 +42,6 @@ set(MODULE_SRC
|
|||
${CMAKE_CURRENT_LIST_DIR}/types/noteheadtypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/ornamenttypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/linetypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/scoreappearancetypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/stemtypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/texttypes.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/types/commontypes.h
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
#include "types/articulationtypes.h"
|
||||
#include "types/ambitustypes.h"
|
||||
#include "types/chordsymboltypes.h"
|
||||
#include "types/scoreappearancetypes.h"
|
||||
#include "types/bendtypes.h"
|
||||
#include "types/tremolobartypes.h"
|
||||
#include "types/tremolotypes.h"
|
||||
|
@ -106,7 +105,6 @@ void InspectorModule::registerUiTypes()
|
|||
qmlRegisterUncreatableType<AmbitusTypes>("MuseScore.Inspector", 1, 0, "AmbitusTypes", "Not creatable as it is an enum type");
|
||||
qmlRegisterUncreatableType<ChordSymbolTypes>("MuseScore.Inspector", 1, 0, "ChordSymbolTypes", "Not creatable as it is an enum type");
|
||||
qmlRegisterType<FretCanvas>("MuseScore.Inspector", 1, 0, "FretCanvas");
|
||||
qmlRegisterUncreatableType<ScoreAppearanceTypes>("MuseScore.Inspector", 1, 0, "ScoreAppearanceTypes", "Not creatable...");
|
||||
qmlRegisterType<GridCanvas>("MuseScore.Inspector", 1, 0, "GridCanvas");
|
||||
qmlRegisterUncreatableType<BendTypes>("MuseScore.Inspector", 1, 0, "BendTypes", "Not creatable as it is an enum type");
|
||||
qmlRegisterUncreatableType<TremoloBarTypes>("MuseScore.Inspector", 1, 0, "TremoloBarTypes", "Not creatable as it is an enum type");
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
*/
|
||||
#include "scoreappearancesettingsmodel.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "translation.h"
|
||||
#include "types/scoreappearancetypes.h"
|
||||
|
||||
using namespace mu::inspector;
|
||||
using namespace mu::notation;
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: GPL-3.0-only
|
||||
* MuseScore-CLA-applies
|
||||
*
|
||||
* MuseScore
|
||||
* Music Composition & Notation
|
||||
*
|
||||
* Copyright (C) 2021 MuseScore BVBA and others
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 3 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef MU_INSPECTOR_SCOREAPPEARANCETYPES_H
|
||||
#define MU_INSPECTOR_SCOREAPPEARANCETYPES_H
|
||||
|
||||
#include "qobjectdefs.h"
|
||||
|
||||
namespace mu::inspector {
|
||||
class ScoreAppearanceTypes
|
||||
{
|
||||
Q_GADGET
|
||||
|
||||
public:
|
||||
|
||||
enum class OrientationType {
|
||||
ORIENTATION_PORTRAIT = 0,
|
||||
ORIENTATION_LANDSCAPE
|
||||
};
|
||||
|
||||
Q_ENUM(OrientationType)
|
||||
};
|
||||
}
|
||||
|
||||
#endif // MU_INSPECTOR_SCOREAPPEARANCETYPES_H
|
Loading…
Reference in a new issue