Skip to content

Commit 58beb52

Browse files
committed
Merge branch 'master' into 4.1
# Conflicts: # plugin.json
2 parents 00e4c2e + 107516c commit 58beb52

7 files changed

Lines changed: 17 additions & 108 deletions

File tree

__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def __matchVersion():
2828
if cura_version == "master":
2929
Logger.log("d", "Running Cura from source; skipping version check")
3030
return True
31+
if cura_version.startswith("Arachne_engine"):
32+
Logger.log("d", "Running Cura Arachne preview; skipping version check")
33+
return True
34+
3135
cura_version = Version(cura_version)
3236
cura_version = Version([cura_version.getMajor(), cura_version.getMinor()])
3337

plugin.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "Sidebar GUI",
33
"author": "fieldOfView",
4-
"version": "4.1.0",
4+
"version": "4.1.1-DEV",
55
"minimum_cura_version": "4.0",
6-
"maximum_cura_version": "4.8",
6+
"maximum_cura_version": "4.9",
77
"description": "Provides an alternative interface which restores the sidebar",
88
"api": "6.0.0",
9-
"supported_sdk_versions": ["6.0.0", "6.1.0", "6.2.0", "6.3.0", "7.0.0", "7.1.0", "7.2.0", "7.3.0", "7.4.0"],
9+
"supported_sdk_versions": ["6.0.0", "6.1.0", "6.2.0", "6.3.0", "7.0.0", "7.1.0", "7.2.0", "7.3.0", "7.4.0", "7.5.0"],
1010
"i18n-catalog": "cura"
1111
}

resources/icons/settings_dock.svg

Lines changed: 1 addition & 47 deletions
Loading

resources/icons/settings_undock.svg

Lines changed: 2 additions & 49 deletions
Loading

resources/qml/ProfileSelector40.qml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@ Item
4444
id: dockButton
4545
anchors
4646
{
47-
top: parent.top
48-
topMargin: UM.Theme.getSize("default_margin").width
47+
verticalCenter: collapseButton.verticalCenter
4948

5049
right: collapseButton.left
5150
rightMargin: UM.Theme.getSize("thin_margin").width
5251
}
5352
iconSource: settingsDocked ? "../icons/settings_undock.svg" : "../icons/settings_dock.svg"
54-
width: UM.Theme.getSize("default_arrow").width
55-
height: UM.Theme.getSize("default_arrow").height
53+
width: UM.Theme.getSize("print_setup_icon").width
54+
height: UM.Theme.getSize("print_setup_icon").height
5655
color: UM.Theme.getColor("small_button_text")
5756

5857
onClicked:

resources/qml/ProfileSelector44.qml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,14 @@ Item
188188
id: dockButton
189189
anchors
190190
{
191-
top: parent.top
192-
topMargin: UM.Theme.getSize("default_margin").width
191+
verticalCenter: collapseButton.verticalCenter
193192

194193
right: collapseButton.left
195194
rightMargin: UM.Theme.getSize("thin_margin").width
196195
}
197196
iconSource: settingsDocked ? "../icons/settings_undock.svg" : "../icons/settings_dock.svg"
198-
width: UM.Theme.getSize("default_arrow").width
199-
height: UM.Theme.getSize("default_arrow").height
197+
width: UM.Theme.getSize("print_setup_icon").width
198+
height: UM.Theme.getSize("print_setup_icon").height
200199
color: UM.Theme.getColor("small_button_text")
201200

202201
onClicked:

resources/qml/SidebarStageMenu.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Item
310310
id: sidebarToolWindow
311311
title: catalog.i18nc("@title:window", "Print Settings")
312312

313-
flags: Qt.Tool | Qt.WindowTitleHint;
313+
flags: Qt.Tool | Qt.WindowTitleHint | Qt.CustomizeWindowHint;
314314

315315
function boolCheck(value) //Hack to ensure a good match between python and qml.
316316
{

0 commit comments

Comments
 (0)