forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added text tab to pedal line properties (musescore#14928)
- Loading branch information
1 parent
48c75f4
commit 70b94d9
Showing
7 changed files
with
104 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 0 additions & 101 deletions
101
src/inspector/view/qml/MuseScore/Inspector/notation/lines/PedalSettings.qml
This file was deleted.
Oops, something went wrong.
90 changes: 90 additions & 0 deletions
90
src/inspector/view/qml/MuseScore/Inspector/notation/lines/internal/PedalStyleSettings.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* | ||
* 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/>. | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
|
||
import MuseScore.Ui 1.0 | ||
import MuseScore.UiComponents 1.0 | ||
import MuseScore.Inspector 1.0 | ||
|
||
import "../../../common" | ||
|
||
FocusableItem { | ||
id: root | ||
|
||
property QtObject model: null | ||
|
||
property NavigationPanel navigationPanel: null | ||
property int navigationRowStart: 1 | ||
|
||
implicitHeight: contentColumn.height | ||
width: parent.width | ||
|
||
|
||
Column { | ||
id: contentColumn | ||
|
||
width: parent.width | ||
|
||
spacing: 12 | ||
|
||
HooksSection { | ||
id: hooksSection | ||
|
||
startHookType: root.model ? root.model.startHookType : null | ||
endHookType: root.model ? root.model.lineType : null | ||
startHookHeight: root.model ? root.model.startHookHeight : null | ||
endHookHeight: root.model ? root.model.endHookHeight : null | ||
|
||
possibleStartHookTypes: root.model ? root.model.possibleStartHookTypes() : null | ||
possibleEndHookTypes: root.model ? root.model.possibleEndHookTypes() : null | ||
|
||
navigationPanel: root.navigationPanel | ||
navigationRowStart: root.navigationRowStart + 1 | ||
} | ||
|
||
PropertyCheckBox { | ||
id: showLineCheckBox | ||
visible: root.model && root.model.isChangingLineVisibilityAllowed | ||
|
||
text: qsTrc("inspector", "Show line with rosette") | ||
propertyItem: root.model ? root.model.isLineVisible : null | ||
|
||
navigation.name: "ShowLineWithRosetteCheckBox" | ||
navigation.panel: root.navigationPanel | ||
navigation.row: hooksSection.navigationRowEnd + 1 | ||
} | ||
|
||
SeparatorLine { anchors.margins: -12 } | ||
|
||
LineStyleSection { | ||
thickness: root.model ? root.model.thickness : null | ||
|
||
lineStyle: root.model ? root.model.lineStyle : null | ||
dashLineLength: root.model ? root.model.dashLineLength : null | ||
dashGapLength: root.model ? root.model.dashGapLength : null | ||
|
||
navigationPanel: root.navigationPanel | ||
navigationRowStart: showLineCheckBox.navigation.row + 1 | ||
} | ||
} | ||
} |