-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9484 from Eism/accessibility_orca_cancel_reading
[MU4] Accessibility. Orca cancel reading
- Loading branch information
Showing
12 changed files
with
277 additions
and
18 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
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,41 @@ | ||
/* | ||
* 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_FRAMEWORK_APPLICATIONMOCK_H | ||
#define MU_FRAMEWORK_APPLICATIONMOCK_H | ||
|
||
#include <gmock/gmock.h> | ||
|
||
#include "framework/global/iapplication.h" | ||
|
||
namespace mu::framework { | ||
class ApplicationMock : public IApplication | ||
{ | ||
public: | ||
MOCK_METHOD(void, setRunMode, (const RunMode&), (override)); | ||
MOCK_METHOD(RunMode, runMode, (), (const, override)); | ||
MOCK_METHOD(bool, noGui, (), (const, override)); | ||
|
||
MOCK_METHOD(bool, notify, (QObject*, QEvent*), (override)); | ||
}; | ||
} | ||
|
||
#endif // MU_FRAMEWORK_APPLICATIONMOCK_H |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* 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_UI_MAINWINDOWPROVIDERMOCK_H | ||
#define MU_UI_MAINWINDOWPROVIDERMOCK_H | ||
|
||
#include <gmock/gmock.h> | ||
|
||
#include "framework/ui/imainwindow.h" | ||
|
||
namespace mu::ui { | ||
class MainWindowProviderMock : public IMainWindow | ||
{ | ||
public: | ||
|
||
MOCK_METHOD(QWindow*, qWindow, (), (const, override)); | ||
|
||
MOCK_METHOD(QWindow*, topWindow, (), (const, override)); | ||
MOCK_METHOD(void, pushWindow, (QWindow*), (override)); | ||
MOCK_METHOD(void, popWindow, (QWindow*), (override)); | ||
|
||
MOCK_METHOD(void, requestShowOnBack, (), (override)); | ||
MOCK_METHOD(void, requestShowOnFront, (), (override)); | ||
|
||
MOCK_METHOD(bool, isFullScreen, (), (const, override)); | ||
MOCK_METHOD(void, toggleFullScreen, (), (override)); | ||
MOCK_METHOD(const QScreen*, screen, (), (const, override)); | ||
}; | ||
} | ||
|
||
#endif // MU_UI_MAINWINDOWPROVIDERMOCK_H |
Oops, something went wrong.