1/**************************************************************************** 2** 3** Copyright (C) 2021 The Qt Company Ltd. 4** Contact: https://www.qt.io/licensing/ 5** 6** This file is part of Qt Creator. 7** 8** Commercial License Usage 9** Licensees holding valid commercial Qt licenses may use this file in 10** accordance with the commercial license agreement provided with the 11** Software or, alternatively, in accordance with the terms contained in 12** a written agreement between you and The Qt Company. For licensing terms 13** and conditions see https://www.qt.io/terms-conditions. For further 14** information use the contact form at https://www.qt.io/contact-us. 15** 16** GNU General Public License Usage 17** Alternatively, this file may be used under the terms of the GNU 18** General Public License version 3 as published by the Free Software 19** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 20** included in the packaging of this file. Please review the following 21** information to ensure the GNU General Public License requirements will 22** be met: https://www.gnu.org/licenses/gpl-3.0.html. 23** 24****************************************************************************/ 25 26VersionData { 27 name: "QUL 1.7" 28 29 bannedItems: ["QtQuick.AnimatedImage", 30 "QtQuick.FocusScope", 31 "QtQuick.TextInput", 32 "QtQuick.TextEdit", 33 "QtQuick.Flow", 34 "QtQuick.Grid", 35 "QtQuick.GridView", 36 "QtQuick.PathView", 37 "QtQuick.Controls", 38 "QtQuick.Controls.BusyIndicator", 39 "QtQuick.Controls.ButtonGroup", 40 "QtQuick.Controls.CheckDelegate", 41 "QtQuick.Controls.Container", 42 "QtQuick.Controls.ComboBox", 43 "QtQuick.Controls.DelayButton", 44 "QtQuick.Controls.Frame", 45 "QtQuick.Controls.GroupBox", 46 "QtQuick.Controls.ItemDelegate", 47 "QtQuick.Controls.Label", 48 "QtQuick.Controls.Page", 49 "QtQuick.Controls.PageIndicator", 50 "QtQuick.Controls.Pane", 51 "QtQuick.Controls.RadioDelegate", 52 "QtQuick.Controls.RangeSlider", 53 "QtQuick.Controls.RoundButton", 54 "QtQuick.Controls.ScrollView", 55 "QtQuick.Controls.SpinBox", 56 "QtQuick.Controls.StackView", 57 "QtQuick.Controls.SwipeDelegate", 58 "QtQuick.Controls.SwitchDelegate", 59 "QtQuick.Controls.ToolBar", 60 "QtQuick.Controls.ToolButton", 61 "QtQuick.Controls.TabBar", 62 "QtQuick.Controls.TabButton", 63 "QtQuick.Controls.TextArea", 64 "QtQuick.Controls.TextField", 65 "QtQuick.Controls.ToolSeparator", 66 "QtQuick.Controls.Tumbler"] 67 68 allowedImports: ["QtQuick", 69 "QtQuick.Controls", 70 "QtQuick.Timeline", 71 "QtQuickUltralite.Extras", 72 "QtQuickUltralite.Layers"] 73 74 bannedImports: ["FlowView"] 75 76 //ComplexProperty is not a type, it's just a way to handle bigger props 77 ComplexProperty { 78 prefix: "font" 79 bannedProperties: ["wordSpacing", "letterSpacing", "hintingPreference", 80 "kerning", "preferShaping", "capitalization", 81 "strikeout", "underline", "styleName"] 82 } 83 84 QtQuick.Item { 85 bannedProperties: ["layer", "opacity", "smooth", "antialiasing", 86 "baselineOffset", "focus", "activeFocusOnTab", 87 "rotation", "scale", "transformOrigin"] 88 } 89 90 QtQuick.Rectangle { 91 bannedProperties: ["gradient", "border"] 92 } 93 94 QtQuick.Flickable { 95 bannedProperties: ["boundsBehavior", "boundsMovement", "flickDeceleration", 96 "flickableDirection", "leftMargin", "rightMargin", "bottomMargin", "topMargin", 97 "originX", "originY", "pixelAligned", "pressDelay", "synchronousDrag"] 98 } 99 100 QtQuick.MouseArea { 101 bannedProperties: ["propagateComposedEvents", "preventStealing", "cursorShape", 102 "scrollGestureEnabled", "drag", "acceptedButtons", "hoverEnabled"] 103 } 104 105 QtQuick.Image { 106 allowChildren: false 107 allowedProperties: ["rotation", "scale", "transformOrigin"] 108 bannedProperties: ["mirror", "mipmap", "cache", "autoTransform", "asynchronous", 109 "sourceSize", "smooth"] 110 } 111 112 QtQuick.BorderImage { 113 bannedProperties: ["asynchronous", "cache", "currentFrame", "frameCount", 114 "horizontalTileMode", "mirror", "progress", "smooth", "sourceSize", 115 "status", "verticalTileMode"] 116 } 117 118 QtQuick.Text { 119 allowChildren: false 120 allowedProperties: ["rotation", "scale", "transformOrigin"] 121 bannedProperties: ["elide", "lineHeight", "lineHeightMode", "wrapMode", "style", 122 "styleColor", "minimumPointSize", "minimumPixelSize", 123 "fontSizeMode", "renderType", "textFormat", "maximumLineCount"] 124 } 125 126 //Padding is not an actual item, but rather set of properties in Text 127 Padding { 128 bannedProperties: ["bottomPadding", "topPadding", "leftPadding", "rightPadding"] 129 } 130 131 QtQuick.Column { 132 bannedProperties: ["bottomPadding", "leftPadding", "rightPadding", "topPadding"] 133 } 134 135 QtQuick.Row { 136 bannedProperties: ["bottomPadding", "leftPadding", "rightPadding", "topPadding", 137 "effectiveLayoutDirection", "layoutDirection"] 138 } 139 140 QtQuick.ListView { 141 bannedProperties: ["cacheBuffer", "highlightRangeMode", "highlightMoveDuration", 142 "highlightResizeDuration", "preferredHighlightBegin", "layoutDirection", 143 "preferredHighlightEnd", "highlightFollowsCurrentItem", "keyNavigationWraps", 144 "snapMode", "highlightMoveVelocity", "highlightResizeVelocity"] 145 } 146 147 QtQuick.Animation { 148 bannedProperties: ["paused"] 149 } 150 151 //Quick Controls2 Items and properties: 152 153 QtQuick.Controls.Control { 154 bannedProperties: ["focusPolicy", "hoverEnabled", "wheelEnabled"] 155 } 156 157 QtQuick.Controls.AbstractButton { 158 bannedProperties: ["display", "autoExclusive"] 159 } 160 161 QtQuick.Controls.ProgressBar { 162 bannedProperties: ["indeterminate"] 163 } 164 165 QtQuick.Controls.Slider { 166 bannedProperties: ["live", "snapMode", "touchDragThreshold"] 167 } 168} 169