Skip to content

Commit fec3186

Browse files
committed
Merge branch 'dev'
2 parents f4bd322 + ff647c2 commit fec3186

File tree

16 files changed

+127
-76
lines changed

16 files changed

+127
-76
lines changed

application/images/logo.png

1.64 KB
Loading

application/qml/window.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ApplicationWindow{
6969

7070
dirOpenDialog.title = title
7171
dirOpenDialog.callback = callback
72-
fileOpenDialog.folder = ""
72+
dirOpenDialog.folder = ""
7373

7474
dirOpenDialog.open()
7575
}

doc/src/images/logo.png

-15.2 KB
Loading

lib/lveditqmljs/src/codeqmlhandler.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2799,14 +2799,6 @@ QJSValue CodeQmlHandler::expand(QmlEditFragment *edit, const QJSValue &val){
27992799
if ( !paletteLoader )
28002800
return QJSValue();
28012801

2802-
// check if duplicate
2803-
for ( auto it = edit->begin(); it != edit->end(); ++it ){
2804-
CodePalette* loadedPalette = *it;
2805-
if ( loadedPalette->path() == PaletteContainer::palettePath(paletteLoader) ){
2806-
return m_engine->engine()->newQObject(loadedPalette);
2807-
}
2808-
}
2809-
28102802
if ( edit->bindingPalette() && edit->bindingPalette()->path() == PaletteContainer::palettePath(paletteLoader) ){
28112803
edit->addPalette(edit->bindingPalette());
28122804
return m_engine->engine()->newQObject(edit->bindingPalette());

plugins/base/baseqml/samples/linkingexecutables/resources/LinkingExecutablesHighlight.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ WorkspaceControl{
149149
for ( var pi = 0; pi < palettes.length; ++pi ){
150150

151151
var palette = palettes[pi]
152-
if ( palette.name === 'PathPalette' ){
152+
if ( palette.name === 'FilePathPalette' ){
153153
var coords = palette.item.mapToItem(editor, 0, 0)
154154
var editorCoords = editorPane.mapGlobalPosition()
155155
editor.makePositionVisible(coords.y + editorCoords.y + 25 - 80)
@@ -241,7 +241,7 @@ WorkspaceControl{
241241
highlight.boxX = coords.x + editorCoords.x + 185
242242
highlight.boxY = coords.y + editorCoords.y + 70
243243
highlight.box.width = 40
244-
highlight.box.height = 120
244+
highlight.box.height = 60
245245
highlight.box.border.width = 5
246246
highlight.box.border.color = highlight.box.color
247247
highlight.box.color = 'transparent'

plugins/base/baseqml/samples/linkingexecutables/resources/ShapeLinkingExecutablesWin.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ WorkspaceControl{
3030
"properties": [
3131
{
3232
"name": "path",
33-
"palettes": ["PathPalette"]
33+
"palettes": ["FilePathPalette"]
3434
},
3535
{
3636
"name": "args",
@@ -51,7 +51,7 @@ WorkspaceControl{
5151
},
5252
{
5353
"name": "path",
54-
"palettes": ["PathPalette"]
54+
"palettes": ["FilePathPalette"]
5555
},
5656
{
5757
"name": "args",

plugins/editqml/qml/ObjectContainer.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Item{
261261
compact = false
262262
if (paletteControls.instructionsShaping) return
263263
paletteControls.openEmptyNestedObjects(root)
264-
// paletteControls.openDefaults(root)
264+
paletteControls.openDefaults(root)
265265

266266
var id = editingFragment.objectId()
267267
var check = (objectContainer.title.indexOf('#') === -1)

plugins/fs/fsqml/samples/readingfiles/resources/ReadingFilesHighlight.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ WorkspaceControl{
307307
highlight = createHighlight(state)
308308

309309
highlight.boxX = viewerCoords.x - 10
310-
highlight.boxY = viewerCoords.y - 10
310+
highlight.boxY = viewerCoords.y + 20
311311
highlight.box.width = 460
312312
highlight.box.height = 35
313313
highlight.box.border.width = 5

plugins/lcvcore/samples/coloradjustments/resources/ShapeColorAdjustments.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WorkspaceControl{
2121
"properties": [
2222
{
2323
"name": "source",
24-
"palettes": ["PathPalette"]
24+
"palettes": ["FilePathPalette"]
2525
}
2626
]
2727
},

plugins/lcvcore/samples/drawing/drawing.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ This sample shows a processing pipeline for drawing.
77

88
* The [first component]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#first-component;livekeys://open/resources/DrawingRemoveHighlight.qml#first-component}) creates a blank white image of size 800x600
99

10-
* Our second component is a [`Draw` component]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#draw-component;livekeys://open/resources/DrawingRemoveHighlight.qml#draw-component}), allowing you to draw on the blank image.
11-
You can select the brush size by [this icon]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#brush-icon;livekeys://open/resources/DrawingRemoveHighlight.qml#brush-icon}), and the color through the [box just
12-
below]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#color-icon;livekeys://open/resources/DrawingRemoveHighlight.qml#color-icon}).
10+
* Our second component is a [`DrawSurface` component]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#draw-component;livekeys://open/resources/DrawingRemoveHighlight.qml#draw-component}), allowing you to draw on the blank image, or create a gradient.
11+
You can select the brush tool by clicking on [this icon]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#brush-icon;livekeys://open/resources/DrawingRemoveHighlight.qml#brush-icon}). After that, you can change the brush size by clicking [here]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#brush-size;livekeys://open/resources/DrawingRemoveHighlight.qml#brush-size}) and dragging the slider.
12+
The gradient tool can be selected by clicking on [this icon]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#gradient-icon;livekeys://open/resources/DrawingRemoveHighlight.qml#gradient-icon}), and the gradient itself is created by dragging a point across the image shown.
13+
For both tools, you can select the foreground and background colors with the pair of [color pickers]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#color-pickers;livekeys://open/resources/DrawingRemoveHighlight.qml#color-pickers}).
1314

1415
* The [third component]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#histogram-component;livekeys://open/resources/DrawingRemoveHighlight.qml#histogram-component}) is a color histogram of the image, displayed [here]({livekeys-hover:livekeys://open/resources/DrawingHighlight.qml#histogram-view;livekeys://open/resources/DrawingRemoveHighlight.qml#histogram-view}), that
1516
will update in real-time as the image is being drawn on.

0 commit comments

Comments
 (0)