diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml index bfd67b2c09cbb413ca84734b6332276d8b9014bc..5d501834a860b8223b968ec5182b6ac177c9a40f 100644 --- a/src/controls/ApplicationWindow.qml +++ b/src/controls/ApplicationWindow.qml @@ -117,10 +117,8 @@ Window { */ property Item statusBar - /*! \internal */ onToolBarChanged: { if (toolBar) { toolBar.parent = toolBarArea } } - /*! \internal */ onStatusBarChanged: { if (statusBar) { statusBar.parent = statusBarArea } } /*! \internal */ diff --git a/src/controls/CheckBox.qml b/src/controls/CheckBox.qml index 0f5098b58784808f6b2b49da02af95c42d9894e6..7f03573e3c57ab7e2f9163145369db8126b95620 100644 --- a/src/controls/CheckBox.qml +++ b/src/controls/CheckBox.qml @@ -139,13 +139,11 @@ AbstractCheckable { __cycleStatesHandler: __cycleCheckBoxStates - /*! \internal */ onCheckedChanged: { if (!__ignoreChecked) checkedState = checked ? Qt.Checked : Qt.Unchecked; } - /*! \internal */ onCheckedStateChanged: { __ignoreChecked = true; if (checkedState === Qt.PartiallyChecked) { @@ -157,14 +155,12 @@ AbstractCheckable { __ignoreChecked = false; } - /*! \internal */ onPartiallyCheckedEnabledChanged: { if (exclusiveGroup && partiallyCheckedEnabled) { console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); } } - /*! \internal */ onExclusiveGroupChanged: { if (exclusiveGroup && partiallyCheckedEnabled) { console.warn("Cannot have partially checked boxes in an ExclusiveGroup."); diff --git a/src/controls/ScrollView.qml b/src/controls/ScrollView.qml index 623d3027866e464126b584a445ae34a31f485064..19cdee9652081b327cb0ed3dab0d2b1da76da7b6 100644 --- a/src/controls/ScrollView.qml +++ b/src/controls/ScrollView.qml @@ -140,7 +140,6 @@ FocusScope { activeFocusOnTab: true - /*! \internal */ onContentItemChanged: { if (contentItem.hasOwnProperty("contentY") && // Check if flickable diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index c606ff5e9e665ff261d74062dfe23f2554dfe782..3ccf4a6473683e8367d0c3379c10ef10d1072419 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -181,7 +181,6 @@ Control { return Math.round(v); } - /* \internal */ style: Qt.createComponent(Settings.THEME_PATH + "/SliderStyle.qml", slider) Keys.onRightPressed: value += (maximumValue - minimumValue)/10.0 diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index c6a6c8e464f1e553181462901a80e643a9ac5295..2e7abf1c7ae96abba135c43f41a9cbb40aa72793 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -131,7 +131,6 @@ Control { */ property bool activeFocusOnPress: true - /*! \internal */ style: Qt.createComponent(Settings.THEME_PATH + "/SpinBoxStyle.qml", spinbox) /*! \internal */ @@ -191,19 +190,14 @@ Control { visible: false } - /*! \internal */ onDecimalsChanged: input.setValue(value) - /*! \internal */ onMaximumValueChanged: input.setValue(value) - /*! \internal */ onMinimumValueChanged: input.setValue(value) - /*! \internal */ Component.onCompleted: { __initialized = true; input.setValue(value) } - /*! \internal */ onValueChanged: if (__initialized) input.setValue(value) activeFocusOnTab: true diff --git a/src/controls/SplitView.qml b/src/controls/SplitView.qml index 1fc3ed08117da1c0a128614f5661d8e5c6f6b896..36788c3269a0967590830e3a1adbbd2923037de9 100644 --- a/src/controls/SplitView.qml +++ b/src/controls/SplitView.qml @@ -145,9 +145,7 @@ Item { clip: true Component.onCompleted: d.init() - /*! \internal */ onWidthChanged: d.updateLayout() - /*! \internal */ onHeightChanged: d.updateLayout() SystemPalette { id: pal } diff --git a/src/controls/StackView.qml b/src/controls/StackView.qml index 4a4be4e89a7a68be212e8e772e04ef6898674073..75d2805657bf8b4e219b05e87f0b400e74f2d50c 100644 --- a/src/controls/StackView.qml +++ b/src/controls/StackView.qml @@ -726,13 +726,11 @@ Item { /*! \internal Stops the user from pushing items while preparing a transition */ property bool __guard: false - /*! \internal */ Component.onCompleted: { if (initialItem) push(initialItem) } - /*! \internal */ Component.onDestruction: { if (__currentTransition) __currentTransition.animation.complete() diff --git a/src/controls/Tab.qml b/src/controls/Tab.qml index 3c86cc3c4c6e7a50f6cbf1c89f4e588d372ac62a..dbcdc1370a95d3999f92adfc358066c99f869012 100644 --- a/src/controls/Tab.qml +++ b/src/controls/Tab.qml @@ -62,7 +62,6 @@ Loader { activeFocusOnTab: false - /*! \internal */ onVisibleChanged: if (visible) active = true /*! \internal */ diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml index fa60af232c6665be60e9c3b9f355559548da1a81..88336eee2b824c26e66eb46dfcc3bcfffcc21f1c 100644 --- a/src/controls/TabView.qml +++ b/src/controls/TabView.qml @@ -131,7 +131,6 @@ FocusScope { /*! \internal */ property var __styleItem: loader.item - /*! \internal */ onCurrentIndexChanged: __setOpacities() /*! \internal */ @@ -188,7 +187,6 @@ FocusScope { property string style property int baseOverlap - /*! \internal */ Component.onCompleted: { for (var i = 0 ; i < stack.children.length ; ++i) { if (stack.children[i].Accessible.role === Accessible.PageTab) diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index e781d23db073edd7f23e20f19e47dbf793e22f48..b53dd8f975b1ba77b09263ae1a9ba03dc6f64791 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -530,10 +530,8 @@ Control { /*! \internal */ property alias __contentWidth: textInput.contentWidth - /*! \internal */ style: Qt.createComponent(Settings.THEME_PATH + "/TextFieldStyle.qml", textInput) - /*! \internal */ onFocusChanged: { if (textfield.activeFocus) textInput.forceActiveFocus();