Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut Categories #12752

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
048a070
Rewrite of previous work (constructors not fixed yet)
VanSHOE Jul 1, 2022
e433e5d
Missing Value list section
VanSHOE Jul 1, 2022
0b91733
Category Restructure and Expand/ Collapse all button in shortcuts ca…
VanSHOE Jul 6, 2022
b2f2ae5
Shortcuts start collapsed
VanSHOE Jul 6, 2022
cca70af
Bolded section headers
VanSHOE Jul 6, 2022
3e878c0
Context loading from cpp file
VanSHOE Jul 7, 2022
df0299e
Removed navigation on collapsed shortcuts and if all shortcuts are co…
VanSHOE Jul 10, 2022
537e365
Category Default fix
VanSHOE Jul 29, 2022
e43b2b9
Manually adding categories for a couple actions
VanSHOE Jul 29, 2022
b7bf6b1
Title fix
VanSHOE Jul 29, 2022
1b52d83
Categories added
VanSHOE Aug 10, 2022
26ce922
Font and converted categories to translated strings
VanSHOE Aug 27, 2022
dac1b15
Changed enum casing to all caps
VanSHOE Aug 27, 2022
3650569
Rebase fix
VanSHOE Sep 2, 2022
0e237e3
Codestyle fix
VanSHOE Sep 2, 2022
0b83738
Removed animation and refactored location of category code
VanSHOE Sep 2, 2022
cc5a0a9
Refixed getCategoryName
VanSHOE Sep 2, 2022
d88d168
Minor refactorings and cleanup 1
VanSHOE Sep 3, 2022
09fc0ad
Category Enums changed to CamelCase
VanSHOE Sep 3, 2022
8ac2ba2
Updated categories as per the latest sheet
VanSHOE Sep 7, 2022
338140c
Rebase fixes alongside icon addition and hiding internal
VanSHOE Sep 7, 2022
82fedc1
Removed unnecessary header
VanSHOE Sep 7, 2022
8bb0bb6
frame-text categorized
VanSHOE Sep 8, 2022
427e26b
Configure workspace category re assigned
VanSHOE Sep 8, 2022
22537cc
Rebase bug fix
VanSHOE May 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Missing Value list section
  • Loading branch information
VanSHOE committed May 9, 2023
commit e433e5d6329793b2c4422b00d9e2e417052c6f0a
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*
* 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 QtQuick.Layouts 1.15

import MuseScore.UiComponents 1.0
import MuseScore.Ui 1.0

ListItemBlank {
id: root

property alias spacing: row.spacing
property alias text: titleLabel.text
property real sideMargin: 0
property real valueItemWidth: 126

property bool expanded: true

height: 34

normalColor: ui.theme.backgroundPrimaryColor

signal clickedUp()

onClicked: {
root.clickedUp()
forceActiveFocus()
}

RowLayout {
id: row

anchors.fill: parent

Row {
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
Layout.fillWidth: true
Layout.leftMargin: root.sideMargin

spacing: 18

StyledIconLabel {
iconCode: root.expanded ? IconCode.SMALL_ARROW_DOWN : IconCode.SMALL_ARROW_RIGHT
}

StyledTextLabel {
id: titleLabel
text: "section"
horizontalAlignment: Text.AlignLeft
}
}


}


shoogle marked this conversation as resolved.
Show resolved Hide resolved
}