Skip to content

Commit c75bca4

Browse files
committed
Add visualeditor plugin
1 parent 4fea1ed commit c75bca4

24 files changed

+1120
-30
lines changed

src/libs/3rdparty/scopicflow

Submodule scopicflow updated 127 files

src/plugins/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ add_subdirectory(audio)
9898
add_subdirectory(welcomewizard)
9999
add_subdirectory(achievement)
100100
add_subdirectory(maintenance)
101-
add_subdirectory(importexportmanager)
101+
add_subdirectory(importexportmanager)
102+
add_subdirectory(visualeditor)

src/plugins/coreplugin/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,9 @@ diffscope_add_builtin_plugin(${PROJECT_NAME}
3434
QAKCore
3535
QAKQuick
3636
svscraft::QmlExtras
37-
# ChorusKit::AppCore
38-
# JetBrainsDockingSystem
3937
dspxmodel
4038
opendspx::model
4139
opendspx::serializer
42-
ScopicFlowCore
43-
ScopicFlowViews
4440
INCLUDE_PRIVATE
4541
core
4642
windows

src/plugins/coreplugin/core/CoreInterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ namespace Core {
176176
"<p>This application is distributed "
177177
"<b>AS IS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND</b>, either express or "
178178
"implied.</p>"
179+
"<p>This license does not apply to plugins. Please refer to Plugins to view the licenses applicable to each individual plugin.</p>"
179180
)
180181
.arg(QStringLiteral("<a "
181182
"href=\"https://www.apache.org/licenses/"

src/plugins/coreplugin/windows/ProjectWindowInterface.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <coreplugin/OpenSaveProjectFileScenario.h>
2929
#include <coreplugin/ProjectDocumentContext.h>
3030
#include <coreplugin/ProjectTimeline.h>
31-
#include <coreplugin/ProjectViewModelContext.h>
3231
#include <coreplugin/QuickInput.h>
3332
#include <coreplugin/QuickPick.h>
3433

@@ -46,14 +45,12 @@ namespace Core {
4645
ProjectTimeline *projectTimeline;
4746
EditActionsHandlerRegistry *mainEditActionsHandlerRegistry;
4847
ProjectDocumentContext *projectDocumentContext;
49-
ProjectViewModelContext *projectViewModelContext;
5048
void init() {
5149
Q_Q(ProjectWindowInterface);
5250
initActionContext();
5351
notificationManager = new Internal::NotificationManager(q);
5452
projectTimeline = new ProjectTimeline(q);
5553
mainEditActionsHandlerRegistry = new EditActionsHandlerRegistry(q);
56-
projectViewModelContext = new ProjectViewModelContext(projectTimeline, q);
5754
}
5855

5956
void initActionContext() {
@@ -127,11 +124,6 @@ namespace Core {
127124
return d->mainEditActionsHandlerRegistry;
128125
}
129126

130-
ProjectViewModelContext *ProjectWindowInterface::projectViewModelContext() const {
131-
Q_D(const ProjectWindowInterface);
132-
return d->projectViewModelContext;
133-
}
134-
135127
void ProjectWindowInterface::sendNotification(NotificationMessage *message, NotificationBubbleMode mode) {
136128
Q_D(ProjectWindowInterface);
137129
d->notificationManager->addMessage(message, mode);

src/plugins/coreplugin/windows/ProjectWindowInterface.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ namespace Core {
2424
class NotificationMessage;
2525
class ProjectTimeline;
2626
class EditActionsHandlerRegistry;
27-
class ProjectViewModelContext;
2827

2928
class ProjectDocumentContext;
3029

@@ -37,7 +36,6 @@ namespace Core {
3736
Q_PROPERTY(ProjectTimeline *projectTimeline READ projectTimeline CONSTANT)
3837
Q_PROPERTY(ProjectDocumentContext *projectDocumentContext READ projectDocumentContext CONSTANT)
3938
Q_PROPERTY(EditActionsHandlerRegistry *mainEditActionsHandlerRegistry READ mainEditActionsHandlerRegistry CONSTANT)
40-
Q_PROPERTY(ProjectViewModelContext *projectViewModelContext READ projectViewModelContext CONSTANT)
4139
Q_DECLARE_PRIVATE(ProjectWindowInterface)
4240
public:
4341
static ProjectWindowInterface *instance();
@@ -48,8 +46,6 @@ namespace Core {
4846

4947
EditActionsHandlerRegistry *mainEditActionsHandlerRegistry() const;
5048

51-
ProjectViewModelContext *projectViewModelContext() const;
52-
5349
enum NotificationBubbleMode {
5450
NormalBubble,
5551
DoNotShowBubble,
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
project(visualeditor
2+
VERSION ${APPLICATION_VERSION}
3+
DESCRIPTION ${CURRENT_PLUGIN_DESC}
4+
)
5+
6+
diffscope_add_builtin_plugin(${PROJECT_NAME}
7+
NAME org.diffscope.visualeditor
8+
DISPLAY_NAME "Visual Editor"
9+
MACRO_PREFIX VISUAL_EDITOR
10+
QML_MODULE_NAME VisualEditor
11+
QT_LINKS
12+
Core
13+
Gui
14+
Widgets
15+
Qml
16+
Quick
17+
QuickControls2
18+
QuickTemplates2
19+
QuickDialogs2
20+
QT_INCLUDE_PRIVATE
21+
Core
22+
Gui
23+
Widgets
24+
Qml
25+
Quick
26+
QuickControls2
27+
QuickTemplates2
28+
LINKS
29+
ExtensionSystem::ExtensionSystem
30+
ChorusKit::AppCore
31+
uishell
32+
QAKCore
33+
QAKQuick
34+
svscraft::QmlExtras
35+
dspxmodel
36+
coreplugin
37+
opendspx::model
38+
opendspx::serializer
39+
ScopicFlowCore
40+
ScopicFlowViews
41+
INCLUDE_PRIVATE
42+
internal/**
43+
)

0 commit comments

Comments
 (0)