diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-01-26 09:25:05 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-01-26 09:25:13 +0100 |
commit | be5fb98f1f4e9e4c4d916e32d0d6d73c73dfeede (patch) | |
tree | 605aa50f0d0d0a856ac229854cde6088c666cb78 | |
parent | 9def720ef653617ea3833d3b60ad86312c00dcd0 (diff) | |
parent | 250738d858bcdbcbeab0037d3dddee71a06bd8c7 (diff) | |
download | qt-creator-be5fb98f1f4e9e4c4d916e32d0d6d73c73dfeede.tar.gz |
Merge remote-tracking branch 'origin/6.0' into 7.0
Change-Id: I72684fe4b0857e52a15ee83721f9d7975582a8d2
18 files changed, 199 insertions, 223 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml index d8f664cd40..577257de70 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml @@ -94,7 +94,7 @@ T.AbstractButton { when: myButton.enabled && myButton.pressed PropertyChanges { target: buttonIcon - color: StudioTheme.Values.themeIconColorInteraction + color: StudioTheme.Values.themeIconColor } }, State { @@ -152,7 +152,7 @@ T.AbstractButton { when: myButton.hover && myButton.pressed PropertyChanges { target: buttonBackground - color: StudioTheme.Values.themeControlBackgroundInteraction + color: StudioTheme.Values.themeInteraction border.color: StudioTheme.Values.themeInteraction } PropertyChanges { diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckIndicator.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckIndicator.qml index 8083c3d376..1997419bab 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckIndicator.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckIndicator.qml @@ -110,7 +110,7 @@ Rectangle { when: checkIndicator.checked PropertyChanges { target: checkIndicatorIcon - color: StudioTheme.Values.themeIconColorInteraction + color: StudioTheme.Values.themeIconColor } PropertyChanges { target: checkIndicator @@ -136,7 +136,7 @@ Rectangle { && checkIndicator.pressed PropertyChanges { target: checkIndicatorIcon - color: StudioTheme.Values.themeIconColorInteraction + color: StudioTheme.Values.themeIconColor } PropertyChanges { target: checkIndicator diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxIndicator.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxIndicator.qml index 26373f4db1..9e715fd873 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxIndicator.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxIndicator.qml @@ -32,7 +32,7 @@ Rectangle { property T.Control myControl - property bool hover: spinBoxIndicatorMouseArea.containsMouse && spinBoxIndicator.enabled + property bool hover: spinBoxIndicatorMouseArea.containsMouse property bool pressed: spinBoxIndicatorMouseArea.containsPress property bool released: false property bool realEnabled: true @@ -112,7 +112,6 @@ Rectangle { id: spinBoxIndicatorIcon text: StudioTheme.Constants.upDownSquare2 color: StudioTheme.Values.themeTextColor - renderType: Text.NativeRendering horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter font.pixelSize: StudioTheme.Values.spinControlIconSizeMulti @@ -127,6 +126,15 @@ Rectangle { states: [ State { + name: "default" + when: myControl.enabled && spinBoxIndicator.enabled && !myControl.edit + && !spinBoxIndicator.hover && !myControl.hover && !myControl.drag + PropertyChanges { + target: spinBoxIndicatorIcon + color: StudioTheme.Values.themeTextColor + } + }, + State { name: "globalHover" when: myControl.enabled && spinBoxIndicator.enabled && !myControl.drag && !spinBoxIndicator.hover && myControl.hover && !myControl.edit @@ -150,12 +158,12 @@ Rectangle { && spinBoxIndicator.pressed PropertyChanges { target: spinBoxIndicatorIcon - color: "#323232" // TODO + color: StudioTheme.Values.themeIconColor } }, State { name: "edit" - when: myControl.edit + when: myControl.edit && spinBoxIndicator.enabled PropertyChanges { target: spinBoxIndicatorIcon color: StudioTheme.Values.themeTextColor @@ -201,7 +209,7 @@ Rectangle { }, State { name: "hover" - when: myControl.enabled && !myControl.drag + when: myControl.enabled && !myControl.drag && spinBoxIndicator.enabled && spinBoxIndicator.hover && myControl.hover && !spinBoxIndicator.pressed PropertyChanges { target: spinBoxIndicatorIcon @@ -227,7 +235,7 @@ Rectangle { }, State { name: "edit" - when: myControl.edit + when: myControl.edit && myControl.enabled && spinBoxIndicator.enabled PropertyChanges { target: spinBoxIndicatorIcon visible: true @@ -239,7 +247,7 @@ Rectangle { }, State { name: "drag" - when: myControl.drag + when: myControl.drag && myControl.enabled PropertyChanges { target: spinBoxIndicatorIcon visible: false diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/Values.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/Values.qml index 5ba591c174..bba4b2001f 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/Values.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/Values.qml @@ -236,7 +236,7 @@ QtObject { property string themeTextColorDisabled: Theme.color(Theme.DStextColorDisabled) property string themeTextSelectionColor: Theme.color(Theme.DStextSelectionColor) property string themeTextSelectedTextColor: Theme.color(Theme.DStextSelectedTextColor) - property string themeTextColorDisabledMCU: "black" // TODO + property string themeTextColorDisabledMCU: Theme.color(Theme.DStextColorDisabled) property string themePlaceholderTextColor: Theme.color(Theme.DSplaceholderTextColor) property string themePlaceholderTextColorInteraction: Theme.color(Theme.DSplaceholderTextColorInteraction) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf Binary files differindex eb9426e8f4..b6d6af3df2 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/icons.ttf diff --git a/share/qtcreator/themes/dark.creatortheme b/share/qtcreator/themes/dark.creatortheme index ea9b911b26..12c8019b0d 100644 --- a/share/qtcreator/themes/dark.creatortheme +++ b/share/qtcreator/themes/dark.creatortheme @@ -23,23 +23,23 @@ qmlDesignerButtonColor=ff3c3e40 [Colors] ;DS controls theme START -DSpanelBackground=ff323232 +DSpanelBackground=ff2E2F30 DSwelcomeScreenBackground=ff242424 -DSsubPanelBackground=ff040404 -DSthumbnailBackground=ff292929 -DSthumbnailLabelBackground=ff3D3D3D +DSsubPanelBackground=ff1c1c1c +DSthumbnailBackground=ff232323 +DSthumbnailLabelBackground=ff2b2a2a DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a DSwarningColor=warning DSdisabledColor=ff707070 -DScontrolBackground=ff323232 -DScontrolBackgroundInteraction=ff595959 -DScontrolBackgroundDisabled=ff323232 -DScontrolBackgroundGlobalHover=ff474747 -DScontrolBackgroundHover=ff666666 +DScontrolBackground=ff2e2f30 +DScontrolBackgroundInteraction=ff3d3d3d +DScontrolBackgroundDisabled=ff2e2f30 +DScontrolBackgroundGlobalHover=ff333333 +DScontrolBackgroundHover=ff333333 DScontrolOutline=ff1f1f1f DScontrolOutlineInteraction=ff2aafd3 @@ -54,9 +54,9 @@ DSplaceholderTextColor=ffffffff DSplaceholderTextColorInteraction=ffababab DSiconColor=ffffffff -DSiconColorHover=ff262626 +DSiconColorHover=ffffffff DSiconColorInteraction=ff707070 -DSiconColorDisabled=ff707070 +DSiconColorDisabled=ffC7C7C7 DSiconColorSelected=ff2aafd3 DSlinkIndicatorColor=ff808080 @@ -102,7 +102,7 @@ DSactionJIT=ff2db543 DStableHeaderBackground=ffff0000 DStableHeaderText=ff00ff00 -DSdockContainerBackground=ff323232 +DSdockContainerBackground=ff242424 DSdockContainerSplitter=ff323232 DSdockAreaBackground=ff262728 @@ -138,15 +138,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ff262626 -DSnavigatorItemBackgroundHover=ff666666 -DSnavigatorItemBackgroundSelected=ff1f1f1f +DSnavigatorItemBackground=ff2E2F30 +DSnavigatorItemBackgroundHover=ff333333 +DSnavigatorItemBackgroundSelected=ff3D3D3D DSnavigatorText=ffffffff -DSnavigatorTextHover=ff1f1f1f +DSnavigatorTextHover=ffffffff DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ffffffff -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ffa1a1a1 +DSnavigatorIconSelected=ffffffff DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 @@ -160,8 +160,8 @@ DStoolTipText=ffdadada DSUnimportedModuleColor=ffe33c2e -DSBackgroundColorAlternate=ff323232 -DSBackgroundColorNormal=ff1f1f1f +DSBackgroundColorAlternate=alternateBackground +DSBackgroundColorNormal=normalBackground ;DS controls theme END diff --git a/share/qtcreator/themes/default.creatortheme b/share/qtcreator/themes/default.creatortheme index 5a225fd7f6..6cf1402c1e 100644 --- a/share/qtcreator/themes/default.creatortheme +++ b/share/qtcreator/themes/default.creatortheme @@ -18,8 +18,9 @@ DSpanelBackground=ffeaeaea DSwelcomeScreenBackground=ffEAEAEA DSsubPanelBackground=ffEFEFEF -DSthumbnailBackground=ffF2F2F2 -DSthumbnailLabelBackground=ffEBEBEB +DSthumbnailBackground=ffE8E8E8 +DSthumbnailLabelBackground=ffDDDDDD + DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a DSwarningColor=warning @@ -28,8 +29,8 @@ DSdisabledColor=ff8e8e8e DScontrolBackground=ffeaeaea DScontrolBackgroundInteraction=ffc9c9c9 DScontrolBackgroundDisabled=ffeaeaea -DScontrolBackgroundGlobalHover=ffe5e5e5 -DScontrolBackgroundHover=ffd1d1d1 +DScontrolBackgroundGlobalHover=ffdedddd +DScontrolBackgroundHover=ffdedddd DScontrolOutline=ffcecccc DScontrolOutlineInteraction=ff2aafd3 @@ -105,7 +106,7 @@ DStitleBarIcon=ff4f5052 DStitleBarButtonHover=40ffffff DStitleBarButtonPress=60ffffff -DStabContainerBackground=ff999999 +DStabContainerBackground=ffdadada DStabSplitter=ff595959 DStabInactiveBackground=ff999999 @@ -128,15 +129,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ffd8d8d8 -DSnavigatorItemBackgroundHover=ffc2c2c2 +DSnavigatorItemBackground=ffeaeaea +DSnavigatorItemBackgroundHover=ffdedddd DSnavigatorItemBackgroundSelected=ffffffff DSnavigatorText=ff262626 DSnavigatorTextHover=ff1f1f1f DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ff1f1f1f -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ff7c7b7b +DSnavigatorIconSelected=ff1f1f1f DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 diff --git a/share/qtcreator/themes/design-light.creatortheme b/share/qtcreator/themes/design-light.creatortheme index 4ce143baa3..8a826ad181 100644 --- a/share/qtcreator/themes/design-light.creatortheme +++ b/share/qtcreator/themes/design-light.creatortheme @@ -32,8 +32,8 @@ DSpanelBackground=ffeaeaea DSwelcomeScreenBackground=ffEAEAEA DSsubPanelBackground=ffEFEFEF -DSthumbnailBackground=ffF2F2F2 -DSthumbnailLabelBackground=ffEBEBEB +DSthumbnailBackground=ffE8E8E8 +DSthumbnailLabelBackground=ffDDDDDD DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a @@ -43,8 +43,8 @@ DSdisabledColor=ff8e8e8e DScontrolBackground=ffeaeaea DScontrolBackgroundInteraction=ffc9c9c9 DScontrolBackgroundDisabled=ffeaeaea -DScontrolBackgroundGlobalHover=ffe5e5e5 -DScontrolBackgroundHover=ffd1d1d1 +DScontrolBackgroundGlobalHover=ffdedddd +DScontrolBackgroundHover=ffdedddd DScontrolOutline=ffcecccc DScontrolOutlineInteraction=ff2aafd3 @@ -143,15 +143,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ffd8d8d8 -DSnavigatorItemBackgroundHover=ffc2c2c2 +DSnavigatorItemBackground=ffeaeaea +DSnavigatorItemBackgroundHover=ffdedddd DSnavigatorItemBackgroundSelected=ffffffff DSnavigatorText=ff262626 DSnavigatorTextHover=ff1f1f1f DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ff1f1f1f -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ff7c7b7b +DSnavigatorIconSelected=ff1f1f1f DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 diff --git a/share/qtcreator/themes/design.creatortheme b/share/qtcreator/themes/design.creatortheme index e61f1ad3f6..628938b5f7 100644 --- a/share/qtcreator/themes/design.creatortheme +++ b/share/qtcreator/themes/design.creatortheme @@ -25,23 +25,23 @@ backgroundColorDisabled=ff444444 [Colors] ;DS controls theme START -DSpanelBackground=ff323232 +DSpanelBackground=ff2E2F30 DSwelcomeScreenBackground=ff242424 -DSsubPanelBackground=ff040404 -DSthumbnailBackground=ff292929 -DSthumbnailLabelBackground=ff3D3D3D +DSsubPanelBackground=ff1c1c1c +DSthumbnailBackground=ff232323 +DSthumbnailLabelBackground=ff2b2a2a DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a DSwarningColor=warning DSdisabledColor=ff707070 -DScontrolBackground=ff323232 -DScontrolBackgroundInteraction=ff595959 -DScontrolBackgroundDisabled=ff323232 -DScontrolBackgroundGlobalHover=ff474747 -DScontrolBackgroundHover=ff666666 +DScontrolBackground=ff2e2f30 +DScontrolBackgroundInteraction=ff3d3d3d +DScontrolBackgroundDisabled=ff2e2f30 +DScontrolBackgroundGlobalHover=ff333333 +DScontrolBackgroundHover=ff333333 DScontrolOutline=ff1f1f1f DScontrolOutlineInteraction=ff2aafd3 @@ -56,9 +56,9 @@ DSplaceholderTextColor=ffffffff DSplaceholderTextColorInteraction=ffababab DSiconColor=ffffffff -DSiconColorHover=ff262626 +DSiconColorHover=ffffffff DSiconColorInteraction=ff707070 -DSiconColorDisabled=ff707070 +DSiconColorDisabled=ffC7C7C7 DSiconColorSelected=ff2aafd3 DSlinkIndicatorColor=ff808080 @@ -104,7 +104,7 @@ DSactionJIT=ff2db543 DStableHeaderBackground=ffff0000 DStableHeaderText=ff00ff00 -DSdockContainerBackground=ff323232 +DSdockContainerBackground=ff242424 DSdockContainerSplitter=ff323232 DSdockAreaBackground=ff262728 @@ -140,15 +140,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ff262626 -DSnavigatorItemBackgroundHover=ff666666 -DSnavigatorItemBackgroundSelected=ff1f1f1f +DSnavigatorItemBackground=ff2E2F30 +DSnavigatorItemBackgroundHover=ff333333 +DSnavigatorItemBackgroundSelected=ff3D3D3D DSnavigatorText=ffffffff -DSnavigatorTextHover=ff1f1f1f +DSnavigatorTextHover=ffffffff DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ffffffff -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ffa1a1a1 +DSnavigatorIconSelected=ffffffff DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 @@ -371,7 +371,7 @@ QmlDesigner_FormEditorForegroundColor=ffdadada ;background color for main form view, library, navigator, properties, connections ;QmlDesigner_BackgroundColorDarkAlternate=ff4c4e50 -QmlDesigner_BackgroundColorDarkAlternate=ff323232 +QmlDesigner_BackgroundColorDarkAlternate=ff2e2f30 ;filter outlines, override W/H outlines, properties spinbox background, timeline separators. ;QmlDesigner_BackgroundColorDarker=ff262728 diff --git a/share/qtcreator/themes/flat-dark.creatortheme b/share/qtcreator/themes/flat-dark.creatortheme index b0005b478c..981c481945 100644 --- a/share/qtcreator/themes/flat-dark.creatortheme +++ b/share/qtcreator/themes/flat-dark.creatortheme @@ -27,23 +27,23 @@ qmlDesignerButtonColor=ff4c4e50 [Colors] ;DS controls theme START -DSpanelBackground=ff323232 +DSpanelBackground=ff2E2F30 DSwelcomeScreenBackground=ff242424 -DSsubPanelBackground=ff040404 -DSthumbnailBackground=ff292929 -DSthumbnailLabelBackground=ff3D3D3D +DSsubPanelBackground=ff1c1c1c +DSthumbnailBackground=ff232323 +DSthumbnailLabelBackground=ff2b2a2a DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a DSwarningColor=warning DSdisabledColor=ff707070 -DScontrolBackground=ff323232 -DScontrolBackgroundInteraction=ff595959 -DScontrolBackgroundDisabled=ff323232 -DScontrolBackgroundGlobalHover=ff474747 -DScontrolBackgroundHover=ff666666 +DScontrolBackground=ff2e2f30 +DScontrolBackgroundInteraction=ff3d3d3d +DScontrolBackgroundDisabled=ff2e2f30 +DScontrolBackgroundGlobalHover=ff333333 +DScontrolBackgroundHover=ff333333 DScontrolOutline=ff1f1f1f DScontrolOutlineInteraction=ff2aafd3 @@ -58,9 +58,9 @@ DSplaceholderTextColor=ffffffff DSplaceholderTextColorInteraction=ffababab DSiconColor=ffffffff -DSiconColorHover=ff262626 +DSiconColorHover=ffffffff DSiconColorInteraction=ff707070 -DSiconColorDisabled=ff707070 +DSiconColorDisabled=ffC7C7C7 DSiconColorSelected=ff2aafd3 DSlinkIndicatorColor=ff808080 @@ -106,7 +106,7 @@ DSactionJIT=ff2db543 DStableHeaderBackground=ffff0000 DStableHeaderText=ff00ff00 -DSdockContainerBackground=ff323232 +DSdockContainerBackground=ff242424 DSdockContainerSplitter=ff323232 DSdockAreaBackground=ff262728 @@ -142,15 +142,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ff262626 -DSnavigatorItemBackgroundHover=ff666666 -DSnavigatorItemBackgroundSelected=ff1f1f1f +DSnavigatorItemBackground=ff2E2F30 +DSnavigatorItemBackgroundHover=ff333333 +DSnavigatorItemBackgroundSelected=ff3D3D3D DSnavigatorText=ffffffff -DSnavigatorTextHover=ff1f1f1f +DSnavigatorTextHover=ffffffff DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ffffffff -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ffa1a1a1 +DSnavigatorIconSelected=ffffffff DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 @@ -164,8 +164,8 @@ DStoolTipText=ffdadada DSUnimportedModuleColor=ffe33c2e -DSBackgroundColorAlternate=ff323232 -DSBackgroundColorNormal=ff1f1f1f +DSBackgroundColorAlternate=alternateBackground +DSBackgroundColorNormal=normalBackground ;DS controls theme END diff --git a/share/qtcreator/themes/flat-light.creatortheme b/share/qtcreator/themes/flat-light.creatortheme index b160dbe439..5690e4db91 100644 --- a/share/qtcreator/themes/flat-light.creatortheme +++ b/share/qtcreator/themes/flat-light.creatortheme @@ -27,8 +27,8 @@ DSpanelBackground=ffeaeaea DSwelcomeScreenBackground=ffEAEAEA DSsubPanelBackground=ffEFEFEF -DSthumbnailBackground=ffF2F2F2 -DSthumbnailLabelBackground=ffEBEBEB +DSthumbnailBackground=ffE8E8E8 +DSthumbnailLabelBackground=ffDDDDDD DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a @@ -38,8 +38,8 @@ DSdisabledColor=ff8e8e8e DScontrolBackground=ffeaeaea DScontrolBackgroundInteraction=ffc9c9c9 DScontrolBackgroundDisabled=ffeaeaea -DScontrolBackgroundGlobalHover=ffe5e5e5 -DScontrolBackgroundHover=ffd1d1d1 +DScontrolBackgroundGlobalHover=ffdedddd +DScontrolBackgroundHover=ffdedddd DScontrolOutline=ffcecccc DScontrolOutlineInteraction=ff2aafd3 @@ -138,15 +138,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ffd8d8d8 -DSnavigatorItemBackgroundHover=ffc2c2c2 +DSnavigatorItemBackground=ffeaeaea +DSnavigatorItemBackgroundHover=ffdedddd DSnavigatorItemBackgroundSelected=ffffffff DSnavigatorText=ff262626 DSnavigatorTextHover=ff1f1f1f DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ff1f1f1f -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ff7c7b7b +DSnavigatorIconSelected=ff1f1f1f DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 diff --git a/share/qtcreator/themes/flat.creatortheme b/share/qtcreator/themes/flat.creatortheme index 277b6da113..beac6c91c8 100644 --- a/share/qtcreator/themes/flat.creatortheme +++ b/share/qtcreator/themes/flat.creatortheme @@ -21,23 +21,23 @@ qmlDesignerButtonColor=ff4c4e50 [Colors] ;DS controls theme START -DSpanelBackground=ff323232 +DSpanelBackground=ff2E2F30 DSwelcomeScreenBackground=ff242424 -DSsubPanelBackground=ff040404 -DSthumbnailBackground=ff292929 -DSthumbnailLabelBackground=ff3D3D3D +DSsubPanelBackground=ff1c1c1c +DSthumbnailBackground=ff232323 +DSthumbnailLabelBackground=ff2b2a2a DSinteraction=ff2aafd3 DSerrorColor=ffdf3a3a DSwarningColor=warning DSdisabledColor=ff707070 -DScontrolBackground=ff323232 -DScontrolBackgroundInteraction=ff595959 -DScontrolBackgroundDisabled=ff323232 -DScontrolBackgroundGlobalHover=ff474747 -DScontrolBackgroundHover=ff666666 +DScontrolBackground=ff2e2f30 +DScontrolBackgroundInteraction=ff3d3d3d +DScontrolBackgroundDisabled=ff2e2f30 +DScontrolBackgroundGlobalHover=ff333333 +DScontrolBackgroundHover=ff333333 DScontrolOutline=ff1f1f1f DScontrolOutlineInteraction=ff2aafd3 @@ -52,9 +52,9 @@ DSplaceholderTextColor=ffffffff DSplaceholderTextColorInteraction=ffababab DSiconColor=ffffffff -DSiconColorHover=ff262626 +DSiconColorHover=ffffffff DSiconColorInteraction=ff707070 -DSiconColorDisabled=ff707070 +DSiconColorDisabled=ffC7C7C7 DSiconColorSelected=ff2aafd3 DSlinkIndicatorColor=ff808080 @@ -100,7 +100,7 @@ DSactionJIT=ff2db543 DStableHeaderBackground=ffff0000 DStableHeaderText=ff00ff00 -DSdockContainerBackground=ff323232 +DSdockContainerBackground=ff242424 DSdockContainerSplitter=ff323232 DSdockAreaBackground=ff262728 @@ -113,7 +113,7 @@ DStitleBarIcon=ffffffff DStitleBarButtonHover=40ffffff DStitleBarButtonPress=60ffffff -DStabContainerBackground=ff0000ff +DStabContainerBackground=ff1f1f1f DStabSplitter=ff595959 DStabInactiveBackground=ff1f1f1f @@ -136,15 +136,15 @@ DStabFocusButtonPress=ff2aafd3 DSnavigatorBranch=ff7c7b7b DSnavigatorBranchIndicator=ff7c7b7b -DSnavigatorItemBackground=ff262626 -DSnavigatorItemBackgroundHover=ff666666 -DSnavigatorItemBackgroundSelected=ff1f1f1f +DSnavigatorItemBackground=ff2E2F30 +DSnavigatorItemBackgroundHover=ff333333 +DSnavigatorItemBackgroundSelected=ff3D3D3D DSnavigatorText=ffffffff -DSnavigatorTextHover=ff1f1f1f +DSnavigatorTextHover=ffffffff DSnavigatorTextSelected=ff2aafd3 DSnavigatorIcon=ffffffff -DSnavigatorIconHover=ff1f1f1f -DSnavigatorIconSelected=ff7c7b7b +DSnavigatorIconHover=ffa1a1a1 +DSnavigatorIconSelected=ffffffff DSnavigatorAliasIconChecked=ffff0000 DSnavigatorDropIndicatorBackground=ff2aafd3 DSnavigatorDropIndicatorOutline=ff2aafd3 @@ -158,8 +158,8 @@ DStoolTipText=ffdadada DSUnimportedModuleColor=ffe33c2e -DSBackgroundColorAlternate=ff323232 -DSBackgroundColorNormal=ff1f1f1f +DSBackgroundColorAlternate=alternateBackground +DSBackgroundColorNormal=normalBackground ;DS controls theme END diff --git a/src/plugins/android/androidpackageinstallationstep.cpp b/src/plugins/android/androidpackageinstallationstep.cpp index 25917feba5..cd45495550 100644 --- a/src/plugins/android/androidpackageinstallationstep.cpp +++ b/src/plugins/android/androidpackageinstallationstep.cpp @@ -107,8 +107,12 @@ bool AndroidPackageInstallationStep::init() const QString innerQuoted = ProcessArgs::quoteArg(dirPath); const QString outerQuoted = ProcessArgs::quoteArg("INSTALL_ROOT=" + innerQuoted); - CommandLine cmd{tc->makeCommand(buildEnvironment())}; - cmd.addArgs(outerQuoted + " install", CommandLine::Raw); + const FilePath makeCommand = tc->makeCommand(buildEnvironment()); + CommandLine cmd{makeCommand}; + // Run install on both the target and the whole project as a workaround for QTCREATORBUG-26550. + cmd.addArgs(QString("%1 install && cd %2 && %3 %1 install") + .arg(outerQuoted).arg(ProcessArgs::quoteArg(buildDirectory().toUserOutput())) + .arg(ProcessArgs::quoteArg(makeCommand.toUserOutput())), CommandLine::Raw); processParameters()->setCommandLine(cmd); // This is useful when running an example target from a Qt module project. diff --git a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp index ae224261db..10c2a9cc10 100644 --- a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp +++ b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp @@ -1348,6 +1348,8 @@ void TextToModelMerger::syncNode(ModelNode &modelNode, syncExpressionProperty(modelProperty, astValue, astType, differenceHandler); } modelPropertyNames.remove(astName.toUtf8()); + } else if (auto source = AST::cast<AST::UiSourceElement *>(member)) { + // function et al } else { qWarning() << "Found an unknown QML value."; } @@ -2253,18 +2255,6 @@ void TextToModelMerger::collectSemanticErrorsAndWarnings(QList<DocumentMessage> if (message.severity == Severity::Warning) warnings->append(DocumentMessage(message.toDiagnosticMessage(), fileNameUrl)); } - - for (const Import &import : m_rewriterView->model()->imports()) { - if (import.isLibraryImport() && import.url() == "QtQuick3D") { - const QString version = getHighestPossibleImport(import.url()); - if (!import.version().isEmpty() && Import::majorFromVersion(version) > import.majorVersion()) { - errors->append(DocumentMessage( - QObject::tr( - "The selected version of the Qt Quick 3D module is not supported with the selected Qt version.") - .arg(version))); - } - } - } } void TextToModelMerger::populateQrcMapping(const QString &filePath) diff --git a/src/plugins/qmldesigner/designercore/projectstorage/storagecache.h b/src/plugins/qmldesigner/designercore/projectstorage/storagecache.h index 747c3d9a07..27d2905e8e 100644 --- a/src/plugins/qmldesigner/designercore/projectstorage/storagecache.h +++ b/src/plugins/qmldesigner/designercore/projectstorage/storagecache.h @@ -67,15 +67,8 @@ class StorageCache StorageCacheIndex(const char *) = delete; - constexpr explicit StorageCacheIndex(int id) noexcept - : id{id} - {} - - constexpr explicit StorageCacheIndex(std::size_t id) noexcept - : id{static_cast<int>(id)} - {} - - constexpr explicit StorageCacheIndex(std::ptrdiff_t id) noexcept + template<typename IntegerType> + constexpr explicit StorageCacheIndex(IntegerType id) noexcept : id{static_cast<int>(id)} {} diff --git a/src/plugins/qtsupport/qtcreator_tutorials.xml b/src/plugins/qtsupport/qtcreator_tutorials.xml index 362d87fd77..71227a5338 100644 --- a/src/plugins/qtsupport/qtcreator_tutorials.xml +++ b/src/plugins/qtsupport/qtcreator_tutorials.xml @@ -14,69 +14,21 @@ <tags>qt,qt creator,qt designer,widgets,c++,help</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/tutorialicon.png" difficulty="" docUrl="qthelp://org.qt-project.qtcreator/doc/qtcreator-transitions-example.html" projectPath="" name="Help: Creating a Qt Quick Application"> - <description><![CDATA[Using basic QML elements and learning about basic concepts of Qt Quick.]]></description> - <tags>qt creator,qt quick designer,qt quick,qml,states,transitions,help</tags> + <description><![CDATA[Using basic QML types and learning about basic concepts of Qt Quick.]]></description> + <tags>qt creator,qt quick,qml,states,transitions,help</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/tutorialicon.png" difficulty="" docUrl="qthelp://org.qt-project.qtcreator/doc/qtcreator-accelbubble-example.html" projectPath="" name="Help: Creating a Mobile Qt Application"> - <description><![CDATA[Developing Qt Quick applications for Android and iOS devices using Qt Quick Controls.]]></description> - <tags>qt creator,qt quick designer,qml,android,ios,controls,help</tags> + <description><![CDATA[Developing Qt Quick applications for Android and iOS devices.]]></description> + <tags>qt creator,qml,android,ios,controls,help</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/tutorialicon.png" difficulty="" docUrl="qthelp://org.qt-project.qtdoc/qtdoc/qtdoc-tutorials-alarms-example.html" projectPath="" name="Help: Getting Started Programming with Qt Quick"> <description><![CDATA[Developing Qt Quick applications using Qt Quick and Qt Quick Controls.]]></description> <tags>qt quick,controls,tumbler,help</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Digital Instrument Cluster with Qt Quick Designer and Qt Safe Renderer" isVideo="true" videoUrl="https://www.youtube.com/watch?v=9RxxsOCeZHk" videoLength="4:06"> - <description><![CDATA[Creating a digital instrument cluster with Qt Quick Designer and Qt Safe Renderer.]]></description> - <tags>qt creator,qt quick,automotive,safe renderer,controls,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt for Device Creation" isVideo="true" videoUrl="https://www.youtube.com/watch?v=PercN_GtVJA" videoLength="3:01"> - <description><![CDATA[Creating a Qt widget based application.]]></description> - <tags>qt creator,embedded,device creation,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Getting Started - Qt for Device Creation" isVideo="true" videoUrl="https://www.youtube.com/watch?v=QFWPw4UWL9E" videoLength="8:30"> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to set up and deploy an application using Qt for Device Creation" isVideo="true" videoUrl="https://youtu.be/1tSpq5OLkYI" videoLength="5:48"> <description><![CDATA[Using Qt Creator to deploy applications to an embedded device.]]></description> - <tags>qt creator,embedded,device creation,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Quick Designer - The Coffee Machine" isVideo="true" videoUrl="https://www.youtube.com/watch?v=Ko3YPM_tStM" videoLength="3:06"> - <description><![CDATA[Creating a UI for embedded devices.]]></description> - <tags>qt creator,qt quick,embedded,video,controls</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Getting Started - Hello Widget World " isVideo="true" videoUrl="https://www.youtube.com/watch?v=TIUTO8GjSGo" videoLength="9:10"> - <description><![CDATA[Creating a Qt widget based application.]]></description> - <tags>qt creator,widgets,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Getting Started - Hello Quick World" isVideo="true" videoUrl="https://www.youtube.com/watch?v=nepoVgVvWEI" videoLength="13:28"> - <description><![CDATA[Creating a Qt Quick application.]]></description> - <tags>qt creator,qt quick,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: UI Navigation" isVideo="true" videoUrl="https://www.youtube.com/watch?v=RfEYO-5Mw6s" videoLength="1:00"> - <description><![CDATA[Navigating in Qt Quick Designer and using the different views.]]></description> - <tags>qt creator,qt quick,views,quick tip,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: Animated Image" isVideo="true" videoUrl="https://www.youtube.com/watch?v=DVWd_xMMgvg" videoLength="1:00"> - <description><![CDATA[Using the basic AnimatedImage QML type to add GIF images to UIs.]]></description> - <tags>qt creator,qt quick,animated image,gif,quick tip,qml,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: Bindings" isVideo="true" videoUrl="https://www.youtube.com/watch?v=UfvA04CIXv0" videoLength="1:00"> - <description><![CDATA[Using bindings to dynamically change the behavior of an object.]]></description> - <tags>qt creator,qt quick,bindings,quick tip,qml,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: Interactive 3D" isVideo="true" videoUrl="https://youtu.be/w1yhDl93YI0" videoLength="2:45"> - <description><![CDATA[Incorporating 3D graphics into UIs in Qt Quick Designer.]]></description> - <tags>qt creator,qt quick,3D,FBX,quick tip,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: Slider" isVideo="true" videoUrl="https://www.youtube.com/watch?v=Ed8WS03C-Vk" videoLength="1:00"> - <description><![CDATA[Using the Slider Qt Quick control to create a slider.]]></description> - <tags>qt creator,qt quick,slider,quick tip,controls,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: States" isVideo="true" videoUrl="https://www.youtube.com/watch?v=FzmLuRHQXaw" videoLength="1:00"> - <description><![CDATA[Using states in a UI.]]></description> - <tags>qt creator,qt quick,slider,quick tip,controls,video,2020</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Design Studio QuickTip: Text Element" isVideo="true" videoUrl="https://www.youtube.com/watch?v=yOUdg1o2KJM" videoLength="1:00"> - <description><![CDATA[Using the basic Text QML type to create a text label with a custom font.]]></description> - <tags>qt creator,qt quick,quick tip,qml,test,video,2020</tags> + <tags>qt creator,embedded,device creation,video,2021</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt SCXML and State Machine Tooling in Qt Creator" isVideo="true" videoUrl="https://youtu.be/9xqhq9nDiOg" videoLength="4:53"> <description><![CDATA[Creating state machines.]]></description> @@ -92,19 +44,51 @@ </tutorial> <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Creator - Examples" isVideo="true" videoUrl="https://www.youtube.com/watch?v=R6zWLfHIYJw" videoLength="9:29"> <description><![CDATA[Using Qt Creator tutorials and examples to develop Qt applications.]]></description> - <tags>qt creator,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Creator - UI Design with Qt Quick Designer" isVideo="true" videoUrl="https://www.youtube.com/watch?v=0Po3tE9yUcU" videoLength="7:36"> - <description><![CDATA[Using Qt Quick Designer to develop Qt Quick applications.]]></description> - <tags>qt creator,qt quick,video</tags> - </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: QML - Introduction" isVideo="true" videoUrl="https://www.youtube.com/watch?v=GkzncJ71mm0" videoLength="9:42"> - <description><![CDATA[Using signals, slots, and property bindings Qt Quick applications.]]></description> - <tags>qt creator,qt quick,qml,video</tags> + <tags>qt creator,video,2018</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Creator - Introduction to Qt Quick Controls" isVideo="true" videoUrl="https://www.youtube.com/watch?v=uuhmSZxK1mk" videoLength="7:09"> <description><![CDATA[Using Qt Quick Controls to develop Qt Quick applications.]]></description> - <tags>qt creator,qt quick,controls,video</tags> + <tags>qt creator,qt quick,controls,video,2018</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Debugging inside Qt Creator" isVideo="true" videoUrl="https://youtu.be/Y-MM-9FigTc" videoLength="21:54"> + <description><![CDATA[Debugging applications in Qt Creator.]]></description> + <tags>qt creator,debugging,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to do translations with Qt Linguist" isVideo="true" videoUrl="https://youtu.be/xNIz78IPBu0" videoLength="9:14"> + <description><![CDATA[Preparing applications for translation, translating them with Qt Linguist, and using the translations in apps.]]></description> + <tags>qt creator,qt linguist,translation,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Windows Online Installer walkthrough" isVideo="true" videoUrl="https://youtu.be/-xhiVA0P4yk" videoLength="6:17"> + <description><![CDATA[Downloading and installing Qt with the options that you want.]]></description> + <tags>qt,installation,online installer,modules,video,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to install and set up Qt for Device Creation on Linux" isVideo="true" videoUrl="https://youtu.be/YJfFwDBOvqk" videoLength="6:52"> + <description><![CDATA[Downloading and installing Qt Device Creation with the options that you want.]]></description> + <tags>embedded,installation,device creation,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Creating a simple widget app" isVideo="true" videoUrl="https://youtu.be/jbx3Oq1Q4gY" videoLength="6:08"> + <description><![CDATA[Creating a simple widget-based application and running it on your development machine using Qt Creator 5.0.]]></description> + <tags>qt creator,widgets,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Creating a simple Qt Quick app" isVideo="true" videoUrl="https://youtu.be/mAhwHsGdJuI" videoLength="8:21"> + <description><![CDATA[Creating a simple Qt Quick application and running it on your development machine using Qt Creator 5.0.]]></description> + <tags>qt creator,qt quick,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Qt Widgets or Qt Quick" isVideo="true" videoUrl="https://youtu.be/2RvhhEAZQxM" videoLength="5:00"> + <description><![CDATA[Learning the differences between Qt Widgets and Qt Quick and making the right choice for your application needs.]]></description> + <tags>qt quick,widgets,ui,video,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to install and set up Qt for MCUs" isVideo="true" videoUrl="https://youtu.be/DRFz0Tll4G8" videoLength="8:29"> + <description><![CDATA[Downloading and installing Qt for MCUs with the options that you want.]]></description> + <tags>qt,mcus,video,STM32H750B-DISCOVERY,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to build your first 'Qt for MCUs' application" isVideo="true" videoUrl="https://youtu.be/BkgjJfxYN20" videoLength="21:54"> + <description><![CDATA[Building your first application for the NXP IMXRT1050 device.]]></description> + <tags>qtformcus,mcus,qt,video,NXP IMXRT1050-EVKB,2020</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to create a simple application with Qt for MCUs" isVideo="true" videoUrl="https://youtu.be/mn-JmXIMCqk" videoLength="5:16"> + <description><![CDATA[Creating a simple Qt for MCUs application and running it on your development machine using Qt Creator 5.0.]]></description> + <tags>qtformcus,mcus,qt,video,2021</tags> </tutorial> <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Introduction to Qt Creator IDE" isVideo="true" videoUrl="https://www.youtube.com/watch?v=nGFmjOiT22Y" videoLength="1:06:32"> @@ -139,10 +123,6 @@ <description><![CDATA[Using Qt Creator, Qbs, and QEMU for application development.]]></description> <tags>qt creator,qbs,qemu,talk,2015</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: All About Qt on Android" isVideo="true" videoUrl="https://youtu.be/dmKNxyi_YNk" videoLength="31:20"> - <description><![CDATA[Developing Qt applications for Android devices.]]></description> - <tags>qt creator,android,talk,2016</tags> - </tutorial> <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Qt for iOS - A to Z" isVideo="true" videoUrl="https://youtu.be/T_13aX5NTPk" videoLength="1:00:13"> <description><![CDATA[Developing Qt applications for iOS.]]></description> <tags>qt creator,ios,talk,2016</tags> @@ -151,10 +131,6 @@ <description><![CDATA[Developing Qt Applications for Bare Metal devices.]]></description> <tags>qt creator,baremetal,talk,2013</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Developing User Interfaces with Qt Quick Controls 2" isVideo="true" videoUrl="https://youtu.be/ozpSl7WbVt4" videoLength="23:13"> - <description><![CDATA[Using Qt Quick Controls 2 to create UIs.]]></description> - <tags>ui,qt quick designer,controls,ui,talk,2016</tags> - </tutorial> <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: The Curse of Choice - An Overview of GUI Technologies in Qt" isVideo="true" videoUrl="https://youtu.be/WIRRoPxIerc" videoLength="40:45"> <description><![CDATA[Overview of UI technologies that can be used with Qt.]]></description> <tags>qt quick,ui,widgets,talk,2016</tags> @@ -179,10 +155,6 @@ <description><![CDATA[Making Android and iOS apps smaller.]]></description> <tags>android,ios,talk,2017</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Under the Hood of Qt Automotive Suite After One Year of Hacking" isVideo="true" videoUrl="https://www.youtube.com/watch?v=7FqG2lpJ1KE" videoLength="23:38"> - <description><![CDATA[Introducing Qt Application Manager plugin in Qt Creator.]]></description> - <tags>automotive,application manager,talk,2017</tags> - </tutorial> <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: LTTng for full stack tracing" isVideo="true" videoUrl="https://youtu.be/v_ynSET9FHU" videoLength="25:46"> <description><![CDATA[Using tracing and profiling to optimize the startup time of apps.]]></description> <tags>qt creator,qml profiler,ctf viewer,lttng,talk,2019</tags> @@ -195,13 +167,21 @@ <description><![CDATA[Using Qt Creator kits and Yocto when developing for embedded devices.]]></description> <tags>qt creator,kits,yocto,embedded,talk,2019</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: How to build your first 'Qt for MCUs' application" isVideo="true" videoUrl="https://youtu.be/BkgjJfxYN20" videoLength="21:54"> - <description><![CDATA[Building your first application for the NXP IMXRT1050 device.]]></description> - <tags>qtformcus,mcus,qt,video,NXP IMXRT1050-EVKB,2020</tags> + <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Qt Creator in Space" isVideo="true" videoUrl="https://youtu.be/1w0ak9RNNWY" videoLength="28:05"> + <description><![CDATA[Creating and maintaining a portfolio of Qt Creator plugins.]]></description> + <tags>qt creator,plugins,video,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: All You Need to Get Your App Done with Qt for Android" isVideo="true" videoUrl="https://youtu.be/nmvurCcsWos" videoLength="24:11"> + <description><![CDATA[Developing an Android app using Qt for Android.]]></description> + <tags>android,talk,2021</tags> + </tutorial> + <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: Styling a Qt Quick Controls Desktop Application" isVideo="true" videoUrl="https://youtu.be/tnZo9umrPtg" videoLength="29:40"> + <description><![CDATA[Styling Qt Quick Controls using the styling API.]]></description> + <tags>qt quick,controls,styling,ui,talk,2021</tags> </tutorial> - <tutorial imageUrl=":qtsupport/images/icons/videotutorialicon.png" difficulty="" projectPath="" name="Online: Creating dynamic UIs for a 'Qt for MCUs' application using Qt Design Studio and Photoshop" isVideo="true" videoUrl="https://youtu.be/USrLl6tRc00" videoLength="1:00:19"> - <description><![CDATA[A step-by-step walkthrough showcasing how to create dynamic UIs using Qt Design Studio and Photoshop on MCUs.]]></description> - <tags>qtformcus,mcus,qt,video,2020</tags> + <tutorial imageUrl=":qtsupport/images/icons/qteventicon.png" difficulty="" projectPath="" name="Talk: The New Property Bindings: Making C++ more QMLish" isVideo="true" videoUrl="https://youtu.be/pN0pRBUqrrc" videoLength="29:54"> + <description><![CDATA[Using the Qt 6 property system in pure C++ and mixed C++/QML applications.]]></description> + <tags>qt,c++,qml,talk,2021</tags> </tutorial> </tutorials> </instructionals> diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp index 731c5ba779..3d6698a0bc 100644 --- a/src/plugins/texteditor/texteditor.cpp +++ b/src/plugins/texteditor/texteditor.cpp @@ -2984,7 +2984,7 @@ bool TextEditorWidget::event(QEvent *e) && (ke->key() < Qt::Key_Escape)); d->m_maybeFakeTooltipEvent = false; } - return true; + break; } case QEvent::ApplicationPaletteChange: { // slight hack: ignore palette changes diff --git a/src/shared/qbs b/src/shared/qbs -Subproject e08c3eedcddbc18b251f56f7158353d8cbec2c8 +Subproject 768b6894a8d189158fed83cbc79d92d5484cb2e |